Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to map local partition / folder / drive with assigned letter like windows. This is useful to access from virtual machine installed within Ubuntu with virtualbox.

share|improve this question

Accessing your folder from your host (Ubuntu) with a guest operational system should not be very difficult.

The tools are supplied by VirtualBox to allow sharing of folder without having to rely on network sharing protocols like samba of nfs.

Of course all of this depends on the host and on the guest but normally involves 3 steps:

  • Install the guest additions for the guest system, supported systems are: Windows, Linux, Solaris or OS/2

enter image description here

  • From the guest VirtualBox window go to Devices > Shared Folders and on the new window click on the green + button to add a folder/drive from your host to the mounting points list

enter image description here

  • Third and last step is from within the guest system to mount the share you just created using the specific commands inside the guest system to mount them. Ie, for windows that would be something like pressing the Win+R keys and typing net use x: \\vboxsvr\sharename. Your host's sharedname folder would then be mounted as drive letter x: inside your windows guest.
share|improve this answer

Here is a tutorial that shows how to share a folder:

More details on this page:

share|improve this answer
@Pandya, so you want to mount the native OS's (windows I'm presuming) C: drive in ubuntu? First, which version of ubuntu are you running? Second, are you trying to do this via the /etc/fstab file? – sadmicrowave Apr 1 '11 at 13:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.