Problem
When attempting to mount a shared directory from Linux Mint 16 VirtualBox guest OS, I receive the following error:
mount: wrong fs type, bad option, bad superblock on hostshare,
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
My mount command is sudo mount -t vboxsf hostshare ~/host
dmesg | tail reveals: 'sf_read_super_aux err=-22'
Environment
– Host OS: Windows 7 64 bit
– Guest OS: Linux Mint 64 bit (Mate)
– VirtualBox 4.3.10
– VirtualBox Guest Additions 4.3.10
– Shared directory defined in VirtualBox as 'hostshare' with Make Permanent checked
– ~/host is defined on the guest OS file system
What I have tried
I can mount this directory from other VirtualBox guests, including Mint 15 32 bit.
I reinstalled guest additions on Mint 16 and from what I can see, it is running. I have rebooted the host OS, VirtualBox and the Guest OS several times.
I renamed the shared folder to various silly things to no avail.
Changed VirtualBox network from NAT to Bridged Adaptor.
Other Guest Additions features (Shared Clipboard, Drag'n'Drop) work properly.
Best Answer
I confirm your solution. I'm using a debian 7 amd64 guest on a windows 7 64-bits. I updated virtualbox from 4.3.8 to 4.3.10. The following symlink: /sbin/mount.vboxsf points to /usr/lib/VBoxGuestAdditions/mount.vboxsf whereas the real path to mount.vboxsf is: /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf.
This issue seems to be fixed in virtualbox subversion repository. Thus, it should be fixed in next version.