Skip to contentSkip to conversation

Can't boot from /dev/md0 (RAID-1)

DISCUSSION Roy Sigurd Karlsbakk 3 participants 3 messages Jun 30, 2002 MD RAID

lore
Share & tools
lore
#0 lore raw

I hope this is not OT - didn't find any LILO mailing list. after trying virtually everything - can anyone help me with a tip?

Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on /dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still doesn't help me. lilo just tells me "L 99 99 99 99 ..." some half a page, and then stops.I'm trying. All the time it prints this, it seems to be searching the floppy for some reason.

The lilo.conf suggested by the above HOWTO, is this

# lilo.conf.hda - primary ide master
disk=/dev/md0
bios=0x80
sectors=63
heads=16
cylinders=39770
partition=/dev/md1
start=63
boot=/dev/hda
map=/boot/map
install=/boot/boot.b

image=/boot/bzImage

        root=/dev/md0
        read-only
        label=LinuxRaid

sector/head/cylinder is corrected to the actual data reported from 'fdisk -ul'.

When trying to set. boot=/dev/hdm (which is the first drive on the on-board chipset), lilo installs, and I get LI instead of L 99 99 ... Same result with LBA32.

I also have another box with Linux, running SuSE 7.2 (LILO version 21.7-5) with RAID-1 on two drives. Here everything works fine

thanks for all help

roy

Signature · 4 lines
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.
#1 lore raw
Quoted 7 lines · Roy Sigurd Karlsbakk

I hope this is not OT - didn't find any LILO mailing list. after trying virtually everything - can anyone help me with a tip?

Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on /dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still

please someone update that blasted howto, lilo has been supporting boot from md for ages.

use:
boot=/dev/md0
map=/boot/map
install=/boot/boot.b

image=/boot/bzImage

    root=/dev/md0
    read-only
    label=LinuxRaid
Signature · 6 lines
Luca Berra -- [email protected]
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
#2 lore raw
Quoted 10 lines · Luca Berra
Quoted 7 lines · Roy Sigurd Karlsbakk

I hope this is not OT - didn't find any LILO mailing list. after trying virtually everything - can anyone help me with a tip?

Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on /dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still

please someone update that blasted howto, lilo has been supporting boot from md for ages.

This has been in the Software-RAID HOWTO since january 2000.

Quoted 5 lines

use:
boot=/dev/md0
map=/boot/map
install=/boot/boot.b

This is indeed the correct way to do things.

Actually, on a Debian box I set up recently I needed to do the following:

boot=/dev/md0
raid-extra-boot=/dev/sda,/dev/sdb

This tells LILO exactly where to write the MBRs - this is not usually needed though.

Signature · 10 lines
................................................................
:   [email protected]   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html