This guide provides step-by-step instructions for setting up and persistently mounting VMware Fusion shared folders on a Debian virtual machine using open-vm-tools.
- VMware Fusion installed on your macOS host.
- A Debian guest OS installed in VMware Fusion.
- A Shared Folder configured and enabled in VMware Fusion:
VM > Settings > Options > Shared Folders- Note the Name of the shared folder (e.g.,
MySharedFolder).
Run these commands in your Debian VM terminal:
sudo apt update
sudo apt install -y open-vm-tools open-vm-tools-desktop
open-vm-tools: Core integration
open-vm-tools-desktop: Optional, for GUI features like drag & drop, clipboard sharing
Then reboot your VM:
sudo rebootCheck if shared folders are already mounted:
ls /mnt/hgfs/If not, manually mount with:
sudo mkdir -p /mnt/hgfs
sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o allow_otherTo mount a specific shared folder (e.g., MySharedFolder) to a custom path:
sudo mkdir -p /home/youruser/my_host_share
sudo /usr/bin/vmhgfs-fuse .host:/MySharedFolder /home/youruser/my_host_share -o allow_otherEdit the fstab file:
sudo nano /etc/fstab.host:/ /mnt/hgfs fuse.vmhgfs-fuse defaults,allow_other 0 0
.host:/MySharedFolder /home/youruser/my_host_share fuse.vmhgfs-fuse defaults,allow_other 0 0
.host:/MySharedFolder /home/youruser/my_host_share fuse.vmhgfs-fuse defaults,allow_other,uid=1000,gid=1000 0 0
Find your UID and GID using:
id -u yourusername
id -g yourusernameSave & exit (in nano: Ctrl+O, Enter, then Ctrl+X).
Test the mount:
sudo mount -a✅ No errors? You're good to go.
Reboot to apply:
sudo rebootAfter reboot or manual mount:
ls /mnt/hgfs/MySharedFolder
# or
ls /home/youruser/my_host_shareYou should see your macOS host files available!
Before editing /etc/fstab, take a VM snapshot in VMware Fusion. This protects you in case a misconfiguration causes boot issues.