今天,我闲的蛋疼,更新来ubuntu内核,重启之后,也没在意,为了PS一张图,GIMP用起来不方便,遂开虚拟机virtualBox,进XP,用PhotoShop来操作,结果,VirtualBox却提示“ernel driver not installed (rc=-1908)”,我还没来得及点确定,又提示

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

‘/etc/init.d/vboxdrv setup’

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

好吧,我照办,开中端,敲入sudo /etc/init.d/vboxdrv setup,回车,立马提示

root@cnxct:/home/cfc4n# /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel module                                             *  done.
 * Recompiling VirtualBox kernel module                                          

屏幕停止在“Recompiling VirtualBox kernel module ”半天没反映,我有点心慌来,赶紧搜下。等到我切换到终端看结果的时候,却发现提示“* Starting VirtualBox kernel module * done.”,我 草,好了。那好吧,打开虚拟机看看,进XP。。。OK,正常了。。
附截图一张。

更新ubuntu内核,virtualbox出Kernel driver not installed错

至于这个错误是什么原因导致的,等我下次蛋疼的时候,再去查明真相吧。