Description of Problem:
Service Request 203939 has been Updated
Incident Number: 203939
Customer Name: DON KENNEDY
Customer Number: 389721
Date Opened: Apr 06, 2002 04:15
Date Changed: Apr 08, 2002 14:08
Red Hat Tech: Philip
Your Red Hat product:
Red Hat Linux 7.2 (RHF0044US)
Summary of your problem:
bug in /sbin/installkernel script
Description of your problem:
This is low priority for me, more of an irritant than an issue at this point.
My recent 7.2 install set Grub as the boot manager. A few days ago, I
downloaded the kernel 2.4.9-31 source package so I could do a bit of tuning to
my installed 2.4.9-31 kernel configuration. All went well until the "make
install" step. This one did not finish cleanly - it wasn't able to run lilo (!) because
/etc/lilo.conf didn't exist. Well, no kidding :-).
After some digging in the build files in /usr/src/linux-2.4/arch/i386/boot, I
found install.sh, which calls /sbin/installkernel if it exists. It does. Installekernel
has as its last line
if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
And that is the source of the failure.
Why does /sbin/installkernel try to run lilo when the bootloader is Grub? It
seems like the better test would be to see if /etc/lilo exists, and if not, then
check for /boot/grub/menu.lst, and if *that* exists, modify it appropriately.
- Don Kennedy
Our latest response:
Re: kernel issue
I advice you to pass this to our developers. You are encouraged to post this
issue to our bugzilla site, because that is where our developers are working on
known issues and bugs on the system. The url is:
Should you have other concerns, please feel free to write us back.
Version-Release number of selected component (if applicable): kernel 2.4.9-31
How Reproducible: Every time
Steps to Reproduce: See the above report.
Actual Results: kernel "make install" failed to run lilo.
Expected Results: "make install" would run without errors.
Additional Information: bootloader for 7.2 is Grub, not lilo.
The version of the mkinitrd package on my system is mkinitrd-3.2.6-1 .
installkernel in 7.3 supports (only) grub
this is only a partial fix, as lilo doesn't work now
*** This bug has been marked as a duplicate of 53557 ***