Note: The vendor may provide the functionality in a future. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot. The shared folders should appear in the directory /mnt/hgfs. Open-vm-tools package doesn't auto-mount shared VMWare folders. In Workstation or Fusion, enable 'Shared Folders' in 'Virtual Machine Settings' > 'Options', and set the folders to be shared. Unlike using VMWare Tools to enable Linux guest capabilities, the The rc.local script runs as the last step of startup, allowing the HGFS filesystem to mount after open-vm-tools services are running, which is required for successful operation. Make sure rc.local is executable and owned by root: sudo chown root:root /etc/rc.localĮnable the rc.local service in systemd: sudo systemctl enable rvice If you have trouble with auto, change to noauto and see below If using the noauto keyword, but you want automountĬreate or edit the script /etc/rc.local (as root), and add the line: mount /mnt/hgfs Update: based on extensive testing, the auto keyword seems to work fine. host:/ /mnt/hgfs fuse.vmhgfs-fuse auto,allow_other 0 0 The shared folders will now be in subdirectories of /mnt/hgfs Setting up auto-mountingĪdd the following line to /etc/fstab. To mount the filesystem, run: sudo mount -t fuse.vmhgfs-fuse. Make sure you have a /mnt/hgfs directory made and empty. Sudo apt install open-vm-tools open-vm-tools-desktop Make sure open-vm-tools (and open-vm-tools-desktop if you're using a desktop environment) are installed, and that you've rebooted after their installation. Below is a complete solution guide for this shared folder issue. I ran into same issue while working with Ubuntu 21.10 impish.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |