Linux – Virtualbox shared folder mounting not working

linuxUbuntuvirtualbox

I have been trying to mount a virtualbox folder for some time now and keep getting

mount: unknown filesystem type 'vboxsf'

I have installed and reinstalled guest additions a number of times both from the repository and using the "insert guest addition CD" option (and then succesffully running the installer and rebooting) in the virtualbox. Does anyone by any chance have any idea what the problem might be?

I'm running Ubuntu 14.04 as both the host and the guest. And have Virtualbox 4.3.10 as far as I can tell. Everything should patched and updated to the latest version.

Edit:

mount -t vboxfs sharename local_directory_name

Best Answer

Curiously, just tried the same thing with Kubuntu 14.04 (host) on Mint 17.1 (guest), and got the same error.

The fix was to do this (as per this post):

sudo ln -f -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf

Then manually add your user to the vboxsf group (as per dot point 2 in this answer):

sudo usermod -a -G vboxsf <username>

Reboot the guest, and then try the mount command again:

sudo mount -t vboxsf <share name> <mount dir>