From: "Miguel Cabeça" <cabeca@ist.utl.pt>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1
Date: Fri Feb 27 21:50:11 2004 [thread overview]
Message-ID: <404001F1.9060707@ist.utl.pt> (raw)
In-Reply-To: <403FFCAE.7020300@ist.utl.pt>
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
next prev parent reply other threads:[~2004-02-28 2:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-27 21:27 [linux-lvm] LILO (with Saout's patch) + /boot on LVM2 over Software RAID1 Miguel Cabeça
2004-02-27 21:50 ` Miguel Cabeça [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-01 14:14 Miguel Cabeça
2004-03-01 14:14 Miguel Cabeça
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404001F1.9060707@ist.utl.pt \
--to=cabeca@ist.utl.pt \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox