Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can i map a drive letter to virtual box vm in windows? So for instance, i want a folder /home/user in my virtual machine to be mapped to the x: drive in windows? The vm is connected via host only networking.

share|improve this question
You could set a folder in your host as the sharing folder and then 'mount' it in the guest os. – n0pe Apr 3 '11 at 18:08

2 Answers 2

Why not use good old network sharing, just as between two real machines?

share|improve this answer

Samba is the way to go. You are using a linux and you want to map /home/x_user on a windows z: drive :

On virtual linux system, create a user called 'x_user' and execute :

# smbpasswd -a x_user

# service smb restart

On Windows 7 map the drive using the usual \\ip_of_linux_box method

share|improve this answer

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.