Mount Windows Shared Folder in SUSE or other Linux VMware Guest

2018-04-04 linuxlite-log

This page summarizes the steps to mount a windows shared folder in a Linux VMware guest machine, i.e. SUSE.

Setup shared folder

In Virtual Machine Settings windows, add shared folder.

/project/tools/resources/5C7EF325-AF56-5CEA-A65D-B2F1B48280AB.webp

Verify it in Linux guest machine

Run the following command line in your virtual machine:

/usr/bin/vmware-hgfsclient

This command will output the available shares:

/project/tools/resources/9B74FF79-38E7-5AB7-B183-ADA5F90AD920.webp

As you can see in the above screenshot, I have added a share named python-bio.

Mount the share

Run the following command to mount it:

sudo vmhgfs-fuse -o nonempty -o allow_other .host:/python-bio /home/tangf/mounts/python-bio/

In my case, I am mounting share python-bio to folder /home/tangf/mounts/python-bio/.

Verify

You can then change directory to the mount folder and list the files in it using command ‘ls -alt’

/project/tools/resources/A8A16B8E-B782-524E-987A-85BB2CF14518.webp