Access VirtualBox Shared Folder from Ubuntu 12.04 (Precise Pangolin) Guest Machine

Using VirtualBox? And do you want to access shared folders on the host machine from the guest machine which has Ubuntu on it? Well, this brief tutorial is going to show you how to do that. This is a perfect way to get file located on the host machine to the guest machine which in this case is a Ubuntu machine.

This tutorial was done using Windows 7 as my host machine and Ubuntu 12.04 as the guest. Also, make sure you have access to the folder you’re sharing, or it won’t work.

Objectives:

  • Access shared folders on the host from the guest machine using VirtualBox
  • Enjoy!

To get started, select the virtual machine to wish to configure then click ‘Settings’ and select the shared folder on the left menu. Click ‘Add’ the select the the folder to share.

 

virtualbox_shared_folder_precise

 

Login to Ubuntu and run the commands below to add your user account into VirtualBox account group.

sudo adduser <username> vboxsf

 

virtualbox_shared_folder_precise_1

 

Next, logout or restart your computer and go to the /media/ folder to access the shared folder.

 

virtualbox_shared_folder_precise_2

 

Enjoy!

5 comments on “Access VirtualBox Shared Folder from Ubuntu 12.04 (Precise Pangolin) Guest Machine
  1. Windows-Guru says:

    Thanks! Last time I did this it took me forever to figure this out!

    You made it so easy!

  2. reza says:

    Thanks, You made my day

  3. Roy says:

    One important tip that could have saved me a couple of hours:
    1. You have to install guest additions before you follow this tutorial
    2. Make sure that the version of you VirtualBox is newer than the version of the guest OS. Otherwise, the guest additions might not be compatible with the kernel.

  4. linda says:

    i am using a sony vaio t11 windows 8 host machine and ubuntu 12.04 on virtual box. your directions were easy and the shared folder appeared but when i clicked on it, the computer said i did not have the permission to see the contents! please help

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>