Thursday, June 26, 2008

VirtualBox

Most of the time when you are running Ubuntu and the Kernel level gets upgraded the "virtualbox-ose-module-generic" does not get upgraded.

And so when you try to run VirtualBox you get the error "VirtualBox kernel driver not installed" or something related.

(This can also happen the first time you run VirtualBox on a new (but fully patched) install.)

To fix this run the following commands:

sudo apt-get install virtualbox-ose-source
sudo m-a update
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo /etc/init.d/vboxdrv restart

No comments: