Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 11093

Summary: add IDE drive to SCSI only system, rerun of lilo won't boot
Product: [Retired] Red Hat Linux Reporter: Brock Organ <borgan>
Component: liloAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: jeff, lehner, msw
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-09 00:52:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brock Organ 2000-04-28 13:42:32 UTC
This is taken from comments made by jeff.edu for bug 10645 and
reproduced in the test lab:

"Lilo is unfortunately still not very good at dealing with combined
scsi/ide setups.

It just blithely assumes the ide disk will be first.  If you just add an
ide disk to a previously scsi-only system (and your bios is smart enough to
still boot from the scsi disk), you are in for trouble.  The next time you
type 'lilo', it prints the innocent sounding "Warning: /dev/sda is not on
the first disk", and then proceeds to totally f-up sda's boot sector (it be
set to load linux from the location on hda where the boot file on sda is
actually located).
 It will be a while before you successfully re-boot your system after you
do this."

Comment 1 Brock Organ 2000-04-28 13:44:59 UTC
Here is the output from running LILO as described above:

% lilo -v
Warning: /dev/sda is not on the first disk
LILO version 21, Copyright 1992-1998 Werner Almesberger

Reading boot sector from /dev/sda
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.2.14-5.0
Mapping RAM disk /boot/initrd-2.2.14-5.0.img
Added linux *
/boot/boot.0800 exists - no backup copy made.
Writing boot sector.
%

Upon reboot, only LI of the LILO boot prompt is displayed...

Comment 2 Need Real Name 2001-05-09 00:52:38 UTC
I had this problem, when adding an LS120 (IDE Floppy drive) to my system. The
only way out for me was to use the rescue disk, re-write the boot sector with
lilo and then remove the IDE support (unfortunately) from the kernel.

Comment 3 Jeremy Katz 2002-06-04 05:10:04 UTC
Unfortunately, there's not much you can do on x86 systems as there isn't a
reliable way to get this information