Wednesday 28 January 2009

Sharing a folder between a Windows Host and an Ubuntu guest on VirtualBox

While using VirtualBox, I came across this situation of needing to share a folder between a Windows Host (XP) and an Ubuntu guest (8.0.4), so I found this article very useful.
Just in case you couldn't access the link here is a quick view:
From the VirtualBox Menu choose your Folder to share and remember the name, say the folder is:
c:\SharedFolder (I will call it SharedFolder as well).
From Ubuntu, type first:
sudo mkdir /media/SharedFolder (This will create the folder, I am using the same folder name in Ubuntu but that is not required)
sudo mount -t vboxsf SharedFolder /media/SharedFolder

And that's it!

No comments: