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

前端 未结 11 1490
滥情空心
滥情空心 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:22

    There can be multiple cause :

    1. The version of the guest addition is not matching the version of VirtualBox, for this you can update the version of the guest addition by running vagrant plugin install vagrant-vbguest
    2. You hit a bug of vagrant with NFS on Windows : should be fixed so maybe try to update to the latest release of Vagrant and VirtualBox
    3. In this github issue https://github.com/fideloper/Vaprobash/issues/92, there is two thing that you can test : use the winnfsd plugin (https://github.com/winnfsd/vagrant-winnfsd) or try to configure the default mount with no NFS

    I had the same issue, and it was just the guest addition that was not up-to-date ...

    UDPATE : The bug on Vagrant with NFS on Windows (point 2) has been fixed in version 5.1.18, re-appears in version 5.1.20 and is fixed again in version 5.2.

提交回复
热议问题