故障 vagrant管理的centos虚拟机在做过 yum -y update 后更新了系统以及内核 然后下一次vagrant up的时候共享目录不能挂载到/vagrant目录( /sbin/mount.vboxsf: mounting failed with the error: No such device) 详细信息 Failed to mount folders in Linux guest. This is usually because mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant The error output from the last command was: /sbin/mount.vboxsf: mounting failed with the error: No such device 需要执行 sudo /etc/init.d/vboxadd setup |