You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the guest linux kernel version gets updated then Vagrant fails to mount host directories. This is because the kernel module vboxsf was compiled for an older version of the kernel.
This gets fixed after installing dkms and then reinstalling guest additions. yum install dkms
It would be much more convenient if guest additions were compiled from the start with dkms support.
Example 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`,dmode=777,fmode=666 db_data /db_data
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant`,dmode=777,fmode=666 db_data /db_data
The error output from the last command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
The text was updated successfully, but these errors were encountered:
So the reason the boxes are set up this way is to keep their size down. Otherwise you need a whole C compiler, make, etc. on the box which is undesirable.
Generally, the use cases for the Bento boxes are for userland testing, which are generally agnostic to the kernel version.
If the guest linux kernel version gets updated then Vagrant fails to mount host directories. This is because the kernel module vboxsf was compiled for an older version of the kernel.
This gets fixed after installing dkms and then reinstalling guest additions.
yum install dkms
It would be much more convenient if guest additions were compiled from the start with dkms support.
Example error:
The text was updated successfully, but these errors were encountered: