I recently upgraded my RH7.1 to a newer kernel. I have two identical servers and applied the same kernel package to both.
The first server (good) boots to the new kernel but the second (nogood) one keeps booting to the old kernel. I noticed that on both servers some of the links in /boot seem to be pointing to the old kernel but the first server boots to the new kernel as is. The only link that is different is the System.map one. I tried removing and recreating this link on the nogood server to point to the new kernel like it does on the good server. I reran lilo and checked the link before reboot and everything looked ok but when I rebooted, lilo loaded the old kernel (2.3.6) and the System.map link in /boot was pointed back to the old kernel. I figured that maybe manually changing this was the wrong way to go so I attempted to rerun rpm to remove and reinstall this kernel package to let it rerun its scripts and make the necessary changes. When I attempted to remove/erase the package I got the message that the package was not installed. When I attempted to add/install the package I got the message that the package was already installed. I'm unsure of where this leaves me and what the best thing to try next might be. [root@nogood /boot]# ls -lh /boot total 14M -rw-r--r-- 1 root root 512 Jan 11 11:20 boot.0800 -rw-r--r-- 1 root root 512 Oct 15 2001 boot.0803 -rw-r--r-- 1 root root 512 Jan 10 20:04 boot.0863 -rw-r--r-- 1 root root 5.7k Feb 23 2001 boot.b -rw-r--r-- 1 root root 612 Feb 23 2001 chain.b -rw-r--r-- 1 root root 357k Apr 23 09:02 initrd-2.4.3-12dellsmp.img -rw-r--r-- 1 root root 344k Jan 11 10:45 initrd-2.4.3-6.img -rw-r--r-- 1 root root 346k Jan 11 10:46 initrd-2.4.3-6smp.img -rw-r--r-- 1 root root 358k Jul 1 10:59 initrd-2.4.9-34smp.img lrwxrwxrwx 1 root root 14 Jul 2 10:19 kernel.h -> kernel.h-2.4.9 -rw-r--r-- 1 root root 405 Jul 2 16:25 kernel.h-2.4.9 drwxr-xr-x 2 root root 12k Oct 15 2001 lost+found -rw------- 1 root root 57k Jul 2 16:18 map -rw-r--r-- 1 root root 23k Feb 23 2001 message -rw-r--r-- 1 root root 21k Feb 23 2001 message.ja lrwxrwxrwx 1 root root 19 Jul 2 16:16 module-info -> module-info-2.4.3-6 -rw-r--r-- 1 root root 13k Dec 17 2001 module-info-2.4.3-12dellsmp -rw-r--r-- 1 root root 13k May 16 2001 module-info-2.4.3-6 -rw-r--r-- 1 root root 13k May 16 2001 module-info-2.4.3-6smp -rw-r--r-- 1 root root 13k Jun 1 05:22 module-info-2.4.9-34smp -rw-r--r-- 1 root root 640 Feb 23 2001 os2_d.b lrwxrwxrwx 1 root root 18 Jul 2 16:25 System.map -> System.map-2.4.3-6 -rw-r--r-- 1 root root 424k Dec 17 2001 System.map-2.4.3-12dellsmp -rw-r--r-- 1 root root 417k May 16 2001 System.map-2.4.3-6 -rw-r--r-- 1 root root 423k May 16 2001 System.map-2.4.3-6smp -rw-r--r-- 1 root root 449k Jun 1 05:22 System.map-2.4.9-34smp -rwxr-xr-x 1 root root 2.2M Dec 17 2001 vmlinux-2.4.3-12dellsmp -rwxr-xr-x 1 root root 2.1M May 16 2001 vmlinux-2.4.3-6 -rwxr-xr-x 1 root root 2.2M May 16 2001 vmlinux-2.4.3-6smp lrwxrwxrwx 1 root root 15 Jul 2 16:16 vmlinuz -> vmlinuz-2.4.3-6 -rw-r--r-- 1 root root 819k Dec 17 2001 vmlinuz-2.4.3-12dellsmp -rw-r--r-- 1 root root 775k May 16 2001 vmlinuz-2.4.3-6 -rw-r--r-- 1 root root 816k May 16 2001 vmlinuz-2.4.3-6smp -rw-r--r-- 1 root root 1.0M Jun 1 05:22 vmlinuz-2.4.9-34smp [root@good /boot]# ls -lh total 14M -rw-r--r-- 1 root root 512 Jan 11 11:20 boot.0800 -rw-r--r-- 1 root root 512 Oct 15 2001 boot.0803 -rw-r--r-- 1 root root 512 Jan 10 20:04 boot.0863 -rw-r--r-- 1 root root 5.7k Feb 23 2001 boot.b -rw-r--r-- 1 root root 612 Feb 23 2001 chain.b -rw-r--r-- 1 root root 357k Apr 23 09:02 initrd-2.4.3-12dellsmp.img -rw-r--r-- 1 root root 344k Jan 11 10:45 initrd-2.4.3-6.img -rw-r--r-- 1 root root 346k Jan 11 10:46 initrd-2.4.3-6smp.img -rw-r--r-- 1 root root 358k Jul 1 10:59 initrd-2.4.9-34smp.img lrwxrwxrwx 1 root root 14 Jul 1 10:58 kernel.h -> kernel.h-2.4.9 -rw-r--r-- 1 root root 421 Jul 1 12:58 kernel.h-2.4.9 drwxr-xr-x 2 root root 12k Oct 15 2001 lost+found -rw------- 1 root root 57k Jul 1 13:00 map -rw-r--r-- 1 root root 23k Feb 23 2001 message -rw-r--r-- 1 root root 21k Feb 23 2001 message.ja lrwxrwxrwx 1 root root 19 Oct 15 2001 module-info -> module-info-2.4.3-6 -rw-r--r-- 1 root root 13k Dec 17 2001 module-info-2.4.3-12dellsmp -rw-r--r-- 1 root root 13k May 16 2001 module-info-2.4.3-6 -rw-r--r-- 1 root root 13k May 16 2001 module-info-2.4.3-6smp -rw-r--r-- 1 root root 13k Jun 1 05:22 module-info-2.4.9-34smp -rw-r--r-- 1 root root 640 Feb 23 2001 os2_d.b lrwxrwxrwx 1 root root 22 Jul 1 12:58 System.map -> System.map-2.4.9-34smp -rw-r--r-- 1 root root 424k Dec 17 2001 System.map-2.4.3-12dellsmp -rw-r--r-- 1 root root 417k May 16 2001 System.map-2.4.3-6 -rw-r--r-- 1 root root 423k May 16 2001 System.map-2.4.3-6smp -rw-r--r-- 1 root root 449k Jun 1 05:22 System.map-2.4.9-34smp -rwxr-xr-x 1 root root 2.2M Dec 17 2001 vmlinux-2.4.3-12dellsmp -rwxr-xr-x 1 root root 2.1M May 16 2001 vmlinux-2.4.3-6 -rwxr-xr-x 1 root root 2.2M May 16 2001 vmlinux-2.4.3-6smp lrwxrwxrwx 1 root root 15 Oct 15 2001 vmlinuz -> vmlinuz-2.4.3-6 -rw-r--r-- 1 root root 819k Dec 17 2001 vmlinuz-2.4.3-12dellsmp -rw-r--r-- 1 root root 775k May 16 2001 vmlinuz-2.4.3-6 -rw-r--r-- 1 root root 816k May 16 2001 vmlinuz-2.4.3-6smp -rw-r--r-- 1 root root 1.0M Jun 1 05:22 vmlinuz-2.4.9-34smp [root@nogood patch]# rpm -e kernel-smp-2.4.9-34.i686.rpm error: package kernel-smp-2.4.9-34.i686.rpm is not installed [root@nogood patch]# rpm -ivh kernel-smp-2.4.9-34.i686.rpm Preparing... ########################################### [100%] package kernel-smp-2.4.9-34 is already installed [root@nogood /boot]# cat /etc/lilo.conf boot=/dev/sda map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=linux-new append="reboot=bios, smp" image=/boot/vmlinuz-2.4.9-34smp label=linux-new initrd=/boot/initrd-2.4.9-34smp.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-6smp label=linux initrd=/boot/initrd-2.4.3-6smp.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-6 label=linux-up initrd=/boot/initrd-2.4.3-6.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-12dellsmp label=linux-oracle initrd=/boot/initrd-2.4.3-12dellsmp.img read-only root=/dev/sda7 optional [root@good /boot]# cat /etc/lilo.conf boot=/dev/sda map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=linux-new append="reboot=bios, smp" image=/boot/vmlinuz-2.4.9-34smp label=linux-new initrd=/boot/initrd-2.4.9-34smp.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-6smp label=linux initrd=/boot/initrd-2.4.3-6smp.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-6 label=linux-up initrd=/boot/initrd-2.4.3-6.img read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.3-12dellsmp label=linux-oracle initrd=/boot/initrd-2.4.3-12dellsmp.img read-only root=/dev/sda7 optional _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list