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

Submitted by:  Michael Laß <bevan>
Submitted on:  Fri 03 Feb 2012 09:24:40 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

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>

 

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 bevan (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 03 Feb 2012 10:05:42 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1