bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #38318] Grub-Prob Warning Couldn't Find Physical Vol. with LVM/LUKS


From: Chris Cauthen
Subject: [bug #38318] Grub-Prob Warning Couldn't Find Physical Vol. with LVM/LUKS on two disks
Date: Tue, 12 Feb 2013 18:37:21 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

URL:
  <http://savannah.gnu.org/bugs/?38318>

                 Summary: Grub-Prob Warning Couldn't Find Physical Vol. with
LVM/LUKS on two disks
                 Project: GNU GRUB
            Submitted by: cc451
            Submitted on: Tue 12 Feb 2013 06:37:18 PM GMT
                Category: Disk &amp; Partition
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Chris Cauthen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Configuration (just setup this week):
Linux Mint 14.1
Two 1TB drives Encrypted with LUKS with LVM2 on top.
 LVM2 partitions sysroot, tmp, data, vmdata, home

1TB /dev/sda
1TB /dev/sdb

Had same setup in old system Ubuntu 11.10 with two 750GB drives and this was
not a problem.

Issue: When I run update-grub2 I get the following warning message, twice.

/usr/sbin/grub-probe: warning: Couldn't find physical volume `pv1'. Some
modules may be missing from core image.

First off, I'm not sure this is really an issue since the grub.cfg is created
and the system boots, but since I don't know what this means I'm not sure if
there is something I need to fix. 

I download the source and built it and grub-probe still produces the error. I
added some debug statements trying to understand why the warning is occurring
and still can't determine why. 

I traced the actual call as:
/usr/sbin/grub-prob --device /dev/mapper/theCrypt/sysroot
--target=abstraction

The source location is diskfilter.c function "grub_diskfilter_memberlist"

More details on the LUKS/LVM setup:
I have two Physical Volumes (one for each hard drive) pv0 and pv1.
I have one Volume Group "theCrypt"
With 6 Logical Volumes "sysroot, tmp, home, data, vmdata, swap"

If you notice the device being checked is LV "sysroot". I tried the same
command with all six LVs and all but "home" get the same warning. 

Here is some output with some of my print statements:

lv->name = sysroot
vg->name = theCrypt 
pv->name = pv1 
~/software/01-linux/grub2/grub-probe: warning: Couldn't find physical volume
`pv1'. Some modules may be missing from core image.
lv->name = sysroot 
vg->name = theCrypt 
pv->name = pv0 
cryptodisk luks gcry_serpent gcry_serpent gcry_sha1 lvm 

As you can see the actual command works for "pv0" but gets the warning for
"pv1". I think sysroot is on "pv0" and "home" is on "pv1" although is
shouldn't matter which PV it is located. 







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 12 Feb 2013 06:37:18 PM GMT  Name: grub-prob-debug-on-output.txt 
Size: 17kB   By: cc451
Output from Grub-probe with debug on.
<http://savannah.gnu.org/bugs/download.php?file_id=27452>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38318>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]