I searched these forums and found a way to update kernel using up2date:
up2date -noX -f kernel
My old kernel was 2.4.18-27.7 and the new one I tried to update with was 2.4.20-13.7.
So I went ahead and issued the above up2date command. It did download the kernel rpm but didnt seem to install it. So I went to /var/spool/up2date and issued
rpm -ivh kernel-2.4.20-13.7.i686.rpm
After that was complete I checked /etc/grub.conf and surely there it was:
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number:
up2date -noX -f kernel
My old kernel was 2.4.18-27.7 and the new one I tried to update with was 2.4.20-13.7.
So I went ahead and issued the above up2date command. It did download the kernel rpm but didnt seem to install it. So I went to /var/spool/up2date and issued
rpm -ivh kernel-2.4.20-13.7.i686.rpm
After that was complete I checked /etc/grub.conf and surely there it was:
Just to make sure, I edited my lilo.conf and made this the default label:default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-13.7)
root (hd0,0)
kernel /vmlinuz-2.4.20-13.7 ro root=/dev/hda2
initrd /initrd-2.4.20-13.7.img
title Red Hat Linux (2.4.18-27.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda2
initrd /initrd-2.4.18-27.7.x.img
So basically, this guaranteed that I will boot into 2.4.20...reboot...30 seconds....image=/boot/vmlinuz-2.4.20-13.7
label=linux
root=/dev/hda2
read-only
initrd=/boot/initrd-2.4.20-13.7.img
I checked dmesg:[email protected] [/var/spool/up2date]# uname -a
Linux hostname.mydomain.com 2.4.18-27.7.x #1 Fri Mar 14 06:44:53 EST 2003 i686 unknown
It seems that the new kernel just refuses to boot. ANy advice would be appreciated....[email protected][/var/spool/up2date]# dmesg
Linux version 2.4.18-27.7.x ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112)) #1 Fri Mar 14 06:44:53 EST 2003
.
.
.
Kernel command line: auto BOOT_IMAGE=linux ro root=302 BOOT_FILE=/boot/vmlinuz-2.4.18-27.7.x
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number: