virtualbox无法启动 Kernel driver not installed (rc=-19

转自地址:http://www.cnblogs.com/WormCanFly/archive/2012/05/23/2514338.htm

Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)

VisualBox之所以在Linux上比传统的VMware快得多,关键一点就是它和Linux内核的结合比较紧密,这也是开源的优点。

不过Linux内核更新很频繁,每次更新内核后启动VirtualBox都会提示:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel 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 your current Linux kernel. Specify KERN_DIR=<directory> and run 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

时间: 2024-12-17 12:28:56

virtualbox无法启动 Kernel driver not installed (rc=-19的相关文章

Ubuntu下升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)

Ubuntu下升级VisualBox后无法启动 Kernel driver not installed (rc=-1908) VisualBox之所以在Linux上比传统的VMware快得多,关键一点就是它和Linux内核的结合比较紧密,这也是开源的优点. 不过Linux内核更新很频繁,每次更新内核后启动VirtualBox都会提示: VirtualBox kernel driver not installed. The vboxdrv kernel module was either not

Ubuntu 升级VisualBox后无法启动 Kernel driver not installed (rc=-1908)

? ? VisualBox之所以在Linux上比传统的VMware快得多,关键一点就是它和Linux内核的结合比较紧密,这也是开源的优点. 不过Linux内核更新很频繁,每次更新内核后启动VirtualBox都会提示: VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-

CentOS VirtualBox启动虚拟及报错:VirtualBox error: Kernel driver not installed (rc=1908)

VirtualBox error: Kernel driver not installed (rc=1908) Hi all, Let me first say that this is my final resort after googling this issue for the last several hours. None of the solutions that I have found are working for me. My VirtualBox (PUEL, not O

virtualbox启动时报错 Kernel driver not installed (rc=-1908)

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. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root. Users of Ubuntu,

Fedora安装VirtualBox时出现错误Kernel driver not installed (rc=-1908)的解决办法

新建虚拟机后启动时出现如下错误: 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. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

VirtualBox提示Kernel driver not installed (rc=-1908)

今天用虚拟机挂载了一个镜像文件,结果虚拟机不能打开(见下图),结果我还以为是我挂载的操作给影响的,后来经过谷歌查询,原来是因为linux内核升级的原因.仔细的想了一下,自己的确在上次关机的时候给电脑更新过软件.谷歌查询了解决办法,知道了原因,不过没按照网上说的去做.我是把虚拟机卸载(不会删除自己虚拟的系统),然后重新安装,结果就可以正常使用了. 卸载虚拟机VirtualBox(可以输入vir然后按Tab键来补全,查看自己虚拟机具体的软件名) [email protected]:~/Downloa

archlinux virtualbox 出现 Kernel driver not installed (rc=-1908)

错误内容: 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 'pacman -S virtualbox-modules' as root.

fedora25 安装virtualbox5.1 出现提示Kernel driver not installed (rc=-1908) 错误的解决方法

fedora25 安装virtualbox5.1 出现提示Kernel driver not installed (rc=-1908) 错误的解决方法: $ sudo /usr/lib/virtualbox/vboxdrv.sh setup        vboxdrv.sh: Building VirtualBox kernel modules.             vboxdrv.sh: Starting VirtualBox services.

Ubuntu下VirtualBox kernel driver not installed

解決方案: 1.sudo apt-get install virtualbox-ose-source2.cd /usr/src3.sudo tar xjvf virtualbox*.bz24.cd modules/virtualbox-ose5.sudo ./build_in_tmp install6.sudo /etc/init.d/vboxdrv start 現在就OK啦