我试图使用别人的一个Vagrant盒子,它的工作正常,当我第一次启动它,但是当我停止它,并重新启动它与流氓停止和流氓,或流氓重载,我收到以下错误信息:
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` vagrant /vagrant mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant The error output from the last command was: /sbin/mount.vboxsf: mounting failed with the error: No such device
现在,搜索这个错误信息会导致很多人遇到Bug VirtualBox 4.3.10的麻烦,但这不是我遇到的问题.
解决方法
事实证明,升级Linux内核将导致Virtual Box Guest Additions停止工作,直到通过在VM中运行以下命令重建它们
sudo /etc/init.d/vboxadd setup
当我运行yum更新(类似于apt-get升级)以获得对其他软件的更新时,我已经升级了内核,而没有考虑它.
或者,如果按照here所述安装dkms软件包,则内核模块应在内核更新时自动更新.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。