win7挂载不了目录

来源:3-4 vagrant高级知识

魏铭轩

2017-07-30 12:30

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'


写回答 关注

2回答

  • xarasa
    2017-09-08 14:42:01

    这问题困扰我很久了。

  • 魏铭轩
    2017-07-30 13:01:13

    修复步骤:

    如果没有vbguest插件,请安装:

    $ vagrant plugin install vagrant-vbguest

    跑流汗

    显示错误。

    $ vagrant up

    登录虚拟机

    $ vagrant ssh

    固定!

    在客人端(VM记录)。

    $ sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions

    回到主机上,重新加载Vagrant

    $ vagrant reload


vagrant打造跨平台可移动的开发环境

Vgarant是开发者必备利器之一,本课程主要分为理论和实践两部分

13889 学习 · 117 问题

查看课程

相似问题