Additional info for howto "HOWTO: Use Shared Folders"

Discussions about using Linux guests in VirtualBox.
Post Reply
timhalo
Posts: 1
Joined: 2. Jul 2011, 07:17
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Ubuntu

Additional info for howto "HOWTO: Use Shared Folders"

Post by timhalo »

"HOWTO: Use Shared Folders" helped me get a shared folder mounted as non-root

Here's some additional info...I had to put the below in the Guest O/S's (ubuntu) rc.local

---------------------------------------------------------------------
umount /media/sf_xyz-share
mount -t vboxsf -o uid=1000,gid=1000 xyz-share /home/vbox/xyz-share
---------------------------------------------------------------------

where...

"/media/sf_xyz-share" is the mount point that Virtual Box chose & mounted as root permissions. So am having rc.local unmount it.

"xyz-share" name of the share on the Host

"/home/vbox/xyz-share" name of the place on the Guest to mount to.

(I guess relative to mount command, the 'device' being mounted is the shared folder on the Host). I briefly checked this forum to see if someone else already posted this info...if it has been..wish I would have found it.
Post Reply