/sbin/mount.vboxsf mouning failed with error: no such device

Discussions about using Linux guests in VirtualBox.
Post Reply
highjo
Posts: 1
Joined: 16. Aug 2010, 11:58
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu 9.10 and Ubuntu server 10.04

/sbin/mount.vboxsf mouning failed with error: no such device

Post by highjo »

Hello
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 :

Code: Select all

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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: /sbin/mount.vboxsf mouning failed with error: no such device

Post by Sasquatch »

Leave out any special characters from the name and mount point and just start with the basics. Call the shared folder 'share' and the mount point 'host'. Now mount it with the usual command:

Code: Select all

sudo mount -t vboxsf share /media/host
If this works, it means that the underscores in the name just isn't playing nice. Another thing that doesn't always work is when the shared folder name and the mount point have the same name.

More information can be read in my Howto: Use Shared Folders.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply