Vagrant-NO.130.Vagrant.2 -Error:the filesystem "vboxsf" is not available

Posted kingdelee

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vagrant-NO.130.Vagrant.2 -Error:the filesystem "vboxsf" is not available相关的知识,希望对你有一定的参考价值。

Style:Mac

Series:Java

Since:2018-09-10

End:2018-09-10

Total Hours:1

Degree Of Diffculty:5

Degree Of Mastery:5

Practical Level:5

Desired Goal:5

Archieve Goal:3

Gerneral Evaluation:3

Writer:kingdelee

Related Links:

http://www.cnblogs.com/kingdelee/

https://blog.csdn.net/shilei_zhang/article/details/72811274

 

升级centos内核后出现以下异常:

 

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

 

解决:
vagrant plugin install vagrant-vbguest

vagrant reload --provision

以上是关于Vagrant-NO.130.Vagrant.2 -Error:the filesystem "vboxsf" is not available的主要内容,如果未能解决你的问题,请参考以下文章