Skip to content

Instantly share code, notes, and snippets.

@lukaszkorecki
Created June 23, 2014 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszkorecki/c0074351d1f50251ee57 to your computer and use it in GitHub Desktop.
Save lukaszkorecki/c0074351d1f50251ee57 to your computer and use it in GitHub Desktop.

If you get 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

you need to:

  • vagrant ssh to the machine
  • run sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
  • terminate your ssh session and then run vagrant reload and vagrant provision

This is due to a bug in VirtualBox 4.3.10. Hopefully newer versions will not be affected... Who knows though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment