Skip to main content
Formatting.
Source Link
Stephen Kitt
  • 481.3k
  • 60
  • 1.2k
  • 1.4k

Prerequisites Open-vm-tools version is at 10.0.0 or greater:

  • open-vm-tools version is at 10.0.0 or greater
  • OS supports fuse
  • Kernel version >= 3.10 (if open-vm-tools < 10.3.0. kernel version must be >= 4.0)
  • Supports systemd

Procedure:

  1. Remove any extra files from the /mnt/hgfs/ directory (if no other shared folders, the command rm -rf /mnt/hgfs/* works and worked for me)
  2. Create the file /etc/systemd/system/mnt-hgfs.mount with this content:
[Unit]
Description=VMware mount for hgfs
DefaultDependencies=no
Before=umount.target
ConditionVirtualization=vmware
After=sys-fs-fuse-connections.mount

[Mount]
What=vmhgfs-fuse
Where=/mnt/hgfs
Type=fuse
Options=default_permissions,allow_other

[Install]
WantedBy=multi-user.target
  1. Add to or create the file /etc/modules-load.d/open-vm-tools.conf with this content:
fuse
  1. Enable the systemd service with the command: sudo systemctl enable mnt-hgfs.mount
    This will make sure the hgfs fdirectory will be mounted after a reboot.

  2. Make sure the 'fuse' module is loaded: sudo modprobe -v fuse

  3. In Workstation or Fusion, enable "Shared Folders" in "Virtual Machine Settings" > "Options", and set the folders to be shared.

  4. The shared folders should appear in the directory /mnt/hgfs. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot.

The details/source information is here: https://kb.vmware.com/s/article/74650

Prerequisites Open-vm-tools version is at 10.0.0 or greater

  • OS supports fuse
  • Kernel version >= 3.10 (if open-vm-tools < 10.3.0. kernel version must be >= 4.0)
  • Supports systemd
  1. Remove any extra files from the /mnt/hgfs/ directory (if no other shared folders, the command rm -rf /mnt/hgfs/* works and worked for me)
  2. Create the file /etc/systemd/system/mnt-hgfs.mount with this content:
[Unit]
Description=VMware mount for hgfs
DefaultDependencies=no
Before=umount.target
ConditionVirtualization=vmware
After=sys-fs-fuse-connections.mount

[Mount]
What=vmhgfs-fuse
Where=/mnt/hgfs
Type=fuse
Options=default_permissions,allow_other

[Install]
WantedBy=multi-user.target
  1. Add to or create the file /etc/modules-load.d/open-vm-tools.conf with this content:
fuse
  1. Enable the systemd service with the command: sudo systemctl enable mnt-hgfs.mount
    This will make sure the hgfs fdirectory will be mounted after a reboot.

  2. Make sure the 'fuse' module is loaded: sudo modprobe -v fuse

  3. In Workstation or Fusion, enable "Shared Folders" in "Virtual Machine Settings" > "Options", and set the folders to be shared.

  4. The shared folders should appear in the directory /mnt/hgfs. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot.

The details/source information is here: https://kb.vmware.com/s/article/74650

Prerequisites:

  • open-vm-tools version is at 10.0.0 or greater
  • OS supports fuse
  • Kernel version >= 3.10 (if open-vm-tools < 10.3.0. kernel version must be >= 4.0)
  • Supports systemd

Procedure:

  1. Remove any extra files from the /mnt/hgfs/ directory (if no other shared folders, the command rm -rf /mnt/hgfs/* works and worked for me)
  2. Create the file /etc/systemd/system/mnt-hgfs.mount with this content:
[Unit]
Description=VMware mount for hgfs
DefaultDependencies=no
Before=umount.target
ConditionVirtualization=vmware
After=sys-fs-fuse-connections.mount

[Mount]
What=vmhgfs-fuse
Where=/mnt/hgfs
Type=fuse
Options=default_permissions,allow_other

[Install]
WantedBy=multi-user.target
  1. Add to or create the file /etc/modules-load.d/open-vm-tools.conf with this content:
fuse
  1. Enable the systemd service with the command: sudo systemctl enable mnt-hgfs.mount
    This will make sure the hgfs fdirectory will be mounted after a reboot.

  2. Make sure the 'fuse' module is loaded: sudo modprobe -v fuse

  3. In Workstation or Fusion, enable "Shared Folders" in "Virtual Machine Settings" > "Options", and set the folders to be shared.

  4. The shared folders should appear in the directory /mnt/hgfs. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot.

The details/source information is here: https://kb.vmware.com/s/article/74650

Source Link
Chad
  • 93
  • 1
  • 5

Prerequisites Open-vm-tools version is at 10.0.0 or greater

  • OS supports fuse
  • Kernel version >= 3.10 (if open-vm-tools < 10.3.0. kernel version must be >= 4.0)
  • Supports systemd
  1. Remove any extra files from the /mnt/hgfs/ directory (if no other shared folders, the command rm -rf /mnt/hgfs/* works and worked for me)
  2. Create the file /etc/systemd/system/mnt-hgfs.mount with this content:
[Unit]
Description=VMware mount for hgfs
DefaultDependencies=no
Before=umount.target
ConditionVirtualization=vmware
After=sys-fs-fuse-connections.mount

[Mount]
What=vmhgfs-fuse
Where=/mnt/hgfs
Type=fuse
Options=default_permissions,allow_other

[Install]
WantedBy=multi-user.target
  1. Add to or create the file /etc/modules-load.d/open-vm-tools.conf with this content:
fuse
  1. Enable the systemd service with the command: sudo systemctl enable mnt-hgfs.mount
    This will make sure the hgfs fdirectory will be mounted after a reboot.

  2. Make sure the 'fuse' module is loaded: sudo modprobe -v fuse

  3. In Workstation or Fusion, enable "Shared Folders" in "Virtual Machine Settings" > "Options", and set the folders to be shared.

  4. The shared folders should appear in the directory /mnt/hgfs. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot.

The details/source information is here: https://kb.vmware.com/s/article/74650