可能重复:
Virtualbox 内核驱动程序未安装
最近我将内核更新为3.2.0-29-generic
. 此后,我的 VirtualBox 无法打开并显示错误消息
VirtualBox - Error in suplibOsInit
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 the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first.
This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
Run Code Online (Sandbox Code Playgroud)
为了使它工作,我必须每次执行以下命令:
sudo modprobe vboxdrv
Run Code Online (Sandbox Code Playgroud)
正如其他地方所建议的那样。
这很烦人。有人可以帮忙吗?因此我可以运行 VirtualBox,而无需在每次启动后执行该命令。我必须提到的是,我尝试了各个论坛中建议的其他几个选项(包括重新安装 VirtualVox、DKMS 软件包等),但没有给我带来永久的解决方案。
您必须按照错误消息中的要求重新安装内核模块。
sudo /etc/init.d/vboxdrv setup
Run Code Online (Sandbox Code Playgroud)
确保您已经dkms
安装,内核升级后就不会再遇到这个问题了。
sudo apt-get install dkms
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
23646 次 |
最近记录: |