bugGNU GRUB - Bugs: bug #35444, grub-mkconfig fails if root is a...


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

bug #35444: grub-mkconfig fails if root is a logical volume

Submitter:  Michael Laß <bevan>
Submitted:  Fri 03 Feb 2012 09:24:40 PM UTC
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  * other
Release:  Reproducibility:  Every Time
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Fri 03 Feb 2012 10:05:42 PM UTC, comment #1: 

I'm aware of this former bug and fixed it several commits ago

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 03 Feb 2012 09:24:40 PM UTC, original submission:  

grub-mkconfig produces an incomplete grub.cfg if the root partition is a logical volume.

The problem is that during the process grub-probe is called like the following:
/usr/sbin/grub-probe --device /dev/mapper/archlinux-root --target=hints_string

This returns code 1 and produces the following output:
/usr/sbin/grub-probe: error: cannot get the real path of `(null)'.

I think this problem was introduced in rev. 3714. A workaround is to edit grub-mkconfig_lib:

 - hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`"
 + hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null || true`"

More details can be found in the Arch Linux bug tracker: https://bugs.archlinux.org/task/27985

System is Arch Linux x86_64, Kernel 3.2.2. The grub2 package in Arch Linux is built from rev. 3750.

Michael Laß <bevan>


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

Attach Files:

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 bevan (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.

    Only logged-in users can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-03 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.9