May 16, 2008

Ubuntu : How to upgrade to 2.6.25 kernel

Well, on the previous post I do give tutorial on how to compile custom kernel on your Ubuntu box debian way. But it seem like it's hard for beginner to start compiling, and stripping the kernel and choose a appropriate driver to be compiled along.

So here is the easy way for Ubuntu users to upgrade to latest kernel 2.6.25 which has been release on the launchpad by the development team.
sudo vi /etc/apt/source.list
Edit the source.list file and add the following line at the end of the files:
deb hardy main
deb-src hardy main
Save and exit the text editor, and run:
sudo apt-get update
After finish updating your apt list, you need to install the new kernel by running this command:
sudo apt-get install linux-image-2.6.25-1-generic linux-headers-2.6.25-1
This command will install the 2.6.25 kernel with the Ubuntu Patches already been implement. So no need to wirries about your drivers and etc. But this isnt a stable release yet. I've been reading about kernel 2.6.25 to be included officially on the hardy repo as this 8.04 is a LTS.


Thank you for your unbelievable support on Negative Zero - Permission to read and write blog for nearly 4 years. Don't forget to like Negative Zero on Facebook. Blog Directory

Post(s) you might like to read :


  1. Great stuff. I followed the instructions in your last post. I'm not a newbie to linux, but in the interest of time I just selected all the defaults when compiling the 2.6.25 kernel. Let's just say not much worked properly. I fell back to the stock 8.04 kernel. Now I'm updating my system per this post. Thanks again!

  2. i followed the guide until "sudo apt-get install linux-image-2.6.25-1-generic linux-headers-2.6.25-1" where i got the error "E: Couldn't find package linux-image-2.6.25-1-generic"

    plz help....

  3. i canot edit the source.lst, error: not permise

    help me plz

  4. actually there is no package available at this moment at the repo i stated in the post. sorry for the problem, seem like the developement team has delete the 2.6.25 kernel package in the repo.

    The only way to get 2.6.25 kernel on ubuntu is by self-compile the kernel. There is a howto i wrote earlier. search my blog and i'm definitely sure that you will see the tutorial i wrote on 'compile 2.6.25 kernel'

  5. Thanks!

    BTW: Its called /etc/apt/sources.list and not source.list

    This may confuse some.


  6. About removed packages ( the relevant packages had been removed from that repo ):
    You can get them here:

    Thanks for the guide