Vagrant Error: Unable to Mount VirtualBox Shared Folders (Guest Additions, vboxsf)

前端 未结 11 1481
滥情空心
滥情空心 2021-01-31 08:32

The Issue

I installed Vagrant on Windows 10 so I can create a personal local development environment in a virtual machine. Everything I\'ve read about Vagrant said I c

11条回答
  •  情话喂你
    2021-01-31 09:33

    It is bug in Vbox. There is an solution to fix.

    Login to Vbox guestos: By default password is (vagrant/vagrant)

    su
    ln -sf /opt/VBoxGuestAdditions-5.1.20/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf
    mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
    

    shutdown

    run cmd in from local machine cmd prompt:

    vagrant up
    

    It will work.

提交回复
热议问题