[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-probe gets a segfault
From: |
Pavel Roskin |
Subject: |
Re: grub-probe gets a segfault |
Date: |
Fri, 16 May 2008 14:02:40 -0400 |
On Sat, 2008-05-17 at 13:18 +0000, Isaac Marcos wrote:
> The fix would be to reject RAID partitions in
> grub_lvm_scan_device().
> The only validity check in that function is presence of the
> LVM label in
> the first 4 sectors. Perhaps additional checks are needed.
> Good find Pavel. :-)
>
> Just a question, /dev/sda5 has an equivalent setup:
> # pvck /dev/sda5
> Device /dev/sda5 not found (or ignored by filtering).
> /dev/sda5 232 3396 25422831 fd Linux raid
> autodetect
>
> Why grub-probe doesn't fail on /dev/sda5?
I think because it has no LVM label. Maybe /dev/sda6 was holding a LVM
physical volume before, and the label was not erased when it became a
RAID partition.
As you can see, pvck doesn't display information partition. It means it
cannot be fooled by the label. And that's what GRUB should do.
--
Regards,
Pavel Roskin
- grub-probe gets a segfault, Isaac M. Marcos, 2008/05/08
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/08
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/08
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/08
- Re: grub-probe gets a segfault, Robert Millan, 2008/05/09
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/09
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/09
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/12
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/15
- Re: grub-probe gets a segfault, Isaac Marcos, 2008/05/16
- Re: grub-probe gets a segfault,
Pavel Roskin <=
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/21
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/21
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/22
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/23
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/27
- Re: grub-probe gets a segfault, Robert Millan, 2008/05/28
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/28
- Re: grub-probe gets a segfault, Pavel Roskin, 2008/05/29
- Re: grub-probe gets a segfault, Isaac M. Marcos, 2008/05/12
- Re: grub-probe gets a segfault, Jeff Chua, 2008/05/20