Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
来源:互联网 发布:c语言打印标准杨辉三角 编辑:程序博客网 时间:2024/05/22 10:42
转自:http://www.cnblogs.com/WormCanFly/archive/2012/05/23/2514338.html
VisualBox之所以在Linux上比传统的VMware快得多,关键一点就是它和Linux内核的结合比较紧密,这也是开源的优点。
不过Linux内核更新很频繁,每次更新内核后启动VirtualBox都会提示:
VirtualBoxkernel driver not installed. The vboxdrv kernel module was either notloaded or /dev/vboxdrv was not created for some reason. Re-setup thekernel module by executing ‘/etc/init.d/vboxdrv setup’ as root.
所以需要重新编译VirtualBox的内核,Ubuntu下执行如下命令:
sudo /etc/init.d/vboxdrv setup
如果提示:
*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
*Look at/var/log/vbox-install.log to find out what went wrong
找到 /var/log/vbox-install.log 文件,内容大致为:
Makefile:172:*** Error:unable to find the sources of yourcurrent Linux kernel. Specify KERN_DIR=<directory> andrun Make again. Stop.
所以需要安装当前Linux内核的源文件,编译VirtualBox内核的时候需要它,Ubuntu下执行如下命令安装当前Linux内核的源文件:
sudo apt-get install linux-headers-`uname -r`
注意:括起uname-r的不是单引号,而是Esc键下面的那个符号。
然后再编译VirtualBox内核执行如下命令:
sudo /etc/init.d/vboxdrv setup
- Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- virtualbox无法启动Kernel driver not installed (rc=-1908)
- Ubuntu 14.04 LTS 更新后无法启动VirtualBox和Genymotion 错误Kernel driver not installed (rc=-1908)
- Ubuntu Linux内核更新后VirtualBox无法启动的解决办法(Kernel driver not installed (rc=-1908))
- ubuntu升级内核 virtualbox 出现Kernel driver not installed (rc=-1908)
- VBOX启动错误-Kernel driver not installed (rc=-1908)
- (ubuntu virtualbox)解决Kernel driver not installed (rc=-1908)
- kernel driver not installed (rc=-1908) ubuntu 13.04 Viturlbox
- ubuntu 下virtualbox 启动时Kernel driver not installed (rc=-1908) 错误的解决方法
- 升级/降级内核 VirtualBox报错 Kernel driver not installed (rc=-1908) 最新解决办法
- virtualbox 启动时Kernel driver not installed (rc=-1908) 错误的
- virtualbox 启动时报Kernel driver not installed (rc=-1908) 的错误
- virtualbox启动时Kernel driver not installed (rc=-1908) 错误的解决方法
- java中克隆,浅拷贝,神拷贝
- cocos2d-x UI之技能冷却按钮
- malloc的实现原理学习(2)
- 英飞凌最新资料大全
- 使用ensembl api鉴定假常染色体区段
- Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)
- Python抓取网页链接
- 如何抓取网页数据
- 从入职到现在的 开发总结
- Qt QString类型转换为int,float的函数
- VC\MFC 编程经验总结—2(转)
- iOS:KVO的概述与使用
- Java代码混淆()
- UI 适配