vagrant共享目录出现“mount:unknown filesystem type 'vboxsf'”错误解决方法


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:

mount: unknown filesystem type 'vboxsf'


# 安装 vbguest 插件
vagrant plugin install vagrant-vbguest
# 重启虚拟机
vagrant box reload

本博客采用 知识共享署名-禁止演绎 4.0 国际许可协议 进行许可

本文标题:vagrant共享目录出现“mount:unknown filesystem type 'vboxsf'”错误解决方法