我刚刚安装了Ubuntu 16.04,并使用简单的安装过程让VMware Workstation 12对其进行安装。启动虚拟机的那一刻,我尝试使用“虚拟机设置”窗口共享文件夹,而第一件事是:
无法更新运行时文件夹共享状态:在来宾操作系统中安装“共享文件夹”文件系统时出错。
因此,在Windows 10 Pro主机上全新安装Ubuntu 16.04之后,在这里我开始进行故障排除。窗口自动调整大小效果很好,我只是不能共享文件夹,这对我来说并不重要。
有人可以在这里指示我正确的方向吗?以下是一些我在网上阅读过并尝试未成功的建议:
建议1
# http://askubuntu.com/a/290528/269349 sudo apt-get install linux-source sudo apt-get install open-vm-tools mount -t vmhgfs .host:/ /home/user1/shares
无效,因为我已经安装了open-vm-tools并运行mount命令只是给我一个错误,指出 Error: cannot mount filesystem: No such device
建议2
# https://github.com/vmware/open-vm-tools/issues/62#issuecomment-174631126
git clone https://github.com/vmware/open-vm-tools.git
cd open-vm-tools/open-vm-tools
sudo apt-get install libmspack0 libmspack-dev libprocps3 libprocps3-dev dnet-progs libdumbnet-dev doxygen
./configure --without-x --without-pam --without-ssl --without-icu
make MODULES=vmhgfs
insmod modules/linux/vmhgfs/vmhgfs.ko
mount -t vmhgfs .host:/ /mnt
ls /mnt
这不起作用,因为然后我收到此错误:
# sudo apt-get install libmspack0 libmspack-dev libprocps3 libprocps3-dev dnet-progs libdumbnet-dev doxygen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libprocps3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libprocps4-dev:i386 libprocps4-dev
E: Unable to locate package libprocps3
E: Package 'libprocps3-dev' has no installation candidate
建议3
尝试从菜单中卸载open-vm-tools并安装VMware工具,但是尽管运行了sudo apt-get remove open-vm-tools && sudo apt-get autoremove
,VMware Tools反复告诉我仍然安装了open-vm-tools。重新引导也无济于事,我尝试研究如何在没有任何实际解决方案的情况下完成卸载open-vm-tools。