May 15, 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 http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/kernel-ppa/ubuntu 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.

Enjoy

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

5 comments:

blog said...

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!

Anonymous said...

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....
thanx...

Sang said...

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

help me plz
thanks

Gunblade IV said...

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'

Anonymous said...

Thanks!

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

This may confuse some.

Christopher