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

Re: Lilo boot from second drive?



If you're trying to do what I think you're trying to do (make
the second (Linux) hard drive your default boot drive while allowing
the choice of booting on the first (Gatesjunk) drive, I just
(finally after a knock-down drag-out) solved that problem...
(it's actually documented more or less).

You have to fix the BIOS so it boots off the second drive (but
it sounds like you already did that).

Then you have to set up "lilo.conf"...  there are a couple of
tricks:

First, you need to inform LILO that the first HD BIOS vector actually
point at the second HD:

# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.

#disk=/dev/sda
#    bios=0x80
disk=/dev/hdc
    bios=0x80

(I'm assuming you've got the rest of "lilo.conf" right)

Then, you have to *reverse* the BIOS vector mapping *for the case where
you're using LILO on the *second* drive to boot the OS on the
*first* drive.

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.

other=/dev/hda
	label=Gatesjunk
	map-drive=0x80
		to=0x81
	map-drive=0x81
		to=0x80

If you don't understand this stuff, you'd better read up on it to make
sure you get the settings right for YOUR system; don't trust my entries
verbatim.

That "Screen Full of 01's" dump that you're getting is well known.  try
plugging LILO 01010101010101 into a search engine.



Reply to: