红联Linux门户
Linux帮助

ubuntu中使用virtualbox遇到Kernel driver not installed (rc=-1

发布时间:2015-12-16 09:43:16来源:linux网站作者:孙悟坑

百度之后得到解决,再此做个笔记。


错误提示:

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.


我是在使用了sudo apt-get autoremove 之后卸载了原来的内核文件(应该是,我也不清楚)


然后导致virtualbox提示该错误的,具体我也不清楚反正后来解决了,解决方法如下:

sudo apt-get install linux-headers-`uname -r`
sudo dpkg-reconfigure virtualbox-dkms
sudo modprobe vboxdrv


解决Ubuntu下vbox的(rc=-1908):http://www.linuxdiyf.com/linux/11832.html

提示Kernel driver not installed (rc=-1908)的解决方法:http://www.linuxdiyf.com/linux/10106.html