Re: raid1 and lilo second disk doesn't boot
hi ya rudy
your setup looks good ...
what is your partition type from "fdisk /dev/sda"
- it should be raid ( linux raid type )
lilo.conf looks correct for boot= and root=
( "correct" == the way i do it and works for me )
- nothing wrong with lilo.conf
- other last issue is that is just a dumb lilo problem
and nothing to do with raid
( a few painful experiments )
- try using "linear" instead of lba32
- you can also try removing "install="
- you should remove "raid-extra-boot"
( i haven't seen it before )
- it's a good test you're doing to disconnect sda
to see if its boots .. also repeat with a disconnected sdb
- and verify that written data to one disks
is sync'd to the other disk when its "reconnected"
watch it syncing with "cat /proc/mdstat"
- last option is to use syslinux or grub instead of lilo
c ya
alvin
On Sun, 28 Sep 2003, Rudy Gevaert wrote:
> Hello,
>
> I have two scsi discs in a raid1 setup:
>
> md1: sda1 and sdb1
> md2: sda2 and sdb2
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/md2 880M 452M 384M 55% /
> /dev/md1 13M 2.7M 10M 21% /boot
>
> The systems boots fine when sda or both disks are attached. When sda
> is not attached the raid doesn't boot from sdb. I get LI 01 01 01 01 01...
>
> When I boot from floppy with only the second disk attached everything
> works ok.
>
> schamper:/home/rudy# cat /etc/lilo.conf
> lba32
> boot=/dev/md1
> raid-extra-boot=/dev/sda,/dev/sdb
> root=/dev/md2
> install=/boot/boot.b
> map=/boot/map
> vga=normal
> delay=20
> image=/vmlinuz
> label = Linux
> read-only
>
> I used mdadm to setup the raid and have raid support compiled into the
> kernel (NOT as module).
>
> What did I do wrong in my lilo.conf?
>
> Thank you ever so much.
Reply to: