Remedying "mounting failed" error after Ubuntu image upgrade

Discussions about using Linux guests in VirtualBox.
Post Reply
Phrawm53
Posts: 1
Joined: 28. Sep 2010, 18:44
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu, Kubuntu
Location: San Francisco, California USA

Remedying "mounting failed" error after Ubuntu image upgrade

Post by Phrawm53 »

For Ubuntu Linux 10.04 running under VirtualBox Windows 7.

As of 27 September, Ubuntu received an upgrade to Linux image / headers 2.6.32-25.44.

This upgrade broke my previously working shared folders. My previously working mount command produced errors of the form:

Code: Select all

/sbin/mount.vboxsf: mounting failed with the error: No such device
Running dmesg | grep vboxsf | less listed multiple (many!) errors of the form:

Code: Select all

[   50.956007] vboxsf: no symbol version for RTSemFastMutexCreate
[   50.956007] vboxsf: Unknown symbol RTSemFastMutexCreate
[   50.956007] vboxsf: no symbol version for VBoxGuestIDCCall
[   50.956007] vboxsf: Unknown symbol VBoxGuestIDCCall
[   50.956007] vboxsf: no symbol version for RTMemTmpFree
[   50.956007] vboxsf: Unknown symbol RTMemTmpFree
[   50.956007] vboxsf: no symbol version for RTErrConvertToErrn
...
...
The solution was to reinstall VirtualBox Guest Additions on the Ubuntu guest system. Doing so uninstalls the existing Guest Additions, then rebuilds and reinstalls it. At that point my mount command resumed working in 2.6.32.25-44.

Cheers & hope this helps,
Ric
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Remedying "mounting failed" error after Ubuntu image upgrade

Post by Perryg »

See Chapter 4.2.2.1. Installing the Linux Guest Additions in your VirtualBox users manual. Especially the part about dkms.
Post Reply