Click to See Complete Forum and Search --> : Redhat Update bug


Okie
08-25-2001, 05:45 AM
i have a question, anyone running Redhat 7.1 dualbooting with Win98se, and used the Redhat Update and got that newer kernel version # 2.4.13-12 and if LILO is installed to the masterboot record in Win98se during the install of this kernel it fails to update LILO, so i imagine this is either a bug or the update did not find LILO where it expected it to be...

anyone else have this happen to them???

bdg1983
08-25-2001, 08:30 AM
What exactly is not working properly? You cannot update the Lilo config to boot the new kernel?

If so, then just manually edit /etc/lilo.conf and add a stanza for the new kernel and then run /sbin/lilo to write the changes.

If not, then could you please explain a bit more.

Okie
08-25-2001, 02:16 PM
this is the answer i found from somebody at another discussion board, that is the bug that got me is Up2Date version 2.5.4

-------------------------------------------------------------------------------

*From RedHats page on updateing the kernel: http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html

"Warning

** If you use a version of up2date prior to 2.5.4 to upgrade your kernel, it will not properly update LILO. You will need to manually
** edit /etc/lilo.conf then run lilo -v -v. If you reboot before doing this, you may need to enter rescue mode to fix the
** problem. For more on rescue mode under Red Hat Linux 7.1, see
** http://www.redhat.com/support/manuals/RHL-7.1-Manual/customization-guide/rescuemode.html. For earlier versions of Red
** Hat Linux, refer to the Reference Guide for your version of Red Hat Linux at this URL: http://www.redhat.com/support/manuals/


If you are using Red Hat Network to upgrade your kernel, you should not need to follow any of the other instructions in this guide.

By following this guide, you should be able to manually upgrade your Red Hat Linux 4.2 and higher (including 7.x) system to the latest
kernel RPMs on the listed in the correct errata page, available at http://www.redhat.com/support/errata/. This guide will go over what
you will need to manually download and what you will need to write down, helping you move through the various upgrade and
post-upgrade steps to get your system to boot and utilize the new kernel."

Hope that helps.

bdg1983
08-25-2001, 06:39 PM
Do you know what needs to be done to add whatever is necessary to /etc/lilo.conf?

So you are adding an additional kernel to the one you already have and just need to have the option to boot it?

This a a sample from one of the NHF's. You would need to add something like what I have changed in the section 'label=newlinux' and then rerun /sbin/lilo -v -v as Redhat suggested. If you don't have a initrd, then don't add that line.

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.4.??
label=linux
initrd=/boot/initrd-2.2.??.img
read-only
root=/dev/hda#

image=/boot/vmlinuz-2.4.13-12
label=newlinux
initrd=/boot/initrd-2.4.13-12.img
read-only
root=/dev/hda#

other=/dev/hda#
label=win98