Shared Folders in VirtualBox – Part 2

I’ve been using VirtualBox for the past few weeks, and it has been a wonderful experience. I’ve worked earlier with Microsoft’s Virtual PC, but had little satisfaction over the fact that it could support only Windows based Operating systems.

VirtualBox came as a blessing, and I’ve been using it for atleast 4 different Operating systems, for testing and development purposes.

Earlier, I had posted how to share folders in VirtualBox with Windows based Operating systems as the Host and Guest Operating systems.

In this post, I’ll walk you through the exact steps to share folders between a Windows based host operating system and a Linux based guest operating system or vice-versa.

For this guide, I’ve used Windows XP SP2 as the host operating system and Ubuntu 8.04 as the guest operating system.

Information on how to start using VirtualBox shared folders is provided in Part 1.

Once you’re done installing VirtualBox Guest Additions, open up Terminal Window in Ubuntu. Proceed with the following steps.

1. Type sudo -i

2. Once you’re into the root directory, type the following commands

root@manikandan-desktop:~# sudo mkdir /media/mani

Here, mani is the name of the folder, where you want the contents of the Shared folder to be. This command creates a folder at the specified location. The media folder is usually available in File System.

In this context, the shared data will be present in File System -> Media -> mani

3. Once this is done, type the following command.

mount -t vboxsf Access /media/mani

Here, mani is the name of the folder in Ubuntu. Whereas Access is the name of the folder shared in Windows.

And that is it. Now, you can start sharing files right away between the host OS and the guest OS.

Have fun 🙂 Let me know if you have any queries 🙂


About Manikandan Surendren

A PeopleSoft Techno-functional Consultant. An engineering graduate in Computer Science. Technology Enthusiast. Movie freak. Gadget geek.
This entry was posted in Virtualization. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s