Im trying to update the kernel on a cpanel server. I ran through the process but after reboot....still using the old kernel.
Current kernel - 2.4.18-3
Latest kernel from up2date - 2.4.18-19.7.x
I ran up2date and made sure that i was either using grub or lilo .....checked im running bootloader ....grub it is then.
I copied grub.conf to grub.conf.old to make sure just in case i have an original
On with the update.....
rpm -ivh kernel*
installed fine no problems
rpm -q kernel shows both kernels installed.
pico /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-19.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-19.7.x ro root=/dev/hda7
initrd /initrd-2.4.18-19.7.x.img
title Red Hat Linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda7
initrd /initrd-2.4.18-3.img
OK....so grub has picked up the new kernel....
I gracefully reboot the server
uname -a shows the old kernel rather than the new one.
so what have i missed? some editing of the grub conf?
Current kernel - 2.4.18-3
Latest kernel from up2date - 2.4.18-19.7.x
I ran up2date and made sure that i was either using grub or lilo .....checked im running bootloader ....grub it is then.
I copied grub.conf to grub.conf.old to make sure just in case i have an original
On with the update.....
rpm -ivh kernel*
installed fine no problems
rpm -q kernel shows both kernels installed.
pico /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-19.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-19.7.x ro root=/dev/hda7
initrd /initrd-2.4.18-19.7.x.img
title Red Hat Linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda7
initrd /initrd-2.4.18-3.img
OK....so grub has picked up the new kernel....
I gracefully reboot the server
uname -a shows the old kernel rather than the new one.
so what have i missed? some editing of the grub conf?