Skip to main content
added 7 characters in body
Source Link
fresskoma
  • 824
  • 2
  • 9
  • 21

I'm mounting a VMware Fusion shared folder (vmhgfs) called foo to /var/www using the following command:

mount -t vmhgfs .host:/foo /var/www/

This works fine and creates the following /etc/mtab entry:

.host:/foo /var/www vmhgfs rw,ttl=1 0 0

However, when copying that entry to /etc/fstab, system startup fails to mount the share. If I drop into a shell at the moment of the error, the main /mnt/hgfs mount which VMware creates automatically is also not mounted, so I'm guessing it's trying to mount before the VMware tools are loaded or something like that?!

OS is Ubuntu 14.04 Server

I'm mounting a VMware Fusion shared folder (vmhgfs) called foo to /var/www using the following command:

mount -t vmhgfs .host:/foo /var/www/

This works fine and creates the following /etc/mtab entry:

.host:/foo /var/www vmhgfs rw,ttl=1 0 0

However, when copying that entry to /etc/fstab, system startup fails to mount the share. If I drop into a shell at the moment of the error, the main /mnt/hgfs mount which VMware creates automatically is also not mounted, so I'm guessing it's trying to mount before the VMware tools are loaded or something like that?!

OS is Ubuntu 14.04

I'm mounting a VMware Fusion shared folder (vmhgfs) called foo to /var/www using the following command:

mount -t vmhgfs .host:/foo /var/www/

This works fine and creates the following /etc/mtab entry:

.host:/foo /var/www vmhgfs rw,ttl=1 0 0

However, when copying that entry to /etc/fstab, system startup fails to mount the share. If I drop into a shell at the moment of the error, the main /mnt/hgfs mount which VMware creates automatically is also not mounted, so I'm guessing it's trying to mount before the VMware tools are loaded or something like that?!

OS is Ubuntu 14.04 Server

Source Link
fresskoma
  • 824
  • 2
  • 9
  • 21

How to add a VMware fusion shared folder mount to /etc/fstab?

I'm mounting a VMware Fusion shared folder (vmhgfs) called foo to /var/www using the following command:

mount -t vmhgfs .host:/foo /var/www/

This works fine and creates the following /etc/mtab entry:

.host:/foo /var/www vmhgfs rw,ttl=1 0 0

However, when copying that entry to /etc/fstab, system startup fails to mount the share. If I drop into a shell at the moment of the error, the main /mnt/hgfs mount which VMware creates automatically is also not mounted, so I'm guessing it's trying to mount before the VMware tools are loaded or something like that?!

OS is Ubuntu 14.04