* [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
@ 2004-03-01 14:14 Miguel Cabeça
0 siblings, 0 replies; 4+ messages in thread
From: Miguel Cabeça @ 2004-03-01 14:14 UTC (permalink / raw)
To: linux-lvm
Hi,
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)
Thanks in advance.
Miguel Cabe�a
CIIST - IST - Lisboa - Portugal
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
@ 2004-03-01 14:14 Miguel Cabeça
0 siblings, 0 replies; 4+ messages in thread
From: Miguel Cabeça @ 2004-03-01 14:14 UTC (permalink / raw)
To: linux-lvm
Hi,
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)
Thanks in advance.
Miguel Cabe�a
CIIST - IST - Lisboa - Portugal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
2004-02-27 21:27 Miguel Cabeça
@ 2004-02-27 21:50 ` Miguel Cabeça
0 siblings, 0 replies; 4+ messages in thread
From: Miguel Cabeça @ 2004-02-27 21:50 UTC (permalink / raw)
To: linux-lvm
Hi,
> 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.
Before:
/dev/hda1 (failed-disk)-->
/dev/hdc1 (raid-disk) -->dev/md0 --> /dev/system/ root swap var
After:
/dev/hdc --> /dev/system root swap var
I ran LILO version 22.5.8 (Debian GNU/Linux) with the patches from
Cristopher Saout:
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:
default="ramdisk_LVM"
image=/boot/vmlinuz-2.6.3-4
label="ramdisk_LVM"
initrd=/boot/initrd-lvm2-2.6.3-4.gz
append="root=/dev/ram0 lvm2root=/dev/system/root
video=aty128fb:1024x768-24@76"
read-only
Thanks
Miguel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
@ 2004-02-27 21:27 Miguel Cabeça
2004-02-27 21:50 ` Miguel Cabeça
0 siblings, 1 reply; 4+ messages in thread
From: Miguel Cabeça @ 2004-02-27 21:27 UTC (permalink / raw)
To: linux-lvm
Hi,
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)
Thanks in advance.
Miguel Cabe�a
CIIST - IST - Lisboa - Portugal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-28 2:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 14:14 [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1 Miguel Cabeça
-- strict thread matches above, loose matches on Subject: below --
2004-03-01 14:14 Miguel Cabeça
2004-02-27 21:27 Miguel Cabeça
2004-02-27 21:50 ` Miguel Cabeça
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.