[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: booting from hdb with lilo



j smith wrote:
> 
> thanks!
> 
> i have set boot sequence to "D,A,SCSI" in BIOS

This is most likely the problem. When you change your BIOS boot order
like that, you are moving the drives around on Lilo. If you want to do
it that way, you'll need to reinstall Lilo with the correct options 
for that configuration. 

In other words, with a normal BIOS boot order (like C, A, SCSI), Lilo
sees /dev/hda as BIOS drive 80h and /dev/hdb as BIOS drive 81h. But when
you change to the boot order you're trying to use, Lilo then sees the
drives reversed (swapped), and it can find it's stuff on your Linux 
partition - because it's looking on the wrong drive.

In your /etc/lilo.conf file, you would need something like this:

disk=/dev/hdb   
   bios=0x80    

That tells Lilo that the drive it is seeing as /dev/hdb when you are
installing Lilo (with the 'lilo' command), will be BIOS drive 80h at
boot time.

Since you are using Woody, that version of Lilo (22.2) still requires
this. Starting with version 22.5 (Sarge uses 22.6), Lilo is able to
automatically figure this out on its own.

See the man page page for lilo.conf for more information on the Lilo
options, and there are also HOWTO documents on it that a google search
should bring up - or just go to www.tldp.org to find them.

Tom



Reply to: