升级完内核后,virtualbox开机后却不能运行,显示如下错误:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loadedor there is a permission problem with /dev/vboxdrv. Re-setup thekernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install theDKMS package first. This package keeps track of Linux kernelchanges and recompiles the vboxdrv kernel module ifnecessary.
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loadedor there is a permission problem with /dev/vboxdrv. Re-setup thekernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install theDKMS package first. This package keeps track of Linux kernelchanges and recompiles the vboxdrv kernel module ifnecessary.
如果你的系统是ubuntu的可以这样解决:
sudo apt-get update
sudo apt-get install dkms
sudo /etc/init.d/vboxdrv setup
命令行中会提示:
Stopping VirtualBox kernelmodule
就可以了。直接启动virtualbox,就可以进系统了。
注意,需要看清楚你的内核和升级的是不是同一个,如不是还需要把old卸载,然后reboot,用新内核再vboxdrvsetup
当然,对于某些情况,需要重装一下对应版本的virtualbox