On Wednesday, February 05, 2014 10:41:08 PM 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.
I have the same problem with the shares not being mounted automatically. In the VB manager. I have checked Auto-mount. This did work the first time I booted the guest, at which access was perfect (except for making symlinks - which I found how to correct). But it is no longer mounted in subsequent boots. I am a member of the vboxfs group. Of course, that is only important for accessing the mounts, not for the mount itself, as the mount happens before a user logs in. -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org