Thursday, January 15, 2009

Sharing a folder between Vista Host and a Ubuntu Guest

So to share a folder between the two OS (note the OS host and guest), first go to Devices->Share folders and then share the folder you want from your windows system. And then give it a name. Note the name that you give it as this becomes your sharing_name.

Next thing you do is go back to your Ubuntu guest OS, and then open a terminal. Then make a directory somewhere to share as your mounting point. With a command like this:

mkdir /mount_point_name


Then go into the folder and then type this command:

mount -t vboxsf sharing_name .


The sharing_name is simply the name of the sharing folder you specified earlier when you were in Devices->Share Folders

No comments: