Re: LILO: Warning: /dev/sda is not on the first disk

2000-09-09 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-

On Sat, 9 Sep 2000, Nate Amsden wrote:

> /dev/hda is the first disk.  to boot off of /dev/sda you need to
> probably reconfigure your BIOS or something to do it, or install LILO to
> the MBR on /dev/hda.

Yeah, I actually did that before I received this email, but after I asked
the original question.  It works fine, as expected.  Now, of course, I'm
left wondering *why* is this the case?  I truly made *no* BIOS changes.  I
had beed using boot=/dev/sda for over a year with no problems at
all.  It's just when I added a new network card that this happened.

I suppose it's more a mater of curiosity at this point than anything else,
since boot=/dev/hda works.  It's still very weird, though.

noah

 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBObrFjodCcpBjGWoFAQFiPgP/erWWw4qdf2dnSYLzFIVEA56c5s+roR8O
dAJbHZ5TIa82kbIgpWoL++Bm400ObPL7sEHX/RMMyT6OA8e6ZXpXLApU3kee64CN
QZH9Zj9gnI9AWOPZv/7iCs7qvPYqHQV4MAY9XUsY6GRqd111XLe4WMWSHjLOY2Ys
JhTMucIjPxE=
=i4HR
-END PGP SIGNATURE-



Re: LILO: Warning: /dev/sda is not on the first disk

2000-09-09 Thread brian moore
On Sat, Sep 09, 2000 at 02:48:02PM -0400, Noah L. Meyerhans wrote:
> Can anybody shed some light on the error message above?  I get it whenever
> I run LILO now, and the system won't boot from the hard drive.  The only
> change to this system was a new network card (there are now 2) and the new
> kernel.  The kernel works fine, as I have installed LILO on a floppy and
> can boot with no trouble.
> 
> Here are some details:
> SCSI controller ID is 7
> sda SCSI id 0
> all other SCSI disks disabled as part of my debugging
> 
> hda is an IDE HD, no bootable partitions
> hdb is an IDE CDROM
> 
> so...what is the "first disk"?  The system used to boot from /dev/sda just
> fine, and the problem really seems to have something to do with the second
> network card I added.

The BIOS (which LILO uses to load the kernel) numbers disks as 0x80 for
the first drive and 0x81 for the second.

The catch with a mixed scsi/ide setup is that the "SCSI BIOS" inserts
itself into the call chain and fondles those numbers (usually) so that
the SCSI drive is the first drive from the BIOS perspective, even if
Linux can't see it.

So you have to convince LILO of two things:
  1) it should write the boot loader to the SCSI drive
  2) it should ask the BIOS to load from device 0x80 (which should be
 the scsi drive).

You do this in lilo.conf:

disk = /dev/sda
   bios = 0x80

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.



Re: LILO: Warning: /dev/sda is not on the first disk

2000-09-09 Thread Nate Amsden
"Noah L. Meyerhans" wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> 
> Can anybody shed some light on the error message above?  I get it whenever
> I run LILO now, and the system won't boot from the hard drive.  The only
> change to this system was a new network card (there are now 2) and the new
> kernel.  The kernel works fine, as I have installed LILO on a floppy and
> can boot with no trouble.
> 
> Here are some details:
> SCSI controller ID is 7
> sda SCSI id 0
> all other SCSI disks disabled as part of my debugging
> 
> hda is an IDE HD, no bootable partitions
> hdb is an IDE CDROM
> 
> so...what is the "first disk"?  The system used to boot from /dev/sda just
> fine, and the problem really seems to have something to do with the second
> network card I added.
> 
> TIA for the help.
> noah

/dev/hda is the first disk.  to boot off of /dev/sda you need to
probably reconfigure your BIOS or something to do it, or install LILO to
the MBR on /dev/hda.

i had a similar configuration on a BP6, boot drive was SCSI but i had
IDE and LILO gave the same message, but i had the bios configured to
boot from the scsi so there was no trouble.

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]