Cannot start Kernel driver not installed (rc=-1908) after upgrading Visualbox under Ubuntu

Source: Internet
Author: User

Cannot start Kernel driver not installed (rc=-1908) after upgrading Visualbox under Ubuntu

Visualbox is much faster than the traditional VMware on Linux, and the key point is that it is more tightly integrated with the Linux kernel, which is also the advantage of open source.

However, the Linux kernel is updated very frequently, and every time the kernel is updated, VirtualBox will prompt:

VirtualBox kernel driver not installed. The Vboxdrv kernel module was either not loaded or/dev/vboxdrv is not a created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup ' as root.

So the VirtualBox kernel needs to be recompiled, and Ubuntu executes the following commands:

SUDO/ETC/INIT.D/VBOXDRV Setup

If prompted

* Stopping VirtualBox kernel modules                                                                                                                                                                          &nbSp [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-Find out-what went wrong

Locate the/var/log/vbox-install.log file, which is roughly the following:

makefile:172: * * * error:unable to find the sources of your current Linux kernel.  Specify kern_dir= and run make again. Stop.

So you need to install the current Linux kernel source files, compile the VirtualBox kernel need it, Ubuntu under the following command to install the current Linux kernel source files:

sudo apt-get install linux-headers-' uname-r '

Note that enclosing the uname-r is not a single quotation mark, but the symbol below the ESC key.


Then compile the VirtualBox kernel to execute the following command:

SUDO/ETC/INIT.D/VBOXDRV Setup

Cannot start Kernel driver not installed (rc=-1908) after upgrading Visualbox under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.