VirtualBox Hack – How to Share Folders on Ubuntu!

For those of you running Ubuntu under VirtualBox like me, you might want to know how to share folders between your host OS and Ubuntu.

It’s pretty simple, just go to Devices->Shared Folders, then add a shared folder like I did above with my D:\ drive on my host Windows 7 and named it “shared”.

Next, make a directory called /share:

sudo mkdir /share

mount it using the command:

sudo mount -t vboxsf share /share

Remember you can change /share in the above command to the any folder name you designated when you have added a new shared folder.

change directory to /share and enjoy:

cd /share

I am really liking VirtualBox btw, I have been using VMWare most of my life but glad to start using more open-source software.

Leave a Reply

Your email address will not be published.

Other interesting stuff at , , , ,
Check out more interesting categories: Computer, DIY, Featured Hacks, Hack, HOWTO, Operating System, Projects.

Related News and Resources