I am using virtual box 4.3.6 in Windows 7 PC. I am trying to run Ubuntu 14.04 .
After installing ubuntu since the display was low resolution i tried to install VirtualboxGuestAdditions I downloaded VBoxGuestAdditions_4.3.10.iso and followed steps in question
mount gives unknown filesystem type 'vboxsf'
Now I got optimum resolution but i am unable to mount the shared folder.
I used the command .
mount -t vboxsf sharedFolderName DestinationFolder
Now i am getting the error wrong fs type ..
I tried checking error using command
dmesg
and got
sf_read_super_aux err = -22
What I have done wrong ??
I have used the same method in fedora virtual image but with different VBoxGuestAddition version.
Best Answer
I've fixed mine using the following way:
1) Update system's packages
2) install virtual box guest additions (referenced from here)
3) Now install guest additional package (Crucial step! People generally miss this which creates an error “Unknown file type “vboxsf”)
NOTES:
You might face the following problems:
No such device:
root@packer-virtualbox-iso:~/new# mount -t vboxsf new ~/new
/sbin/mount.vboxsf: mounting failed with the error: No such device
-> YOU HAVE TO RESTART TO ALLOW CHANGES TO TAKE EFFECT.
you might experience the following error:
vagrant@packer-virtualbox-iso:~$ sudo mount -t vboxsf new ~/new
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
-> TO RESOLVE THIS, YOU MIGHT HAVE TO CHANGE THE NAME OF THE MOUNTING DEVICE/FOLDER (e.g. here is new)
-> OR FOLLOW THIS if NOT FIXED (REF)
May be the problem was host and guest folders should be the same names?