First of all, let me say that I followed the recently posted instructions
to this list on how to take an active drive and mirror it without having
to backup and then restore the data.  It worked flawlessly!  Thanks to
everyone who contributed information.

After that, I modified LILO to mount the root partition off of /dev/md0,
ran lilo (it worked), and rebooted fine.  Less the 48 hours later I am
trying to rerun lilo on the same machine and it won't run.  The only
change I made were to delete the now useless boot targets for the old
drives/partitions (that no longer exist).  This isn't critical right this
instant but I am worried I won't be able to do routine things such as,
say, upgrade my kernel without using a boot floppy (yuck).

I am running Red Hat 6.2.

Here is my lilo.conf:

boot=/dev/hda
disk=/dev/sdf 
        bios=0x81
disk=/dev/sdg
        bios=0x82
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.14-5.0
        label=linux
        initrd=/boot/initrd-2.2.14-5.0.img
        read-only
        root=/dev/md0

The mirror is between 2 partitions on /dev/sdf and /dev/sdg (one for /
and one for /boot).  

When I run lilo I get this:

[root@skynet /etc]# lilo -v
LILO version 21, Copyright 1992-1998 Werner Almesberger

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Sorry, don't know how to handle device 0x0901

What should I do here?  I know that the "standard" LILO needs the Red Hat
patches to work but I am running Red Hat and I'm using the same LILO I did
immediatly after making the RAID.

Thanks in advance for any help.

Sean

Reply via email to