Vagrant was unable to mount VirtualBox shared folders
使用vagrant up命令启动虚拟机遇到如下错误:Vagrant was unable to mount VirtualBox shared folders. This is usuallybecause the filesystem "vboxsf" is not available. This filesystem ismade avail
·
错误详细输出
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=500,gid=500 vagrant /vagrant
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
解决
运行如下命令即可解决:
vagrant plugin install vagrant-winnfsd
vagrant plugin install vagrant-vbguest
vagrant vbguest
更多推荐
已为社区贡献7条内容
所有评论(0)