bugGNU GRUB - Bugs: bug #44611, grub2-probe fails to get canonical...

 
 

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

bug #44611: grub2-probe fails to get canonical path when kernel mounts root partition with root=PARTUUID=<root partition uuid>

Submitted by:  Bobby Kent <bobbyk>
Submitted on:  Mon 23 Mar 2015 07:21:52 PM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: Every Time
Planned Release: None

Fri 27 Mar 2015 12:36:57 PM UTC, comment #2:

GRUB_DEVICE is set to the device node, not some other string. Moreover it's internal-use variable, you shouldn't override it. If default doesn't suit you, please open a separate bug why default isn't ok.

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 26 Mar 2015 02:32:45 AM UTC, comment #1:

This is being triggered by a Gentoo-specific kernel patch which alters the contents of /proc/self/mountinfo. See the bug report below for details.

https://bugs.gentoo.org/show_bug.cgi?id=467266

http://dev.gentoo.org/~mpagano/genpatches/trunk/3.19/2900_dev-root-proc-mount-fix.patch

Mike GIlbert <floppym>
Mon 23 Mar 2015 07:21:52 PM UTC, original submission:

Steps to reproduce:
1) establish root partition uuid of / via blkid /dev/sd<root drive><root partition>
1) add:
GRUB_DEVICE="PARTUUID=<root partition uuid>"
to /etc/default/grub
2) grub2-mkconfig -o /boot/grub/grub.cfg
3) reboot

At this point further executions of grub2-mkconfig will fail with:

grub2-probe: error: failed to get canonical path of `PARTUUID=<root_partition_uuid>'

A workaround (for this user) exists:
1) ln -s /dev/sd<root drive><root partition> "PARTUUID=<root partition uuid>"
2) grub2-mkconfig -o /boot/grub/grub.cfg
3) rm "PARTUUID=<root partition uuid>"

Bobby Kent <bobbyk>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by floppym (Posted a comment)
  • -unavailable- added by bobbyk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 27 Mar 2015 12:36:57 PM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1