Super User is a question and answer site for computer enthusiasts and power users. 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 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
"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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .