I have Ubuntu 16.04.3 LTS installed as a guest in a VirtualBox virtual machine running on a Windows 10 OS computer.
With the following command I try to mount a shared folder called "temp".
sudo mount -t vboxsf -o uid=1000,gid=1000 temp /home/$(whoami)/compartida
getting the following error message
wrong fs type, bad option, bad superblock on temp, missing codepage or helper program, or other error
When reviewing the log:
dmesg | tail
vboxsf: Successfully loaded version 5.1.16_Ubunto
sf_read_super_aux err=-22
Edit: Steps followed
1) Install Guest Additions
sudo apt-get install virtualbox-guest-additions-iso
VBoxManage --version
5.0.40_Ubuntor115130
2) Users in Ubuntu must be in the groupvboxsf
sudo groupadd vboxsf
groupadd: el grupo <<vboxsf>> ya existe
sudo usermod -aG vboxsf $(whoami)
3) Define a folder in Windows to be shared with Ubuntu using the VirtualBox interface (Devices/Shared Folders/Shared Folders Preferences/Add New Folder)
3.1) Folder in Windows E:\temp
, called temp
in the VirtualBox interface
4) Create a mount point in Ubuntu.
mkdir /home/$(whoami)/compartida