Re: Lilo problem
On Wed, 25 Apr 2001, Russell Coker wrote:
> On Friday 20 April 2001 11:40, Przemyslaw Wegrzyn wrote:
> > I have problems booting my system from new HD.
> >
> > I've got:
> > - ABIT KT7
> > - Seagate connected to first channel (as /dev/hda)
> > - CD-ROM as /dev/hdc
> > - new disk (DTLA 307030) connected to HPT370 as /dev/hde
> >
> > I want to boot my system form /dev/hde, ( I want to be able to take
> > /dev/hda away sometimes, and still be able to boot my system, of course
> > after rerunning lilo).
> >
> > If new disk is the only one being seen by BIOS ( Seagate is disabled in
> > bios setup) it works fine - new disk is 0x80 in BIOS.
> > On the other hand when 2 disk are available, LILO stops after "LI".
> > Of course I rerun lilo on every change. I guess it tries to access not the
> > right drive.
> > What will be the bios drive number of my new disk, when both are turned on
> > ? 0x81 ?
>
> 0x81 sounds reasonable, but really it could be anything. The only thing to
> do is to try telling LILO to use 0x81 and see if that makes it boot!
It's already solved (by me :) ) - nobody proposed to put there 0x80. It
works ! Actually, if I setup my BIOS to boot from RAID first , dev/hde
becomes 0x80 and /dev/hda becomes 0x81 ! I guess (not checked) that drive
selected to boot from always becomes 0x80 - that's why DOS knows how to
load itself - it loads itself from 0x80 always !
If U boot from first drive there's no problem , because lilo figures it
out as 0x80.
disk = /dev/hde
bios = 0x80
Voilla !
Well, now it's pretty trivial for me ;) but I've spent much time figuring
it out. Maybe someone should include it in some faq ?
Greetings
-=Czaj-nick=-
Reply to: