So I'm following this article on how to mount a shared vmware folder.

I can successfully mount with the following command:

mount -t vmhgfs .host:/foo /home/user/Documents/foo

However, I can't seem to get it work with /etc/fstab. I added this line:

.host:/foo /home/user/Documents/foo vmhgfs defaults 0 0

When I start up my machine, it prompts me to press S to skip mount or M for manual recovery and it won't mount. I'm forced to press S to skip to get into the OS. How can I fix this?

Edit: So I've found that VMware is already automatically mounting it to /mnt/hgfs/foo so my temporary workaround is a symlink to that directory. Is it possible to override this behavior so that I don't need a symlink?


Alternatively you could put the mount command you use at the commandline in /etc/rc.local.

| improve this answer | |
  • I tried that, nothing happened. – Lunyx Feb 8 '14 at 8:28
  • If this works once you log in, and you don't need the mounted partition before that you could put something in your .bashrc. Doesn't explain though why it doesn't work as documented. – Timo Feb 8 '14 at 8:31
  • Added something new I found to the original question. – Lunyx Feb 8 '14 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.