Tuesday, May 27, 2008

Virtual Box Kernel Upgrade 2.6.24-17-generic

Upgrade to Hardy Heron to kernel module 2.6.24-17-generic cause Virtual Box to stop working. No updated kernel-modules were found in the existing repositories. I followed various web postings to try to get this working. Non worked. Here's what I ended up doing to get this Virtual Box working again:

Step 1 (found via this link):
sudo sh -c 'echo "# VirtualBox repository for Ubuntu Gutsy
deb http://www.virtualbox.org/debian gutsy non-free" \
> /etc/apt/sources.list.d/gutsy-virtualbox.list'
wget http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install virtualbox

Step 2:
sudo /etc/init.d/vboxdrv setup

Step 3:
sudo apt-get install virtualbox-ose

Step 2 was mentioned repeatedly as solutions to the kernel module issue. More than likely I had an issue with my initial set-up where reinstalling everything flushed the problem.




1 comment:

Ajay Gautam said...

Thanks for putting up this post.

Unfortunately, this does not work for me. I get (apt-get update):

Failed to fetch http://www.virtualbox.org/debian/dists/gutsy/non-free/binary-i386/Packages.gz 403 Forbidden

If you know what I am doing wrong, pls do contact me.

Ajay