这没有挂载的原因。解决办法如下

解决办法:

1.apt-get install open-vm-tools open-vm-dkms

2.使用命令:

vmhgfs-fuse .host:/ /mnt/hgfs

或udo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

3.如果每次重启之后想让系统自动挂载 #vi /etc/fstab:
在最后添加一行:

.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

然后重启,大功告成!

====

补充:如果open-vm-dkms报找不到源,则把以下内容贴到 /etc/apt/sources.list 的末尾,然后 apt-get- update

# deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

#deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

解决:ubuntu16安装后mnt/hgfs下没有设置的共享目录相关推荐

  1. 解决重启后 /mnt/hgfs下共享文件夹挂载失效问题

    问题描述:如题,在/mn/hgfs 下使用ls命令不显示共享文件夹,在root权限下运行命令: vmhgfs-fuse .host:/ /mnt/hgfs 后重新进入目录显示共享文件夹,重启后失效,需 ...

  2. 安装VMWare tools 及安装后/mnt中有hgfs但没共享文件的解决办法

    一.首先是安装VMWare tools 打开虚拟机软件,在菜单栏'虚拟机'子菜单下'安装VMware Tools' 1.以root身份进入Linux   2.此时把linux的/dev/cdrom设备 ...

  3. 安装VMWare tools,以及解决安装后/mnt中有hgfs但没共享文件的方法

    一.首先是安装VMWare tools   安装过程可参考:http://www.cnblogs.com/jiu0821/p/7559949.html   二.解决安装VMWare tools后/mn ...

  4. Ubuntu设置虚拟机共享目录/mnt/hgfs下无文件显示相关问题归纳

    文章目录 问题一:/mnt目录下无hgfs文件夹 问题二:/mnt/hgfs 文件夹为空 问题一:/mnt目录下无hgfs文件夹 问题背景: 在打开共享目录A的时候,突然改变共享目录,也就是从A改到了 ...

  5. phpstudy mysql端口_完美解决phpstudy安装后mysql无法启动(无需删除原数据库,无需更改任何配置,无需更改端口)直接共存...

    今天学习php,当然是要先安装好运行环境了,phpstyudy是一个运行php的集成环境, 一键安装对新手很友好,与时作为一个新手,便跟着教程安装了phpstudy集成环境. 很快安装好了,嗯.对新手 ...

  6. mysql删除端口配置文件_完美解决phpstudy安装后mysql无法启动(无需删除原数据库,无需更改任何配置,无需更改端口)直接共存...

    今天学习php,当然是要先安装好运行环境了,phpstyudy是一个运行php的集成环境, 一键安装对新手很友好,与时作为一个新手,便跟着教程安装了phpstudy集成环境. 很快安装好了,嗯.对新手 ...

  7. FEDORA9安装后的配置lvlv全记录必看一览表 解决FC9安装后网络需激活

    FEDORA9安装后的配置lvlv全记录必看一览表 解决FC9安装后网络需激活 论坛相关精品信息: <script type="text/javascript">< ...

  8. xampp mysql 端口被占用_如何解决XAMPP安装后提示80端口被占用

    如何解决XAMPP安装后提示80端口被占用 导语:如何解决XAMPP安装后提示80端口被占用呢?通过下面的阅读你会有所收获,大家可以参考阅读,更多详情请关注应届毕业生考试网. 第一次在本地测试word ...

  9. 解决xampp安装后遇到的常见问题

    解决xampp安装后遇到的常见问题 最近做项目需要用到xampp这款软件,自己电脑上没安装,不知道竟然会遇到这么多问题,下面我就来讲解一下我安装时遇到的问题. XAMPP(Apache+MySQL+P ...

最新文章

  1. NAPI技术--在Linux 网络驱动上的应用和完善(二)
  2. AI也脸盲 |黑人遭人脸识别技术“误判”概率竟高出白人5至10倍!
  3. python保存代码_python入门(5)使用文件编辑器编写代码并保存执行
  4. oracle 正则表达式匹配日期格式,利用正则表达式找出不合符的日期
  5. java中标准封装结构_java中的构造,封装
  6. Python求单词长度并根据长度排序
  7. android php 实时通信,Android_Android实现Activity之间通信的方法,本文实例讲述了Android实现Activi - phpStudy...
  8. 深度学习_pytorch中的forward()的使用与解释
  9. java提前多久显示,Java当前日期/时间比原始时间提前1小时显示
  10. 刷新页面后怎样让hover样式停留不消失
  11. webstorm快捷键生成html页面,webStorm快捷键总结
  12. SQL语句实现模糊查询
  13. 如何批量将 jpg 图片转换为 png 格式
  14. 计算机基础中的word2010,计算机基础word2010上机操作 - 图文
  15. bash: /home/jdk/jdk1.8.0_261/bin/java: /lib/ld-linux.so.2: bad ELF interpre问题
  16. 游戏ui设计,游戏ui设计需要学什么
  17. 全球与中国压电比例阀市场深度研究分析报告
  18. FacesServlet (Java EEWTP/JSF问题的解决--java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
  19. PyCharm选择性忽略PEP8代码风格警告信息
  20. 初中级前端面试题目汇总和答案解析

热门文章

  1. Android模拟器之Genymotion使用教程(一)
  2. Qt制作360安仔精灵
  3. 下围棋的 DeepMind 成了「药神」,这事儿和你我都有关
  4. 给孩子买台灯什么牌子好?盘点儿童灯具品牌排行榜
  5. 写在离开顺丰科技之际
  6. centos服务器解锁频率限制
  7. html中加入js判断,javascript 如何判断字符串中是否有html代码/标签
  8. QML 矩形颜色横向渐变(gradient和LinearGradient)
  9. 二重积分转换成极坐标_二重积分转换公式注意将直角坐标系的二重积分化为极坐标.PPT...
  10. selenium用法详解【从入门到实战】【Python爬虫】【4万字】