linux里mnt下无hgfs文件夹

来源:互联网 发布:陕西干部网络培训网 编辑:程序博客网 时间:2024/04/30 21:32

若/mnt/hgfs下无目录解决办法: 

a.

1).    sudo apt-get install open-vm-dkms

  一路按enter键通过。 

2).   sudo mount  -t  vmhgfs  .host:/   /mnt/hgfs


这样/mnt/hgfs下便有了与windows的共享目录。 

3). 为了每次开机自动挂载共享目录,在/etc/init.d/open-vm-tools末尾增加一行: 

sudo mount  -t  vmhgfs  .host:/     /mnt/hgfs    

 (host:/ 处 有2个空格)



b.

进入VM 的解压目录下的/bin下面,检查操作./vmware-install.pl后是否忘了运行/bin/vmware-config-tools.pl;重运行后重启系统





0 0