Bug 63737 - bug in /sbin/installkernel script
Summary: bug in /sbin/installkernel script
Status: CLOSED DUPLICATE of bug 53557
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mkinitrd
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-18 05:18 UTC by Need Real Name
Modified: 2007-03-27 03:52 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2002-04-20 04:54:08 UTC

Attachments (Terms of Use)

Description Need Real Name 2002-04-18 05:18:43 UTC
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

Dear Sir,

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 
source package 

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.

Comment 1 Need Real Name 2002-04-20 04:54:04 UTC
The version of the mkinitrd package on my system is mkinitrd-3.2.6-1 .

Comment 2 Erik Troan 2002-05-21 22:34:41 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.