Can't boot from /dev/md0 (RAID-1) (more info)
see below for my original post
I've uploaded some files to http://karlsbakk.net/bugs/ that may help to explain the problem. Still - I can't boot from nothing but floppy.
thanks
roy
Quoted 38 lines · Roy Sigurd Karlsbakk
hi
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/md0on RAID-1 on/dev/hda1and/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.bimage=/boot/bzImage
root=/dev/md0 read-only label=LinuxRaidsector/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.
Quoted 6 lines
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
--
Roy Sigurd Karlsbakk, Datavaktmester
Computers are like air conditioners.
They stop working when you open Windows.
-------------------------------------------------------
Signature · 4 lines
Roy Sigurd Karlsbakk, Datavaktmester Computers are like air conditioners. They stop working when you open Windows.
Quoted 7 lines · Roy Sigurd Karlsbakk
see below for my original post
I've uploaded some files to http://karlsbakk.net/bugs/ that may help to explain the problem. Still - I can't boot from nothing but floppy.
thanks
uhm,
some versions of lilo used to write to the mbr when told boot=/dev/md? others to the first sector of the container partition.
you better put a standard mbr on the disk and mark as active the partitions that are part of md0
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
hi ya
how was the floppy made ??
- does it have a initrd file ??
- initrd is notlisted in your lilo.conf.hda
- is the kernel on the bootable floppy the same as that referenced in lilo.conf ?
i'd take out all those explicit defines and see if it helps
simplified(?) lilo.conf
boot=/dev/md0 - not sure about boot= for /dev/hda vs /dev/md0 map=/boot/map install=/boot/boot.b prompt timeout=50 lbad32 image=/boot/vmlinuz root=/dev/md0 label=raid read-only
-- you'd also want to use /dev/hda and /dev/hdc ...
c ya
alvin
Quoted 5 lines · Roy Sigurd Karlsbakk
see below for my original post
I've uploaded some files to http://karlsbakk.net/bugs/ that may help to explain the problem. Still - I can't boot from nothing but floppy.
Please listen
I've tried all this
see the dmesg output
Quoted 34 lines · Alvin Oga
hi ya
how was the floppy made ??
- does it have a initrd file ??
- initrd is notlisted in your lilo.conf.hda
- is the kernel on the bootable floppy the same as that referenced in lilo.conf ?i'd take out all those explicit defines and see if it helps
simplified(?) lilo.conf
boot=/dev/md0 - not sure about boot= for /dev/hda vs /dev/md0 map=/boot/map install=/boot/boot.b prompt timeout=50 lbad32 image=/boot/vmlinuz root=/dev/md0 label=raid read-only-- you'd also want to use
/dev/hdaand/dev/hdc...c ya
alvinQuoted 4 lines · Roy Sigurd Karlsbakk
see below for my original post
I've uploaded some files to http://karlsbakk.net/bugs/ that may help to explain the problem. Still - I can't boot from nothing but floppy.
Signature · 4 lines
Roy Sigurd Karlsbakk, Datavaktmester Computers are like air conditioners. They stop working when you open Windows.