【发布时间】:2021-09-17 20:58:13
【问题描述】:
我知道这些年来其他人也遇到过类似的问题(例如 this )但是在我的情况下,访客添加 已安装(0.30.0 版本)我尝试重新安装了很多次。
我在 Windows10 上工作,这些是 VirtualBox 和虚拟机的版本。
Virtualbox on your host claims: 5.2.8
VBoxService inside the vm claims: 6.1.22
这是问题的代码:
default: /vagrant => C:/Users/XXXX XXXX/Documents/src
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,_netdev vagrant /vagrant
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: Invalid argument
我从未在类似情况下发现错误Invalid argument,所以我的问题是这是否需要特定程序。
非常感谢
【问题讨论】:
标签: vagrant vagrant-windows vagrant-plugin