humanmade / Salty-WordPress

A flavorful way to manage your entire WordPress stack.
126 stars 22 forks source link

I hit the "Failed to mount folders in Linux guest" issue after vagrant up for the first time #117

Open mikelittle opened 9 years ago

mikelittle commented 9 years ago

I got the following error :

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

I've hit this before in earlier versions of VVV. The solution is documented here: http://jbisbee.blogspot.co.uk/2014/04/vagrant-cant-mount-shared-folder-in.html

Specifically, I needed to ssh in to the VM and issue the following command.

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

Then the next vagrant up completed and all was happy.

paulgibbs commented 7 years ago

Yep, I run into this too.