bugGNU GRUB - Bugs: bug #38318, Grub-Prob Warning Couldn't Find...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #38318: Grub-Prob Warning Couldn't Find Physical Vol. with LVM/LUKS on two disks

Submitter:  Chris Cauthen <cc451>
Submitted:  Tue 12 Feb 2013 06:37:18 PM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Chris Cauthen
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Mon 15 Jul 2013 10:35:15 AM UTC, comment #4: 

Still no answer from reporter and since we have reasons to believe bug to be fixed, closing the report.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 11 Apr 2013 12:01:36 PM UTC, comment #3: 

Grub is installed on separate /boot (no LUKS or LVM2).

I will try the latest and let you know.

Thanks

Chris Cauthen <cc451>
Wed 10 Apr 2013 10:10:23 PM UTC, comment #2: 

Please try latest bzr, I fixed a very similar bug report.

Vladimir Serbinenko <phcoder>
Group administrator
Sat 06 Apr 2013 08:07:47 PM UTC, comment #1: 

Is it an install with separate /boot or GRUB own LUKS support?

Vladimir Serbinenko <phcoder>
Group administrator
Tue 12 Feb 2013 06:37:18 PM UTC, original submission:  

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.




Chris Cauthen <cc451>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #27452:  grub-prob-debug-on-output.txt added by cc451 (17KiB - text/plain - Output from Grub-probe with debug on.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by cc451
  • -email is unavailable- added by cc451 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-15 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2013-02-12 cc451 Attached File- Added grub-prob-debug-on-output.txt, #27452
        Carbon-Copy- Added cc451

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code