Help - Search - Members - Calendar
Full Version: Kernel upgrade
The Planet Forums > Operating Systems > Red Hat Linux > Red Hat HOWTOs
mdelacruz
I have a server with RHEL3, uname -a get this info:

Linux xxx.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux

Is this a secure Kernel version? What is the most secure command to upgrade Kernel

Thank you
eth00
If you do a search there are tons of threads about upgrading kernels. I have posted a guide here:
http://www.eth0.us/?q=rpm-kernel
that will show you how to upgrade the kernel.
Tex
2.4.21-32.0.1.ELsmp

is the most recent release
mdelacruz
QUOTE (eth00)
If you do a search there are tons of threads about upgrading kernels. I have posted a guide here:
http://www.eth0.us/?q=rpm-kernel
that will show you how to upgrade the kernel.


I didn't the search, off course, but I found dozens of different methods, that's why I'm asking for the "best and secure method" to upgrade my kernel.

Thank you for your posted guide, I have applied that on another server and works perfectly but I read that RHEL3 have some problems updating kernel that's my preocupation.
eth00
QUOTE (mdelacruz)
I didn't the search, off course, but I found dozens of different methods, that's why I'm asking for the "best and secure method" to upgrade my kernel.

Thank you for your posted guide, I have applied that on another server and works perfectly but I read that RHEL3 have some problems updating kernel that's my preocupation.


Yeah it does, if you follow the guide and edit lilo to use append="root=LABEL=/" you will be fine. For some reason they started to use root=/dev/sda3 or something to that effect and it started to break the boxes...
mdelacruz
QUOTE (eth00)
Yeah it does, if you follow the guide and edit lilo to use append="root=LABEL=/" you will be fine. For some reason they started to use root=/dev/sda3 or something to that effect and it started to break the boxes...


Thank you I did it and it seems to be find, I was a problem with laus package with server crashes, this upgrade install again this package? do I need to remove it?

What do you think about this method to upgrade kernel, I get it on another forum, why there are so many methods?:

up2date -uf kernel-smp kernel-utils

Run that, and if you have kernel-source installed, you can also add kernel-source to the end of that. Check /boot/grub/grub.conf as necessary and reboot. Lastest RHEL3 kernel is 2.4.21-32.0.1.EL
mdelacruz
I did all the procedure, first boot was fine with new kernel, I made the change to lilo file and now uname -a show me:

Linux zion.escomardns.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux

The Old one

lilo.conf is

root@zion [~]# pico -w /etc/lilo.conf

prompt
timeout=50
default=2.4.21-32.0.1.E
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.21-32.0.1.ELsmp
label=2.4.21-32.0.1.E
initrd=/boot/initrd-2.4.21-32.0.1.ELsmp.img
read-only
append="root=LABEL=/"

image=/boot/vmlinuz-2.4.21-27.ELsmp
label=linux
initrd=/boot/initrd-2.4.21-27.ELsmp.img
read-only
append="root=LABEL=/"

image=/boot/vmlinuz-2.4.21-27.EL
label=linux-up
initrd=/boot/initrd-2.4.21-27.EL.img
read-only
append="root=LABEL=/"
Tex
did you reboot
mdelacruz
off course Tex
kamihacker
you have to execute
CODE
lilo
so it writes your new boot parameters to the MBR

regards
mdelacruz
QUOTE (kamihacker)
you have to execute
CODE
lilo
so it writes your new boot parameters to the MBR

regards


Excelent, that was the problem, thank you guys
kamihacker
you're welcome

have a good one
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.