Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I mount any folder to guest OS (Ubuntu 11.04) the as host OS is Windows and I am using Sun VirtualBox?

I have done like this. In VirtualBox' settings » Shared folders » Add » Added new folder

Now in the terminal of the guest OS I typed:

mount -t sharedfoldername mount-point

But it is not working.

share|improve this question
    
I know it's against our rules, and I posted an answer, but improving your Google-fu is a must if you want to use Ubuntu for example. :) –  Shiki Jul 14 '12 at 11:51
1  
@omkant Please work on your accept rate. –  billc.cn Jul 14 '12 at 11:53
    
"It is not working" is not a good problem description. Have you literally typed sharedfoldername and mount-point or what was the actual command you used? How do your VirtualBox settings look like exactly? Does the command show an error, or does nothing happen at all? There is a lot missing in your question that would make it possible for others to give a good answer. –  slhck Jul 14 '12 at 12:31

1 Answer 1

up vote 2 down vote accepted

sudo mount -t vboxsf SHARENAME /media/vboxshared

So in your case:
sudo mount -t vboxsf sharedfoldername mount-point

(With -t vboxsf, you specify that the mounted filesystem is Virtualbox's shared filesystem. Aaand that's it.)

share|improve this answer

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.