You are not logged in.

#1 2015-06-21 18:23:32

dgalt
Member
Registered: 2015-04-22
Posts: 52

Virtualbox Auto Mount Shared folder not working (Manual mount works)

I'm setting up an Arch VM using VirtualBox on my Windows 8.1 machine. So far everything has more or less gone fine, but I can't seem to get my shared folder to mount automatically. The option is selected in the VirtualBox settings for shared folders. I can manually mount the shared folder using the command found in the wiki:

# mount -t vboxsf shared_folder_name mount_point_on_guest_system

specifically:

# mount -t vboxsf Documents /media/Documents

and I can access the files just fine (mounting to /media/Documents).


Not sure what I'm doing wrong. What other information is needed to help figure this out?


Thanks

Offline

#2 2015-06-22 04:38:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

Why would you expect it to mount automatically?   Perhaps an /etc/fstab entry?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-06-22 06:55:39

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

dgalt wrote:

Not sure what I'm doing wrong. What other information is needed to help figure this out?
Thanks

did you run the Oracle guest additions in the Arch guest? I haven't installed Arch as a guest in Windows (mine's other way around) but the guest additions activates the shared folders between guest and host if I'm not mistaken, or as ewaller pointed out, make an fstab entry in the Arch guest for auto-mounting


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#4 2015-06-22 12:32:49

dgalt
Member
Registered: 2015-04-22
Posts: 52

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

@ ewaller - is this not the point of the automount feature in virtualbox.

From the wiki:

"In order for the automounting feature to work you must have checked the auto-mount checkbox in the GUI or used the optional
--automount argument with the command VBoxManage sharedfolder.

The shared folder should now appear in /media/sf_shared_folder_name."


The wiki does explain how to mount the directory using fstab, but I assumed that this was an alternative to the above method, which leaves me wondering why the automount option isn't working.

@WFV yes the guest additions are installed. I don't think shared folders would work at all without them.

Last edited by dgalt (2015-06-22 12:34:14)

Offline

#5 2015-06-22 14:04:54

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

ok, sorry can't help


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#6 2015-07-23 20:02:03

dgalt
Member
Registered: 2015-04-22
Posts: 52

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

So I still haven't gotten around to solving this. Is the information in the wiki not accurate? I.e. are there more steps to getting the shared folder to automatically mount that what is stated in the wiki? Or might there be something wrong with how my system is set up?

Last edited by dgalt (2015-07-23 20:03:04)

Offline

#7 2015-12-20 02:30:01

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: Virtualbox Auto Mount Shared folder not working (Manual mount works)

I suppose it will be next to impossible to get an answer here if you haven't figured out the problem yet being the install is on a Windows system. I have Arch installed as a guest on an Arch host, mainly just for practice re-installing Arch but though my folders shared host folders auto-mount simply from the VirtualBox settings in the gui, I can't access them due to permissions, so I need to find out why the permissions for the Arch guest is different than for the Windows guests, the Windows guests auto-mount the host shared folders with whatever permissions I granted them.


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB