You are here: Home Tech Notes Linux Ubuntu 8.04 Updates Missing VirtualBox
Ubuntu 8.04 Updates Missing VirtualBox PDF Print E-mail
User Rating: / 2
PoorBest 
Tech Notes - Linux
Written by Rick   
Tuesday, 17 June 2008 18:36

Since my initial installation of (K)Ubuntu 8.04 and VirtualBox 1.5.6, every time the kernel updates, VirtualBox crashes with the following error;


VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic..


It's not a hard thing to fix, just an inconvenience.

First you'll need to modify your /etc/apt/sources.list file. Add the following line to the bottom of the list;

deb http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe

Then open a terminal and run the following command;

sudo apt-get update (NOTE: Once you've done this DO NOT update Ubuntu)

Now, open Synaptic and search for "virtualbox". Find "virtualbox-ose-modules-2.6.24-XX-generic". Replace the XX with the correct kernel version. Mark for installation and apply.

Virtualbox should now run properly. You're not done yet!!! We must undo the changes to avoid using "proposed" updates.

Go back and edit the /etc/apt/source.list file again. This time, comment out the line we added above by adding a hash mark (#) to the beginning of the line. Then rerun sudo apt-get update. By leaving the line in place and simply commenting it our, you'll be able to easily do the same changes next time.

Now you can go back to normal operation including Ubuntu updates.

Comments (0)
Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):S
:!::?::idea::arrow:
Security
Please input the anti-spam code that you can read in the image.