Sometimes the shared folder function of VMware Workstation may suddenly not work after rebooting.
There are several ways to fix it.

mount by a command

1
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs,allow_other -o nonempty

This command means to mount all host shared folders to /mnt/hgfs, which is the default operation that VMware should have done automatically.
However, the folder would disappear after rebooting.

mount automatically

1
sudo nano /etc/fstab

We can edit the fstab file to write the auto-mount configuration. Just add one line:

1
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0

Comments

⬆︎TOP