I'm running Ubuntu 12.04 Server (guest machine) on VirtualBox having Windows 7 as host machine.

I make a "Server12.04" named folder on my Host machine desktop & shared the same in Virtual Box (ticked the auto-mount option). How can i access the shared folder in the guest machine (which is Ubuntu server 12.04).

I got one refrence answer from Link but this was not helpfull. Whenever i tried to share the folder i got the following error :-

The program 'VmBoxManage' is currently not installed. You can install it by typing apt-get install virtualbox. Means why to install VirtualBox inside the VirtualBox ??

Please help me out . Thanks in advance !!


On your host OS, you create the shared folder by running

VBoxManage sharedfolder add "VM name" --name "sharename" --hostpath "C:\test"

On your guest system, you have to run

mkdir /home/<user>/vboxshare
sudo mount -t vboxsf -o uid=1000,gid=1000 share /home/<user>/vboxshare

VBoxManage can change the settings of a VirtualBox, but if you already have this share created, there's no need to run this command.

| improve this answer | |
  • @davidbaumaan i have windows 7 as my host machine & having "share" named folder on my desktop which i want to share with my guest OS which is Ubuntu Server 12.04 (on VirtualBox) ?? you got me – gurupal singh Dec 26 '14 at 17:08
  • Did it work? OF course, you have to adjust the command according to your needs. – davidbaumann Dec 7 '15 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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