Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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:

http://www.howtogeek.com/howto/ubuntu/share-ubuntu-home-directories-using-samba/

More details on this page:

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#smbconfminimal

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

 
discard

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.