Bug#544731: raid0 lvm2 grub2 Installation fails when grub tries to install in lvm /boot

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Fri Apr 1 11:33:28 UTC 2011

On 01.04.2011 01:13, Liontos Aristotelis wrote:
> I guess you mean dd if=/dev/mapper/ananias-root of=first64K bs=1024
> count=64 (partition ? on an raid + lvm config ?)
> I have to retest the config because grub-pc is updated to 1.99~rc1-8
> and grub-probe -t abstraction -d /dev/mapper/ananias-root gives me a
> different error
> root at ananias:~# grub-probe -t abstraction -d /dev/mapper/ananias-root
> error: unknown LVM metadata header.
> raid mdraid1x lvm
Yes, this indicates that it should work now. However, it also seems that
original bugreport is because one corrupted volume (like your leftover)
stopped LVM scanning altogether (probably some race condition made it
either first or last scanned). Attached patch will fix it. Note: error
message is legitimate and won't go away with this patch. To fix the
basic problem you need to clear the stale signature but it's potentially
dangerous operation and with the fix the effects should be reduced to a
single error message.
> thnx
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel

Vladimir 'φ-coder/phcoder' Serbinenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm-skip-damaged.diff
Type: text/x-diff
Size: 350 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110401/60ac8d5c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110401/60ac8d5c/attachment.pgp>

More information about the Pkg-grub-devel mailing list