Guest Ubuntu 10.10
VirtualBox 4.0
My message:
Do not use long name, name with spaces or strange names for the share name!
"vboxshare" produced a
"mount.vboxsf: mounting failed with the error: Invalid argument"
"share" works!
Manual
- Install Guest Additions
- Settings VirtualBox:
create sharing folder on Windows XP (host)
give a short an simple name "share"!!! - Go to Ubuntu (Guest)
mkdir a folder for sharing
- Do not use the Home-Folder -
this is importent if you want to create a permanent mount
root is used in rc.local and root has respect of home directories.
use for example /mnt or /tmp
I use
/media/vboxgemein - Mount manually
sudo mount.vboxsf share /media/vboxgemein/
If this work you can create a permanent mount folder in rc.local - Mount permanemtly
open rc.local with editor
sudo nano /etc/rc.local
before the "exit 0" command type
mount.vboxsf share /media/vboxgemein/