Telepathic Giraffe

A random collection of linux, sound, photos, and thoughts.

VirtualBox vboxdrv | Ubuntu 9.04 2.6.28-14-server

I recently upgraded my kernel which broke VirtualBox, I got 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. 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

Usually this is fixed by running:

sudo /etc/init.d/vboxdrv setup

I then found this post which applied to the generic kernel and indicated that I may be missing the kernel headers.  Since I am running VirtualBox in Ubuntu Server 9.04 I ran:

sudo apt-get install linux-headers-2.6.28-14-server

and then

sudo /etc/init.d/vboxdrv setup

Working again.


  1. hey for some reason when i run the /etc/init.d/vboxdrv setup command it just pops up with
    ” * Stopping VirtualBox kernel module
    * Cannot unload module vboxdrv
    ” in terminal of course

  2. legs o'clock

    August 6, 2009 at 4:21 pm

    Did you include sudo before the command? Also check that no VMs are running. Any additional text in the error message?

  3. Thanks! I just ran into this problem this morning following an update to the 2.6.28-16-generic kernel and this fixed it.

  4. Hello! I resolve this problem in such way:
    1. install DPKG.
    2. sudo /etc/init.d/vboxdrv setup
    If You see this message:
    “sudo: etcinit.dvboxdrv: command not found”, then:
    3. rename /etc/init.d/vboxdrv.dpkg-bak /etc/init.d/vboxdrv
    4. sudo /etc/init.d/vboxdrv setup
    6.You will see this command log:
    ” * Stopping VirtualBox kernel module * done.
    * Removing old VirtualBox netadp kernel module * done.
    * Removing old VirtualBox netflt kernel module * done.
    * Removing old VirtualBox kernel module * done.
    * Recompiling VirtualBox kernel module * done.
    * Starting VirtualBox kernel module * done.”
    5. Now You may run VirtualBox =)

  5. I followed SavaS_UA instructions, but step three didn’t work, I found another file called /etc/init.d/vboxdrv.dpkg-dist. I used that instead and it worked. So revised step 3 can be, if the above didn’t work:

    3′. rename /etc/init.d/vboxdrv.dpkg-dist /etc/init.d/vboxdrv

Leave a Reply

Your email address will not be published.


© 2021 Telepathic Giraffe

Theme by Anders NorenUp ↑