Virtualbox The character device /dev/vboxdrv does not exist.
来源:互联网 发布:linux用vim打开文件 编辑:程序博客网 时间:2024/05/23 00:06
参考:http://www.zhuantilan.com/jiqiao/63713.html
这个问题根本原因是ubuntu内核更新后dkms没有根据virtualbox版本重新编译,因此无法找到vboxdrv
1、我安装VirtualBox时终端给我提示:
WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-generic. You will not be able to start VMs until this problem is fixed.
害得我这个苦恼不停的找解决办法,可惜可惜,网上关于这方面的资料有限,而且有些我试了,有些不管用。
2、你可能试过这条语句
sudo /etc/init.d/vboxdrv setup 但是可能发现最后是这个结果
(Failed, trying without DKMS)Recompiling VirtualBox kernel modules ...failed! (Look at /var/log/vbox-install.log to find out what went wrong)根本没个卵用啊~~~cat一下这个vbox-install.log 发现有个什么文件NOT FOUND ,这啥意思 笔者也搞不懂,唉 不管他鸟了。
3、直接上语句,我也上抱着试一试的 态度:
$dkms install virtualbox/<version>
例如:
$ sudo dkms install virtualbox/4.1.12
最后终端提示:
DKMS: install completed.居然安装上了
4、然后试了一下:
sudo /etc/init.d/virtualbox start
终端显示:
[ ok ] Starting virtualbox (via systemctl): virtualbox.service.
居然可以了 ,果断打开使用。
5、如果你ubuntu 没有头文件你可能会碰到这个错误::
Error! Your kernel headers for kernel 3.2.0-26-generic cannot be found. Please install the linux-headers-3.2.0-26-generic package, or use the --kernelsourcedir option to tell DKMS where it's located
所以就要安装下面的东西::
$ sudo apt-get install linux-headers-3.2.0-26-generic
然后启动这个组件::
$ sudo /etc/init.d/virtualbox start
oK~
0 0
- Virtualbox The character device /dev/vboxdrv does not exist.
- ERROR:column "datconfig " does not exist character
- The connection does not exist.
- The VirtualBox Linux kernel driver (vboxdrv) is either not loaded
- ERROR: operator does not exist: character = integer
- The file does not exist anymore
- The specified JRE installation does not exist
- The specified JRE installation does not exist
- The specified JRE installation does not exist
- The auxService:mapreduce_shuffle does not exist
- The specified JRE installation does not exist
- The SDK directory 'XXXXXX' does not exist
- The auxService:mapreduce_shuffle does not exist
- The specified JRE installation does not exist
- The specified JRE installation does not exist
- sphinx cmu & /dev/dsp does not exist in ubuntu 10.10
- android studio dev-debug.apk does not exist on disk.
- Could not open the editor: The file does not exist.
- 多线程浅析(1)
- Wireshark 过滤条件收集
- 安卓--第二天--页面跳转和数据传递
- eclipse中新建Server服务器,使用Tomcat7
- 用Java实现的多线程扫描IP程序
- Virtualbox The character device /dev/vboxdrv does not exist.
- ORACLE索引重建分析详解
- jQuery学习之旅 5 $与jQuery对象
- 安卓--第三天--Listview的实现方法详细分析
- HTML5 音乐播放
- 记录,使用RTT+StencilBuffer
- hdu 5611 /BC 69B Baby Ming and phone number
- [IOS 开发] 用多个.m文件实现一个类
- linux(centos)搭建SVN服务器