/sbin/mount.vboxsf: mounting failed with the error: Invalid argument - how to solve this error?
13,752
The normal way to get that done from the link provided by Norbert
sudo mount -t vboxsf [-o OPTIONS] sharename mountpoint
So your command should be
sudo mount -t vboxsf [-o OPTIONS] sharename /media/songs
To mount a shared folder during boot, add the following entry to /etc/fstab
:
sharename /media/songs vboxsf defaults 0 0
The sharename comes from the Windows hosts' sharename
Related videos on Youtube
Author by
Sophia B.A.
Updated on September 18, 2022Comments
-
Sophia B.A. over 1 year
I'm trying to share a folder between ,a host, windows 10 and ,a guest, ubuntu 16.04. I have already created a folder in linux and set up inside the virtual box. Inside
/media
I have created a folder calledsongs
. now I'm trying to mount a volume using the following:sudo mount -t vboxsf sf_shareubuntu/ songs/
I'm getting the following error:
/sbin/mount.vboxsf: mounting failed with the error: Invalid argument
how do I solve this error?
-
N0rbert over 5 yearsHave you read official documentation "5.3.1. Manual Mounting"?
-
George Udosen over 5 yearsThere is no location like
sf_shareubuntu/ songs/
it ought to besharename /media/songs/
-