View Full Version : VirtualBox Mint 7 - Shared folder access
wat0114
October 26th, 2009, 11:12 AM
Hi,
I've installed Mint in VBox 3.0.8, finally figured out how to install the Guest additions (it sure pays to RTFM- LOL!), set up a shared folder located on the host system, but unfortunately I have no idea how to access that folder from the linux guest ??? Is it not possible to access data on the host O/S from the guest O/S or am I missing something here? Thanks in advance for any help!
chrisretusn
October 27th, 2009, 05:44 AM
There is two ways to do this.
1. Before starting the guest OS. Go in to Setup for that guest, Shared Folders and Click the Add icon, in point it toward your folder on the host.
2. When it's running. Right click on the Folder icon down in the lower right hand corner of the VirtualBox window. Click the Add icon, then point it toward your folder on the host.
In both cases you will have to mount it (Linux) or map the share to a drive (windows) in the guest before you can use it.
Look under Guest Additions in the VirtualBox for Shared Folders for more details.
lewmur
October 27th, 2009, 11:40 AM
-{ Quote: "Hi,
I've installed Mint in VBox 3.0.8, finally figured out how to install the Guest additions (it sure pays to RTFM- LOL!), set up a shared folder located on the host system, but unfortunately I have no idea how to access that folder from the linux guest ??? Is it not possible to access data on the host O/S from the guest O/S or am I missing something here? Thanks in advance for any help!" }-
Assume you named the shared folder or drive "share." Open a terminal a type the following.
$ mkdir /home/username/share
$ sudo mount -t vboxsf share /home/username/share
I'm currently researching how to add the share to /etc/fstab. It doesn't work the way I expected it to. I'll post later when I find the answer.
wat0114
October 27th, 2009, 11:50 AM
Thank you chris and lewmur! I'll try a bit later when time permits.
lewmur
October 27th, 2009, 12:12 PM
-{ Quote: "Thank you chris and lewmur! I'll try a bit later when time permits." }-
I found the correct entry for the fstab file. Add the following line to the file;
share /home/username/share vboxsf default,rw,uid=1000,gid=1000 0 0
Again, this assumes you named the shared drive or folder "share" and used mkdir to create folder to mount it in as /home/username/share.
vBulletin® Copyright ©2000-2012, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2012, Wilders Security Forums