[Top][All Lists]

[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


                 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: other
         Reproducibility: Every Time
         Planned Release: None



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
/usr/sbin/grub-probe --device /dev/mapper/archlinux-root

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

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

More details can be found in the Arch Linux bug tracker:

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:


  Nachricht geschickt von/durch Savannah

reply via email to

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