vmware workstation ubuntu虚拟机无法使用共享目录

问题描述:

在vmware workstation 安装ubuntu虚拟机,并设置share folder。
启动ubuntu后再/mnt/目录下没有共享目录。
使用 vmware-hgfsclient 可以查询到share folder的名字。

该问题在ubuntu 14.04 和 16.04 版本上都存在。
估计在14.04以后的版本中都存在。
该解决方案在16.04版本测试通过

解决方案:
sudo apt install git
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
sudo ./patched-open-vm-tools.sh

这是一个vmware的补丁,安装后解决问题。

设置share folder流程:
安装patch -> shutdown ubuntu -> config share folder -> start ubuntu

不根据上述流程进行补丁安装和共享目录设置很可能会导致共享目录还是不可见。

引用:
http://theholmesoffice.com/how-to-share-folders-between-windows-and-ubuntu-using-vmware-player/

https://xpressubuntu.wordpress.com/2015/05/11/resolving-no-shared-folders-with-vmware-player-7-and-ubuntu-15-04-guest/comment-page-1/#comment-708

https://github.com/rasa/vmware-tools-patches

猜你喜欢

转载自lawrencej.iteye.com/blog/2307507