Unable to mount folders : Solution

So I ran into this error below and wanted to share my solution somewhere since I couldn't find it elsewhere. It seems an update of VBox or something breaks the link to the install of vbguest. It is simply fixed for me at least by running the command "vagrant plugin install vagrant-vbguest"

Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o dmode=0777,fmode=0777,uid=1000,gid=1000 vagrant_data /vagrant_data

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: Invalid argument

Leave a Comment