On 18 Oct 2002, Chuck Liggett wrote:
>Date: 18 Oct 2002 23:02:22 -0400
>From: Chuck Liggett <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Content-Type: text/plain
>List-Id: Discussion of Red Hat Linux 8.0 (Psyche) <psyche-list.redhat.com>
>Subject: new kernel-2.4.18-17.8.0 RPM damages lilo.conf file
>
>Red Hat just released the new Kernel Upgrade for Psyche, so to keep
>my box with the good 'ole green check, I just had to apply them!
>
>Instead of using the default Grub boot loader, I use the lilo boot
>loader.
>
>During the upgrade of my packages, I received an error about Grub
>(which I'm not using), and then when I went to investigate after the
>installation completed, I discovered that the lilo Configuration file
>had lost my Linux entry!
>
>So, if I would have rebooted, I wouldn't have been able to select
>Linux to boot -- and I would have been stuck using some other O/S!
>(Of course, I have emergency boot floppies and plenty of other methods
>of recovering, but still....)
>
>If you're in the same situation, be sure to fix your lilo configuration
>and re-run lilo once you have completed the upgrade of the Kernel pkg!
>
>Regards,
>Chuck
>
>(See Below for Details)
>
># rpm -UvhF hwdata-0.48-1.noarch.rpm kernel-2.4.18-17.8.0.i386.rpm \
^^^^
You hosed things yourself, by using -Uvh on a kernel. You should
NEVER use -Uvh on kernels, and this is _widely_ documented. You
should _always_ perform kernel upgrades by using rpm -ivh, and
never ever with -Uvh.
Using up2date instead also makes things automatically "just work(TM)"
--
Mike A. Harris ftp://people.redhat.com/mharris
OS Systems Engineer
XFree86 maintainer
Red Hat Inc.