I think this is not a bug but a valid warning.

See 
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350<https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/comments/14>

and what I did to fix it
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/comments/14

Regards,

Ian.


On 14 October 2012 09:22, Øyvind Hvidsten <invalid.nore...@gnu.org> wrote:

> URL:
>   <http://savannah.gnu.org/bugs/?37569>
>
>                  Summary: unknown LVM metadata header
>                  Project: GNU GRUB
>             Submitted by: bolt
>             Submitted on: Sun 14 Oct 2012 08:22:34 AM GMT
>                 Category: Configuration
>                 Severity: Major
>                 Priority: 5 - Normal
>               Item Group: Software Error
>                   Status: None
>                  Privacy: Public
>              Assigned to: None
>          Originator Name:
>         Originator Email: b...@dhampir.no
>              Open/Closed: Open
>          Discussion Lock: Any
>                  Release:
>                  Release: other
>          Reproducibility: Every Time
>          Planned Release: None
>
>     _______________________________________________________
>
> Details:
>
> Setup:
> Booting from /dev/sda1 and /dev/sdb1 in RAID 1, no LVM (no separate /boot).
> LVM for storage, made from a RAID 5 on top of sdc, sdd, sde, sdf. The raid
> is
> the only PV in the LVM.
>
> Depending on the versions of grub and os-prober installed, I get a
> different
> amount of errors when running update-grub, though it prints "done" at the
> end
> and exits with a status of 0 regardless.
>
>
> Examples:
>
> grub 1.98, os-prober 1.42 (Debian Stable)
> -----------------------------------------
> # update-grub
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.2.0-3-amd64
> Found initrd image: /boot/initrd.img-3.2.0-3-amd64
> Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
> Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
> Found memtest86 image: /boot/memtest86.bin
> done
>
> grub 1.99, os-prober 1.56, AND grub 1.99, os-prober 1.42 (os-prober makes
> no
> difference for grub 1.99)
> -----------------------------------------
> # update-grub
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> Generating grub.cfg ...
> cat: /boot/grub/video.lst: No such file or directory
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> Found linux image: /boot/vmlinuz-3.2.0-3-amd64
> Found initrd image: /boot/initrd.img-3.2.0-3-amd64
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
> Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> Found memtest86 image: /boot/memtest86.bin
> done
>
> GRUB 2.00, os-prober 1.56
> -----------------------------------------
> # update-grub
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.2.0-3-amd64
> Found initrd image: /boot/initrd.img-3.2.0-3-amd64
> Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
> Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
> Found memtest86 image: /boot/memtest86.bin
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> error: unknown LVM metadata header.
> Found Debian GNU/Linux (wheezy/sid) on /dev/sda1
> Found Debian GNU/Linux (wheezy/sid) on /dev/sdb1
> done
>
> GRUB 2.00, os-prober 1.42
> -----------------------------------------
> # update-grub
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.2.0-3-amd64
> Found initrd image: /boot/initrd.img-3.2.0-3-amd64
> Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
> Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
> Found memtest86 image: /boot/memtest86.bin
> done
>
>
>
>
>     _______________________________________________________
>
> Reply to this item at:
>
>   <http://savannah.gnu.org/bugs/?37569>
>
> _______________________________________________
>   Message sent via/by Savannah
>   http://savannah.gnu.org/
>
>
> _______________________________________________
> Bug-grub mailing list
> Bug-grub@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-grub
>



-- 
Ian Macintosh
Technical Director
KCS Total Solutions Ltd

Hemel Hempstead – Tel: (01442) 251-514
Fax: (01442) 200-198
Web: http://www.kcsts.co.uk/

KCS Total Solutions Ltd, registered in England and Wales. Registered number
3792344. Registered office: 3 Kensworth Gate, 200-204 High Street South,
Dunstable, LU63HS.

NOTICE: The contents of this email and any attachments are strictly
confidential and intended solely for the attention and use of the named
addressee(s). If you are not the addressee(s) you may not disclose, copy,
distribute, or retain this message without our prior written authority. If
received in error, please contact KCS Total Solutions Ltd on (01442)
251-514 quoting the name of the sender.
_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to