How to config LILO on non-boot disk (b4 using it as boot disk)

How to config LILO on non-boot disk (b4 using it as boot disk)

Post by Jay G. Heise » Thu, 08 May 1997 04:00:00

I recently bought a used Compaq 486/25SX for a home Linux box.  Installed
fine on original 170Meg drive.  I want to replace that drive (throw away
noisy & small old drive) with a spare 550Meg drive I have.  BIOS doesn't
recognize it, so I bought AMI's AMIDISK Extender, which allows recognition
of newer IDE drives.

I strapped the 550M drive as the master drive, popped in the AMI card, its
recognized, and the Linux install went OK, but when I boot, LILO gets
confused and stops at the  partial prompt "LI".

Now, how do I properly config lilo on that drive if I can't boot from that
drive?   I'm having a devil of a time getting my hands on a readable user's
guide for LILO.  I've got a linux laptop at work, but xdvi doesn't work and
a dvi->ascii filter I have won't grok that particular file.  

I believe I have to change lilo.conf on the 550Meg drive and then reinstall

What I did was boot from the original 170 Meg drive, mounted the 550Meg
drive on  /mnt, and then did a chroot so bash thought that /dev/hdb1 was my
root dir.  Then I put the keyword 'linear' into /etc/lilo.conf, ran
/sbin/lilo, it told me it was updating Linux, then I shutdown, took out the
170Meg drive, restrapped the 550M drive as master and rebooted.  Still no

Then I did the same thing, but this time I deleted the word 'linear' and
put in a section:

Still no go.   How can I confirm if the lilo in the MBR on the larger drive
is being updated?     I think my prob is that I'm not correctly updating
it.  Should be possible, after all, the original install boots off one
drive and installs LILO on another.   man lilo seems vague on this and I
can't find the complete lilo docs in a form that I can read.

(email appreciated)
Jay Heiser


1. Boot slice on non-boot disks

Hi all,

I have an X4200 with disks in it, two of which I plane to use
for data only.  WHen I use format to set up the slices I see
that slice 8 is dedicated to boot, and it appeasr to be one
cylinder in size.  Given that I never intend to be able to boot
from this disk, is it OK for me to remove that slice?  The format
command makes it kinda trick to do so, as it won't let me select
slice 8 or start slice 0 from cylinder 0.

Rich Teer, SCNA, SCSA, OpenSolaris CAB member

Rite Online Inc.

Voice: +1 (250) 979-1638

2. ES688 AudioDrive (non plug and play)

3. Cannot boot using LILO from Linux boot disk.

4. LinuxSSN question

5. Trying to setup a boot disk for linux 1.2.3/non-system disk error

6. I have to change OS to Windows98, help me!

7. Problem while booting linux through LILO or boot-disk

8. Solaris 2.5 ufsdump problems

9. Lilo problems ***** Disappearing third disk after booting from second disk

10. LILO vanished on win/lin dual-boot, boot disk gives kernel panic

11. *NEW* boot disk won't, *OLD* boot disk will!

12. Can't create lilo boot floppy for 3rd SCSI disk but can boot it