Wonderful, this is all becoming clear now, thanks Mikkel.  More
interspersed below.


"Mikkel L. Ellertson" wrote:
> 
> Ok, this tells me a lot more about what is going on.  Now, does the
> system boot off the SCSI drive, or the IDE drive?

The IDE drive.

> difference on how to fix this problem.  From the sounds of things, you
> are booting off the IDE drive, with /boot on the SCSI drive.

Correct.

> If this is
> the case, then adding the IDE drive will mess up LILO, because the BIOS
> number of the drives changes.
> 
> If you have a BIOS option of booting off the SCSI drive, then you can
> fix LILO so it will install and boot off the SCSI drive with no
> problems.  Adding the following lines to /etc/lilo.conf and running lilo
> fill write the boot loader to the SCSI drive, and let it boot.
> 
> boot=/dev/sda
> disk=/dev/sda
> bios=0x80

I've revisited the lilo.conf manpage, but I'm still a bit confused
here.  From lilo.conf(5) it seems that the disk numbering from the BIOS
can be unpredictable, is that correct?

> This tells lilo the BIOS mapping of the drives.
> 
> If you are booting off the IDE drive, then the BIOS mapping with one IDE
> drive is:
> 
> 0x80    1st IDE drive.
> 0x81    1st SCSI drive.
> 
> When you add another IDE drive, it changes to:
> 
> 0x80    1st IDE drive.
> 0x81    2nd IDE drive.
> 0x82    1st SCSI drive.

This now makes perfect sense.

Might this also explain why I was never able to boot from my SCSI drive
in the first place?  I set up lilo.conf to specify the SCSI disk as the
boot disk, set my SCSI BIOS to boot that drive, and enabled the "Boot
from SCSI" option on my motherboard (no onboard SCSI, I'm using an
Adaptec PCI card).  The system would wake up, successfully load the SCSI
BIOS, report that a system image had been found on scsi0, and then sit
there; no LILO, no LI, nothing.  Different error but given that I had
such a profound misunderstanding of the way LILO works I'm wondering if
I might have been having LILO problems all along?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to