bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Michael Laß
Subject: [bug #35444] grub-mkconfig fails if root is a logical volume
Date: Fri, 03 Feb 2012 21:24:41 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.10.229 Version/11.61

URL:
  <http://savannah.gnu.org/bugs/?35444>

                 Summary: grub-mkconfig fails if root is a logical volume
                 Project: GNU GRUB
            Submitted by: bevan
            Submitted on: Fr 03 Feb 2012 21:24:40 GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: other
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35444>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]