MPDK


Pages

Aug 25, 2009

How to change the kernel on ubuntu

In the past time upgrading your kernel was a hung task. However, debian packages currectly make linux life much easier.
Go to here, and download the kernel package you need.
http://kernel.ubuntu.com/~kernel-ppa/mainline/
All you need to download the following deb and install package by package.
1. linux-hearders-<version> _all.deb
2. linux-hearders-<version>_i386.deb (or "amd64" is a matter of your computer)
3. linux-image-<version>_i386.edb (similarly above)
4. linux-source-<version>_all.deb (Not necessary)
After all, edit your sources.list by adding the following source


#the source of 2.6.30up!
deb http://tw.archive.ubuntu.com/ubuntu/ karmic main restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic main restricted multiverse
This can help you renew your kernel version to a more stable version. Moreover, It can fix some problem in the original version.
Delete the old kernel! This can help you to optimize your system such that your OS is quickly, stable and lightweight. In my way, it's a stupid way. If you have a better way, please tell me.
First, I run the synaptic package manager, and search
linux-
Then I find the lower version and do complete removal. That's it.

1 comment:

  1. None said:
    Some advice for your post. I'd rewrite your 1st paragraph as follows:
    In the past few years, upgrading the kernel was a huge task. However, Debian packages currently make your Linux life much easier.

    The point is: Less is more, be concise. Cheers!

    ReplyDelete