Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to mount virtualbox shared folder on Ubuntu server 10.04 + GUI/sbin/mount.vboxsf mouning failed with error: no such device

Tags:

i'm new to this forum but i've been a occasional vbox user. I had windows 7 host and ubuntu 9.10 guest which works fine with vboxadditions installed, share folder and everything perfect. Now for some simulations i needed to have the ubuntu server 10.04 intall with x-window. what i did and so far so good.

now the problem i'm having now is that for the server i seem not to be able to mount a share folder.following the same process :

-install dkms
-update
-upgrade
-mount the vboxadditions iso in the host virtual drive and have it mounted in the guest as well
-install vboxadditions (sudo sh ./VBoxLinuxAdditions-x86.run)
-restart the guest os
- created ubuntu_share folder under /media/ubuntu_share

any time i'm trying to mount the folder ubuntu_share on my drive D (D:/Ubuntu_Share) with this command :

 mount -t vboxsf ubuntu_share /media/ubuntu_share 

i always get :

/sbin/mount.vboxsf mouning failed with error: no such device   locate mount.vboxsf output this: /opt/VBoxGuestAdditions-3.2.6/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf 

is there any problem with ubuntu server 10.04? or i'm just missing the mark somewhere? thanks for reading this and helping me out.

like image 610
black sensei Avatar asked Aug 16 '10 10:08

black sensei


People also ask

How do I mount a shared folder in Oracle VirtualBox?

To share a host folder with a virtual machine in Oracle VM VirtualBox, you must specify the path of the folder and choose a share name that the guest can use to access the shared folder. This happens on the host. In the guest you can then use the share name to connect to it and access files.

Where are VirtualBox shared folders mounted?

The default mount location is in /media/sf_ . You can access the share by making the user, or group id of 1000 , a member of group vboxsf . This is done by changing the vboxsf line in the /etc/group file.


1 Answers

On Ubuntu, I still couldn't get it to mount even after installing the guest additions. These two commands fixed it for me:

    apt-get install dkms     /etc/init.d/vboxadd setup 

Good luck.

like image 177
Robert Bruce Avatar answered Oct 07 '22 22:10

Robert Bruce