[linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
cabeca at ist.utl.pt
Fri Feb 27 21:50:11 UTC 2004
> Can LILO with Saout's device mapper patch boot from an LVM2 /boot over
> software RAID1 ?
> I get the following error when runing lilo:
> Fatal: Sorry, don't know how to handle device 0xfe01
> Does this mean that LILO can only boot from a RAID1 *OR* device-mapper
> device, not both? (LVM2 on top of RAID1)
It seems to me that I have some real problem:
I've undone my LVM2 over RAID1 setup and prepared a new one. I've setup
some LVM2 volumes directly over a /dev/hdc physical volume instead of a
/dev/md0 containing /dev/hda1 and hdc1.
/dev/hdc1 (raid-disk) -->dev/md0 --> /dev/system/ root swap var
/dev/hdc --> /dev/system root swap var
I ran LILO version 22.5.8 (Debian GNU/Linux) with the patches from
backup:/mnt/root# lilo -X
CFLAGS = -O2 -Wall -g -DLILO=0x16c2d41b -DLCF_BDATA -DLCF_DSECS=3
-DLCF_EVMS -DLCF_IGNORECASE -DLCF_LVM -DLCF_ONE_SHOT -DLCF_PASS160
-DLCF_REISERFS -DLCF_REWRITE_TABLE -DLCF_SOLO_CHAIN -DLCF_VERSION
-DLCF_VIRTUAL -DLCF_DEVMAPPER -DLCF_AUTOAUTO -Idebian/kernel-headers
and it gave me the same error!!!!
backup:/mnt/root# lilo -t -C etc/lilo.conf.lvmtest -r .
Fatal: Sorry, don't know how to handle device 0xfe01
If I run lilo from hda2 (no LVM) I get a successful instalation:
backup:/mnt/root# lilo -t -C etc/lilo.conf.lvmtest -r /
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/dm-0' -> '/dev/mapper/system-swap'
Warning: The boot sector and map file are on different disks.
Added ramdisk_LVM *
The boot sector and the map file have *NOT* been altered.
Just to be sure I downloaded lilo 22.5.8 tarball and the patch from
http://www.saout.de/misc/lilo-22.5.8-devmapper.patch, and compiled it
myself. Again the same error. I have devmapper compiled in my 2.6
kernel. I have libdevmapper installed on my system. I have lilo patched
to understand devmapper. What am I doing wrong here? Do you have any clues?
This is my lilo.conf on both roots:
video=aty128fb:1024x768-24 at 76"
More information about the linux-lvm