分享

解决ubuntu更新之后virtualbox不能用的问题 | 知行近思

 善哉善斋 2014-11-28

更新了ubuntu,启动虚拟电脑时会报错:

1
NS_ERROR_FAILURE (0x80004005) Machine IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

并且有如下提示:

1
2
3
4
5
6
7
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.

大概是说内核驱动没有安装,估计是ubuntu内核更新后virtualbox没有相应更新,察看了下ubuntu的内核,果然更新了:

1
内核 Linux 3.2.0-25-generic

从3.2.0-24更新到了3.2.0-25.

按照提示信息,执行

1
sudo /etc/init.d/vboxdrv setup

运行情况:

1
2
3
4
5
6
* Stopping VirtualBox kernel modules                                    [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS                  
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules                                 [ OK ]
* Starting VirtualBox kernel modules                                    [ OK ]

然后就可以启动虚拟电脑了。


本文遵从CC版权协定,转载请以链接形式注明出处。
本文链接地址: http://www./article-783.html

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多