VMWare无法共享文件夹(Win7宿主机Ubuntu14.04客户机)

在安装VMWare tools的时候,需要执行 vmware-install.pl。在安装过程中,需要编译vmhgfs module,如果编译失败就很可能导致共享文件夹无法正常挂载。

最近,我在虚拟机中安装了Ubuntu 14.04后,安装vmware tools时,出现编译错误,并输出如下提示:

The filesystem driver (vmhgfs module) is used only for the shared folder feature. The rest of the software provided by VMware Tools is designed to work independently of this feature.

If you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.

提示如果要编译vmhgfs模块,需要安装 gcc, binutils, make and the kernel sources 这些工具,但是在确保这些工具安装后,重新执行 vmware-config-tools,仍然出现了编译错误,可能是vmware的更新还没有跟上linux最新的内核吧,现在只好尝试一下open-vm-tools了。

原文地址:https://www.cnblogs.com/beanocean/p/3675685.html