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/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub