【发布时间】:2017-06-30 18:20:38
【问题描述】:
我已经在互联网上搜索了这个问题,并且总是考虑在这里问这个问题。话虽如此,如果在此之前已经提出并解决了这个问题,请指出我正确的方向。
我在 macOS Sierra 10.12.5 上使用 Virtualbox 5.1.22 和 vagrant 版本 1.9.6
昨天我将我的宅基地盒子从版本 2.0.0 升级到了 2.1.0。我只是在运行 vagrant up 之后才升级,它完成了它的工作并且很好,直到我今天进来把我的机器转一并尝试再次启动 vagrant 机器。我在正常内容的末尾收到以下错误:
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=900,gid=900 vagrant /vagrant
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
我试过vagrant reload,vagrant halt 然后vagrant up,重启机器重新运行,vagrant reload --provision
非常感谢任何帮助。
谢谢。
编辑:为什么投反对票?这似乎是一个完全合理的问题?
【问题讨论】:
-
你有客人添加吗?它可能需要更新,最好是使用vagrant vbguest plugin
-
是的,事实证明我必须添加插件......真的很烦人,因为它之前刚刚工作所以我不明白为什么我现在需要一个插件......
-
不想要插件的可以自己更新,我觉得插件挺方便的
-
如果我不想要插件怎么办?一切都是最新版本...
-
更新您的客人添加