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

Re: raid1 and lilo second disk doesn't boot



Have the disks different volume ID?
Check this by issuing:

# lilo -T vol-ID

If not, you must set different volume ID to each disk.
Read README.raid1.gz (from lilo-doc package) and README.volumeID.gz
(from lilo package) for more information. Doing the following will
set different volume ID to your disks:

# lilo -z -M /dev/sda
# lilo -z -M /dev/sdb
# lilo -v

Cheers.


Rudy Gevaert <rudy@zeus.UGent.be> writes:

> 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.
>
> -- 
> Rudy Gevaert                rudy@zeus.UGent.be
> Web page                    http://www.webworm.org
> GNU/Linux user and Savannah hacker http://savannah.gnu.org
> "Many that live deserve death. And some that die deserve life. Can you
> give it to them? Then do not be to eager to deal out death in
> judgement."
>         - Gandalf, Lord of the Rings (J R R Tolkien)
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

-- 
Andres Roldan <aroldan@debian.org>
GPG Key-ID: 0xB29396EB

Attachment: pgpNQCGfuI87U.pgp
Description: PGP signature


Reply to: