因此,在virtualbox共享文件夹的设置中,我已经单击了以下设置:自动挂载并永久设置。我的共享文件夹名为VM-share
然后,我登录guest linux的终端以键入以下命令:
$ sudo mount -t vboxsf VM-share ~/share/
它给了我以下错误信息:
mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
因此,我用谷歌搜索并按照此页面上的说明进行操作:为什么会出现“错误的fs类型,错误的选项,错误的超级块”错误?
同时安装“ sudo apt install nfs-common
”和“ sudo apt install cifs-utils
”
但是,当我重复命令“ $ sudo mount -t vboxsf VM-share ~/share/
”时,它仍然会提供与以前相同的错误消息。我输入“ dmesg | tail
”,以下是消息:
[ 8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22
那么,我该如何挂载共享文件夹?