qottna
Last Updated: February 25, 2016
·
498
· kaldown

Fixing "MOUNT -T VBOXSF: NO SUCH DEVICE"

Problem itself

vagrant up

Returns

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

Solution

Check in your machine env

lsmod | grep vboxsf

If no => lets try to:

/etc/init.d/vboxadd setup

If what, there should be
/var/log/vboxadd-install.log
reading tail of that, you can make a conclusion that there is no some stuff for kernel

yum groupinstall 'Development Tools'
yum install kernel-devel

After that repeat

/etc/init.d/vboxadd setup