启动虚拟机报错:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
解决方法:
更新virtualbox
尝试1:
更新内核: yum update -y
结果:仍然报错,但是系统界面更新了。
尝试2:
首先,删除VirtualBox-5.2,命令如下:
yum remove VirtualBox-5.2
然后,在virtualbox官网上显示,centos可以直接安装virtualbox,命令如下:
yum install VirtualBox-6.0
最后,更新到6.0版本后,虚拟机可以启动了。