Saturday, July 19, 2014

Unable to mount VirtualBox shared drive using 4.3.10

When mounting a shared drive in VirtualBox 4.3.10, got he following error in Linux box:

sudo mount -t vboxsf E_DRIVE vbox
mount: wrong fs type, bad option, bad superblock on E_DRIVE,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

This is caused by wrong symbolic link, to fix it do:

~$ sudo ln -sf /usr/lib/i386-linux-gnu/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf



Corny's Corner said...

And for 64-bit that's ln -sf /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf

Corny's Corner said...

And if the guest is 64-bit I've found this works:

ln -sf /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf