Files missing in /mnt/hgfs on Ubuntu VM?

I am running Ubuntu 64-bit on VMWare workstation 10. I want to access the files on my windows 8 PC (both on same PC). I have checked "always enabled" for folder sharing on VMWare and gave path to my drives (E,F,G and a folder on my PC). Installed VM tools, they're upto date. The first two worked fine for me. But for the third one - "Error: cannot mount filesystem: No such device" is being displayed. I am not able to find the shared files in /mnt/hgfs.

sudo apt-get install open-vm-tools
sudo mkdir /mnt/hgfs
sudo mount -t vmhgfs .host:/ /mnt/hgfs

Should I enable any permission access for my drives. For the sharing properties of the drives on W8, I enabled "Share this folder" option. Even then I cannot see shared folders in my hgfs (ubuntu). I am a new bee to linux OS, so please help.

Thanks, Ramu.


Solution 1:

I have a similar problem and I solved it with the procedure suggested here, as indicated in Jorge's comment:

$ git clone https://github.com/rasa/vmware-tools-patches.git
$ cd vmware-tools-patches
$ ./patched-open-vm-tools.sh

I hope this can help you.

Good luck!

Solution 2:

There is a known incompatibility between the VMware tools and the kernel in 14.10 and later. It is yet unpatched by VMware.

We have to use an alternative to VMware Tools, the open source variant, open-vm-tools. This should be patched for the issue and shared folders should then work again. First, remove the VMware tools. Then, reboot the guest, and run sudo apt-get install open-vm-tools. Reboot again. It should then have hgfs support again.