技术分享 vagrant 虚拟机无法挂载共享目录文件夹

mahoney · 2019-01-05 08:40:17 · 热度: 130

新安装的 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=1000,gid=1000 home_wwwroot /home/wwwroot

The error output from the command was:

mount: unknown filesystem type 'vboxsf'

解决方法:

vagrant plugin install vagrant-vbguest
vagrant reload

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册