In VirtualBox, Ubuntu guest, Win7 host, I click this "Auto-mount" box, but it doesn't seem to have any effect. I have to edit fstab to get it to mount. So what is it for?

enter image description here

link|improve this question

57% accept rate
feedback

3 Answers

In Ubuntu this should auto-mount shared folders under /media/sf_share_name. I've had permissions issues with the auto-mounts and still use the fstab.

link|improve this answer
feedback

Make sure that the additions are installed, and that you have added your username as a member of the vboxsf group (sudo usermod -aG vboxsf <your username>).

Then you need at least to log out (or reboot) for the change to take effect.

link|improve this answer
feedback

You can find information on that in the VirtualBox Manual,

http://www.virtualbox.org/manual/ch04.html#sf_mount_auto

Maybe your user is not in the vboxsf user group, maybe you didn't look correctly where to find it. Are you sure you installed the latest guest additions?

You can check all that, but you can refer to the manual for details if it helps.

link|improve this answer
2  
There is no vboxsf group. I added it, but it didn't seem to change anything. – endolith Mar 2 '11 at 15:42
1  
@endolith Have you installed the Guest Additions in your Ubuntu guest? The auto-mount (and really the shared folders feature in general) won't work without them. – Goyuix Mar 2 '11 at 16:37
1  
@Goyuix: Yes, virtualbox-ose-guest-utils virtualbox-ose-guest-dkms virtualbox-ose-guest-x11 are all installed. I wouldn't be able to mount from vboxsf at all, otherwise, would I? – endolith Mar 2 '11 at 20:29
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.