LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How do I update the kernel manually? (https://www.linuxquestions.org/questions/red-hat-31/how-do-i-update-the-kernel-manually-288261/)

christian_delaf 02-09-2005 04:35 PM

How do I update the kernel manually?
 
Hi everyone, I'm actually working with Redhat 9 EL3, and I'd like to know how can I update the redhat kernel manually, I'm new in this linux stuff, I've been working with it for some months, but I don't actually know that much to know which kernel version to choose, and how to update it, I've tried to update it with Up2date application but I 've had some problems with it and I rather choose to know how to do this manually just for feel the real Linux Feeling. Thanks.

j_75080 02-09-2005 05:00 PM

You may update the kernel by using the rpm command:

rpm -ivh kernel*.rpm

where * is the new kernel number followed by the arch number as shown on your rpm file.

This will give you a double Red Hat Linux boot, one with the old kernel and one with the new kernel. To remove the old kernel and bootup, use:

rpm -e kernel**.rpm

where ** is the old kernel number followed by the arch number.

Before doing this you must be logged on as root, so you would want to open a terminal and then
cd /
Log on as root by typing
su
and then typing your password

Hope this helps


All times are GMT -5. The time now is 12:28 AM.