请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

/sbin/mount.vboxsf: mounting failed with the error: No such device

老师麻烦帮忙看一下报错信息!!!

VirtualBox Guest Additions: modprobe vboxsf failed
An error occurred during installation of VirtualBox Guest Additions 5.2.32. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
Redirecting to /bin/systemctl start  vboxadd.service
Unmounting Virtualbox Guest Additions ISO from: /mnt
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.28
VBoxService inside the vm claims: 5.2.32
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.28
VBoxService inside the vm claims: 5.2.32
Going on, assuming VBoxService is correct...
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.28
    default: VirtualBox Version: 5.2
==> default: Mounting shared folders...
    default: /vagrant => D:/HashiCorp/boxs/centos7
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

D:\HashiCorp\boxs\centos7>

我看了问答区,安装的插件,但是还是不行

D:\HashiCorp\boxs\centos7>vagrant plugin list
vagrant-scp (0.5.7, global)
vagrant-vbguest (0.20.0, global)
vagrant-winnfsd (1.4.0, global)

我的版本信息

Vagrant 2.2.4
VirtualBox 5.2
Window 10

正在回答

1回答

可能是share folder的问题,您把这个删了,vagrant halt然后vagrant destroy

然后把config.vm.synced_folder "./labs", "/home/vagrant/labs" 这一行从vagantfile里删掉,然后重新 vagrant up试试

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号