Tuesday, September 25, 2018

Mounting VMWare Shared folders on linux

I run an ubuntu VM on my computer using VMWare Player. I've had trouble with mounting the VMWare shared folders, until I came across this post: https://askubuntu.com/a/1051620

Most searches turn up nothing useful, because they turn up outdated information. So I was really happy when this worked.

To manually mount shared folders on Ubuntu 18.04
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000
.host:/ is a parent folder containing all shared folders. To see a list of shared folders under it without mounting, you can use vmware-hgfsclient.

To add as an entry in your /etc/fstab:

# Use shared folders between VMWare guest and host
#+goes in /etc/fstab
.host:/    /mnt/hgfs/    fuse.vmhgfs-fuse    defaults,allow_other,uid=1000     0    0

Dependencies: sudo apt-get install open-vm-tools open-vm-tools-desktop

.

No comments: