Oracle virtual box shared files -- including the resolution of /sbin/mount.vboxsf: mounting failed
-
The first step is in virtual box menu, click
Devices
, and then clickShared Folders
->Shared Folders Settings
. Specified the source directory from windows machineshared_files
which is the name of actualC:\shared_files
.
-
The second step is link target/destination directory in linux to source directory
shared_files
mount -t vboxsf shared_files /mnt/share
如果出现 /sbin/mount.vboxsf: mounting failed with the error: Invalid argument
这个错误, 那么可以通过以下命令解决此问题
sudo apt-get install virtualbox-guest-dkms
执行成功后, 重启虚拟机, 再次执行mount指令就能成功
---------------------------------------------
Study needs record, record needs review
---------------------------------------------