| RSS

Install DKMS-VirtualBox driver not installed: Error after updating to new Linux Kernel

August 5th, 2009 | Comments | Posted in How-to, Linux, Ubuntu

VirtualBox256Yesterday I did a post on How to install virtualbox on Ubuntu 9.04 and run WindowsXP as virtual OS. However, today after I upgraded my Linux Kernel I realized that VirtualBox stopped working throwing the error saying Kernel driver not installed (rc=-1908). Also, it was suggested by VirtualBox that installing DKMS package would solve theongrat issue. Let’s see how to correct the error and to make sure that this error doesn’t occur again in future. Following is the error I got:

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 or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

dkms1

About DKMS

This package contains the framework for the Dynamic Kernel Module. Support (DKMS) method for installing and updating kernel modules.

Solution

Install the DKMS package by typing the follow command at the terminal.

sudo apt-get install dkms

This should install DKMS and should take care of coordinating upgrades of individual applications with upgrades of the linux kernel in future, so they always stay in synch.

However we have to still fix the current virtualbox error. To do so, reinstall VirtualBox. Follow the steps at How to install virtualbox on Ubuntu 9.04 and run WindowsXP as virtual OS.

Don’t worry about your current setting and VMs and Vdi disks. All the settings will be saved. You’ll no more face a similar situation once you have DKMS and wont have to worry about Linux Kernel Upgrade.

Homepage

http://linux.dell.com/dkms


Leave a Reply 9177 views, 2 so far today |

Related Posts!

  • logicodifuso
    grandioso!!

    bastante simple y directo!! estupendo post!!

    saludos
  • @rotyyu that is strange coz re-installing should work out of the box. I did a reinstall and it worked. You might want to check the log files of installation for VirtualBox
  • I've installed dkms before I upgraded the grub to grub-2, but this is still occured. I've tried to re-install the virtualbox but didn't resolve this problem yet.
  • Despite installed DKMS installed my Virtual-Box failed because of the lack of the kernel module.

    I did

    sudo /etc/init.d/vboxdrv setup

    to resolve it.

    my 2 cents

    brainextender
  • themiddaysun
    Thanks for the DKMS insite. I just re-installed my VirtBox. when I received the error. That did resolve it, but I didnt know the root cause, now I do and I know that DKMS should help keep it from happening again. Great heads up! Thanks!
blog comments powered by Disqus
Cornish fauna - Horse fly Tabanus sp. #3There's only one thing stops a hoverfly in mid flight.. Male hoverfly Syritta pipiensSaale BridgeLes Invalides - HDRsanta eufemia de cozuelos - HDRStreet ArtmiraCloud KillerMolino HDRTours Société Générale By Night | HDR