Linux.com

Home Linux Community Community Blogs General Linux How to fix Virtualbox error “Kernel driver not installed (rc=-1908)” on Ubuntu

How to fix Virtualbox error “Kernel driver not installed (rc=-1908)” on Ubuntu

Virtualbox I recently installed the latest version of Virtualbox (4.3.12) by downloading the deb files from virtualbox.org on Ubuntu 14.04. The installation goes fine, but when trying to run Virtualbox, it reports the following error. 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... Virtualbox
I recently installed the latest version of Virtualbox (4.3.12) by downloading the deb files from virtualbox.org on Ubuntu 14.04. The installation goes fine, but when trying to run Virtualbox, it reports the following error.
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.
Looks like some kernel driver has to be compiled for Virtualbox to run properly. But this is easy enough on Ubuntu and does not require a lot of effort. And here are the steps to do the necessary.
First install the kernel headers and build tools.
$ sudo apt-get install build-essential module-assistant
$ sudo m-a prepare
And now compile virtualbox kernel driver with the commanded as reported by the error message earlier.
$ sudo /etc/init.d/vboxdrv setup
The compilation should go fine and finish within a few minutes with an output similar to what is shown below.
$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.
Now run...

Read full post here
How to fix Virtualbox error “Kernel driver not installed (rc=-1908)” on Ubuntu

Read more at Binary Tides
 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board