Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu guest on a Windows 7 machine using VirtualBox. How can share folders between Ubuntu guest and Windows host? Thanks.

share|improve this question
    
Possible Duplicate: askubuntu.com/q/30202/44179 –  Seth Dec 18 '12 at 16:25
    
Have you tried the answer I provided here: askubuntu.com/questions/81757/… . I can't test since I do not have a windows OS around. –  Luis Alvarado Dec 18 '12 at 17:45
    
Please also have a look here for prerequisites: askubuntu.com/questions/30396/… –  Takkat Dec 18 '12 at 19:01

2 Answers 2

you should make the option of "insert guest addition CD image" active, from the devices menu, in order to enable shared folder. the shared folder should appear in the /media.

share|improve this answer

Close out your guest VM, and then open up the Settings dialog for that VM. Down near the bottom of the left hand navigation area in that dialog should be an option for shared folders.

You can select which folder(s) on the host machine you want shared with that particular guest VM, whether you want them mounted read-only by the guest, and whether to make them available on boot of the VM. Once done, restart / restore the guest VM and you should be able to navigate to the new filesystem or folder.

I usually make a new folder inside the 'VirtualBox VMs' folder in my user directory, titled 'Shared' and then share that folder with any guest VMs that need it. I mount it read-only so that no one machine can b0rk it for the others, and then I can place any necessary files in there that are desired.

share|improve this answer
    
Thanks for the answer. After restarting the guest VM, I opened the "Home" folder on Ubuntu(guest), but I still could not find the "shared" folder created and mounted. –  user288609 Dec 18 '12 at 22:04
    
It is not normal to mount file systems under a user's /home; look for it in the file system. If it doesn't jump out at you in Nautilus (the file explorer app), it may be under /media/ or /mnt/. I'm not sitting in front of a box with Virtualbox on it at the moment so I can't be more specific than that for now. You may need to have Guest Additions installed on the guest VM - other distros like Debian and SuSE auto-install some version of them; Ubuntu does not. –  memilanuk Dec 18 '12 at 22:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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