On our most recent project in work, homestead started failing on
vagrant up. The error was
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`, home_vagrant_project /home/vagrant/folder
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant`, home_vagrant_project /home/vagrant/folder
The error output from the last command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
This post on Stack Overflow offered me a solution that worked
config.vbguest.auto_update = false needed to be added to the Vagrantfile within the
do|config| loop at the end.
After that, a simple
vagrant destroy followed by a
vagrant up sorted me out.