升级ubuntu内核,virtualbox提示Kernel driver not installed (rc=-1908)出错

今天,我闲的蛋疼,更新来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错

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

知识共享许可协议CFC4N的博客CFC4N 创作,采用 知识共享 署名-非商业性使用-相同方式共享(3.0未本地化版本)许可协议进行许可。基于https://www.cnxct.com上的作品创作。转载请注明转自:升级ubuntu内核,virtualbox提示Kernel driver not installed (rc=-1908)出错

5 thoughts on “升级ubuntu内核,virtualbox提示Kernel driver not installed (rc=-1908)出错

  1. 貌似
    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv.
    难道是一个权限问题?
    tail -f /var/log/messages看下日志先。

    • 其实,错误提示不是这个,我先修复之后,再写blog的,找不到错误提示了,不过,标题的错误提示是正确的。 :mrgreen: 等会再找找,改回来。

  2. 安装virtualbox后,virtualbox的模块是和现有内核匹配的。如果更新完内核,自然virtualbox也要更新;这个操作一般都会存在。

    另外vboxdrv 的权限问题;可能是编译的ose版本的,需要加入用户权限。User group/manage groups 添加一个vbox的选项,然后把自己加入就可以了。 :mrgreen:

  3. sudo aptitude update
    sudo aptitude install dkms
    sudo /etc/init.d/vboxdrv setup
    可以解决。

Comments are closed.