升级内核后,重启机器再次运行VirtualBox,  启动虚拟机会提示如下内容:

Kernel driver not installed (rc=-1908)    
TheVirtualBoxLinux kernel driver (vboxdrv)is probably not loaded.    
If you installed orVirtualBoxpackage recently you need to restart the computer for the driver to load.    
Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:    
'/etc/sysconfig/modules/VirtualBox.modules'

按照提示在root权限下运行
/etc/sysconfig/modules/VirtualBox.modules
却提示如下:

ERROR: modinfo: could not find module vboxdrv
ERROR: modinfo: could not find module vboxnetflt
ERROR: modinfo: could not find module vboxnetadp

解决方法如下:(来源于网络)
  yum  install kmod-VirtualBox
然后
/etc/sysconfig/modules/VirtualBox.modules

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐