Kernel driver not installed (rc=-1908)
前几天老师用微信给我发了几份资料,但是我的电脑只有Ubuntu,但是我的电脑的VirtualBox 遇到一些问题,无法启动。
下面把问题与解决方案总结一下来解决。
环境 | 版本 |
---|---|
操作系统 | Ubuntu16.04.7 |
Virtualbo | 5.x |
- 首先是当我启动了这一个VirtualBox ,提示出
‘Kernel driver not installed (rc=-1908)’
这个问题。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
‘modprobe vboxdrv’
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
点击OK之后,又出现新的问题。
Failed to open a session for the virtual machine Ubuntu 18.04 LTS Server.
The virtual machine ‘Ubuntu 18.04 LTS Server’ has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
然后接运行如下命令:sudo modprobe vboxdrv
,出现如下问题.
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.0.0-23-generic
然后卸载virtualbox-dkms
并重新安装,sudo apt-get remove virtualbox-dkms
。sudo apt-get install virtualbox-dkms
,依旧报错。
于是搜索问题Failed to start LSB: VirtualBox Linux kernel module
,找到了解决方法。 用aptitude
来卸载干净。
sudo apt-get install aptitude
sudo aptitude purge virtualbox
还没有评论,来说两句吧...