On 06/02/14 03:41, Ken Schneider - openSUSE wrote:
On 02/05/2014 06:31 PM, Bernhard Voelker pecked at the keyboard and wrote:
On 02/05/2014 08:08 PM, Dylan wrote:
Hi
I have an oS 13.1 guest running in virtualbox on a 13.1 host. I am trying to set up a shared directory, but cannot get it to mount when the VM boots.
Manually mounting the configured share with:
mount -t vboxsf data /home/dylan/host-data
works as expected. And when it is added to /etc/fstab as:
data /home/dylan/host-data vboxsf defaults 0 0
then mount -at vboxsf mounts it as expected. However, when the VM is rebooted, the share fails to mount, leaving me with an endless loop of the emergency messages (no ability to log in to recover the system.) At this stage the only option is to revert to the previous snapshot.
Have I missed something or am I doing something wrong?
That's because /etc/fstab is used for localfs target by systemd. That prevents further booting.
I'm using the 'noauto' flag instead and mount it via sudo. Not much of help, I know ...
Have a nice day, Berny
Go into the "Settings" for your VM guest and set up your shared directories (for the host) under "Shared Folders". You can access them under /media on the guest. Make sure you are a member of vboxsf group on the guest.
They *are* set up there, and "Auto-mount" is set to "yes" - they *do not* get mounted under /media, and there is no "vboxsf" group on the guest... Dx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org