Vagrant error : Failed to mount folders in Linux guest

后端 未结 21 2475
臣服心动
臣服心动 2020-11-27 08:46

I have some issues with Vagrant shared folders, my base system is Ubuntu 13.10 desktop.

I do not understand why I have this error is something that is not right conf

21条回答
  •  时光说笑
    2020-11-27 09:24

    I found this issue addressed here vagrant issues. Two ways to do it:

    1. Run this on guest (i.e. after you ssh into vbox via vagrant ssh )

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

      Then run vagrant reload to correctly mount the folders.

    2. As @klang pointed out, update the VBoxGuestAdditions.iso file on your mac:

      wget https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_4.3.11-93070.iso‌​
      sudo cp VBoxGuestAdditions_4.3.11-93070.iso /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
      

    UPDATE (16may2014)

    Since the iso is no longer available, you can use the 4.3.12 one (http://dlc.sun.com.edgesuite.net/virtualbox/4.3.12/VBoxGuestAdditions_4.3.12.iso)

    note : the binary vbox4.3.12 for os X is not available at this time

提交回复
热议问题