Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to upgrade my kernel to a newer version, Ive never done this before so i havent a clue what to do.
At the moment ive got the 2.4.2-2 kernel (under redhat 7.1) and i want to upgrade to 2.4.9 upwards.
I checked kernel.org and downloaded a kernel patch version 2.4.18, but i also looked through redhat's ftp
site and found kernel RPMs there.
Should i use the kernel patch (2.4.18) and could i patch a 2.4.2-2 kernel??
or should i download an RPM from the redhat ftp site and use that??
Also, because ive never done this before id be gratefull if someone could tell me what im supposed to do,
just so i dont go and bugger everything up :S
If you're making a big jump in kernel versions, you will want to get the full source for the kernel you need and compile it. Otherwise, you'd have to apply every patch for every version between your current kernel and the desired kernel.
Now, I'm not sure how RedHat kernel RPM's work, but it may be similar to the patch method.
Kernel patches can be applied on to the source code of an unmodified (Red Hat modifies the kernels it ships) kernel one minor version behind the patch.
i.e. you should applied the 2.4.18 kernel patch only to a vanillia 2.4.17 kernel.
I suggest downloading the complete 2.4.18 tarball and reading the Kernel-HOWTO which you can find at http://www.linuxdoc.org/HOWTO/
Yeah, all these guys are correct guerilla. I hope you have fast connection too. The 2.4.18 full kernel is 30 megabytes, so in a 56k, that'll take some time.
compiling the kernel is the easy part, just type 4 commands. The time consuming, and the part which you need to really understand by knowing your computer very well is the kernel configuration, when you type make menuconfig. That'll take you some time.
Other than that...I know how you feel. I can still remember the first time I actually sucessfully compiled the kernel. I was scared like a little bunny running away from a wolf. It aint that bad however,
scream if ya need help.
If the patches you applied were kernel updates to "fix" or "add functionality/compatibility", then they may already be included in the newer kernels. Otherwise, you probably will have to apply them again. Just make sure that the patches will work ok with then new kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.