需要把win7中的文件,共享到VMware的虚拟机Ubuntu中。但是找不到设定的共享文件夹。
尝试了各种方法,比如:
https://superuser.com/questions/588304/no-mnt-hgfs-in-ubuntu-guest-under-vmware-fusion
For some reason, the auto-installed VMWare tools didn't do the job, but Ubuntu has a tool called vmware-hgfsmounter, if I installed it then I could do this:
sudo apt-get install open-vm-tools
sudo mkdir /mnt/hgfs
sudo mount -t vmhgfs .host:/ /mnt/hgfs
After running these commands, /mnt/hgfs should now contain your shares.
重装VMware tool也不行,尝试系统挂载也没用:
安装: sudo apt-get install open-vm-dkms
文件夹mnt下面没有hgfs这个子文件夹,更别说里面的共享内容了。
mnt中没有安装vmhgfs
找到一篇方法:
https://www.crifan.com/vmware_workstation_ubuntu_file_folder_share/
进行到最后一句时遇到新问题:
查看解决方法:
https://askubuntu.com/questions/723828/unable-to-mount-windows-share-under-vmplayer-12
When I try to mount folder I get the following error:
# mount vmware-hgfsmounter .host:/svn /mnt/hgfs
ERROR: cannot mount filesystem: No such device
sudo apt-get remove open-vm-tools; sudo apt-get update; sudo apt-get install git; sudo git clone https://github.com/rasa/vmware-tools-patches.git; cd vmware-tools-patches; sudo ./download-tools.sh; sudo ./untar-and-patch.sh; sudo ./compile.sh