vboxsf module loads but mount gives "No such device" error

Discussions about using Linux guests in VirtualBox.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: vboxsf module loads but mount gives "No such device" err

Post by loukingjr »

Perryg wrote:@pmenso57,

You may have an issue that was first noticed yesterday. Look in /sbin for mount.vboxsf and see where the symlink points to.
Then see if the file exists there ( /usr/lib/VBoxGuestAdditions ) or does the file exist at ( /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions )
I looked at that yesterday but now looking at mount.vboxsf in one of my guests it says the link is broken but my shared folder still mounts. It is set to auto-mount.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxsf module loads but mount gives "No such device" err

Post by Perryg »

loukingjr wrote:
Perryg wrote:@pmenso57,

You may have an issue that was first noticed yesterday. Look in /sbin for mount.vboxsf and see where the symlink points to.
Then see if the file exists there ( /usr/lib/VBoxGuestAdditions ) or does the file exist at ( /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions )
I looked at that yesterday but now looking at mount.vboxsf in one of my guests it says the link is broken but my shared folder still mounts. It is set to auto-mount.
Auto-mount uses a different device ( IIRC ) which mounts the share as an external media much like a CD. These are stored in /media/ by default.

Now this one ( auto-mount ) can cause issues, so if you are having problems with shared folders that might be the reason.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: vboxsf module loads but mount gives "No such device" err

Post by loukingjr »

I'm not having any shared folder issues but mount.vboxsf is in ( /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions )

speaking of auto-mount, I know people recommend not using it because of possible issues but in 5 years I've not had any in hundreds of guests with the exception of one Linux distro, which I forget, where auto-mount wouldn't work and I had to mount it in rc.local.
Last edited by loukingjr on 28. Mar 2014, 15:24, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
pmenso57
Posts: 3
Joined: 28. Mar 2014, 11:18

Re: vboxsf module loads but mount gives "No such device" err

Post by pmenso57 »

Perryg wrote:@pmenso57,

You may have an issue that was first noticed yesterday. Look in /sbin for mount.vboxsf and see where the symlink points to.
Then see if the file exists there ( /usr/lib/VBoxGuestAdditions ) or does the file exist at ( /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions )
I will try tomorrow night, have to reinstall new version etc..
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: vboxsf module loads but mount gives "No such device" err

Post by loukingjr »

I guess this all begs the question should one correct the link to point to where mount.vboxsf actually is, or move the VBoxGuestAdditions folder to /usr/lib, or just wait for a new release?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxsf module loads but mount gives "No such device" err

Post by Perryg »

My fix would be to correct the symlink. That way whenever the fix comes out it will not need to be fixed yet again.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: vboxsf module loads but mount gives "No such device" err

Post by loukingjr »

thanks Perry. I guess in my case it really doesn't matter since I use auto-mounting shared folders. I was more or less asking for those that don't. It's a good thing I only installed 4.3.10 in 5 Linux guests out of 49 :D. I take it there is no issue with Windows guests?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Kernel-Panic
Posts: 3
Joined: 30. Mar 2014, 00:11

Re: vboxsf module loads but mount gives "No such device" err

Post by Kernel-Panic »

Same issue here on linux hosts.. Upgraded my mythbuntu box and lost backend storage. Looked up mount.vboxsf and it's not there! Break out the Grecian formulan and roll back again.
Kernel-Panic
Posts: 3
Joined: 30. Mar 2014, 00:11

Re: vboxsf module loads but mount gives "No such device" err

Post by Kernel-Panic »

The clone that I didn't upgrade guest additions on of the same guest mounts fine, so the problem is in the additions.iso.
Kernel-Panic
Posts: 3
Joined: 30. Mar 2014, 00:11

Re: vboxsf module loads but mount gives "No such device" err

Post by Kernel-Panic »

The mounts from the host worked but not the /etc/fstab mounts from the guest. And the guest works when I roll back guest additions to 3.2.8.

I use fstab on the guest to specify mythtv uid/gid during mounting, if I dont mythbackend doesnt work.
Post Reply