Page 1 of 1
Sharing between Host and guest?
Posted: 11. Nov 2010, 09:59
by Jades
Well I have Linux Mint 9 (upgrading to 10) on my Windows 7 using VirtualBox.
I'm trying to share between my Windows C drive and Linux so I can have my music/photos/videos on Linux.
I've been trying but it doesn't work.
No error message pops up it just doesn't work.
But I have seen this in XP, is it only for Windows guest OS's?
Re: Sharing between Host and guest?
Posted: 11. Nov 2010, 16:15
by Perryg
You need to read Chapter 4.3. Shared folders in your VirtualBox users manual.
Re: Sharing between Host and guest?
Posted: 12. Nov 2010, 22:43
by HwyChld
You must have Guest additions installed. Assuming this has been done correctly go to the devices menu item and select the shared folders item. Click the folder add button and browse to the folder on the host that you want to share with the guest. Click the make permanent button and then OK. You should now have a folder with a name and the associated path in the Machine folders section. We now have told Virtual Box where the folder we are going to share is located on the host.
Next we need to make the guest able to see the share by mounting the device. Lets assume you named the folder VirtualShare in the preceding step and you want to mount it in a folder called host in your home directory on the guest.
Code: Select all
mount -t vboxsf VirtualShare ~/host
If you get a protocol error it is because the name you provided in the mount instruction did not match the name of the share as shown in the Shared folders dialog box when you click on Devices->Shared Folders...
To make this happen every time the guest is booted put the mount instruction in the rc.local script.
Re: Sharing between Host and guest?
Posted: 13. Nov 2010, 08:30
by Jades
Ok I will try that.
I have XP working with it on my Windows 7 host and my Windows XP host (for testing).
Re: Sharing between Host and guest?
Posted: 13. Nov 2010, 13:02
by Sasquatch
In case you're having difficulties with the installation of the Guest Additions and the above instructions aren't working, you might want to check the Howto/Tutorial section and read my howto's on the subject.