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>

Submitter:  Bobby Kent <bobbyk>
Submitted:  Mon 23 Mar 2015 07:21:52 PM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.02~beta1
Release:  Reproducibility:  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>
Group 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>

 

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

No files currently attached

 

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 floppym (Posted a comment)
  • -email is unavailable- added by bobbyk (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-27 phcoder StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code