vagrant up报错:unable to mount VirtualBox shared folders

2022-07-11 13:41:03 浏览数 (1)

大家好,又见面了,我是全栈君。

vagrant up报以下错误:

1 2 3 4 5 6 7 8 9 10 11 12

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

参考文档

看到有2个方法:

1.

1 2

vagrant plugin install vagrant-vbguest vagrant vbguest

2.

1 2

vagrant plugin install vagrant-winnfsd vagrant plugin install vagrant-vbguest

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/111992.html原文链接:https://javaforall.cn

0 人点赞