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:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  2.02~beta1 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>
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.



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
  • -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)

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

    Only logged-in users can vote.




    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.5