This occurred on Fedora 18 and here is the bugzilla report: https://bugzilla.redhat.com/show_bug.cgi?id=890955

The problem is that grub2-probe is issuing an error message when it is testing a multi-device btrfs volume to see if it is LVM ... it is not.

Here is the patch to fix it:
---------------------------------------------------------------------------------------------
From 4770be177085a17837687d2d858acfc9696092e1 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <[email protected]>
Date: Fri, 11 Jan 2013 10:52:01 -0500
Subject: [PATCH] support for multi-device btrfs volume

The current code produces error messages if passed a device
list with multiple devices for a btrfs volume.  It worked OK
for single device btrfs volume.

This has been regression tested with root/boot on a regular
partition, single device VG logical volume,
and single device btrfs volume.
---
 util/grub-mkconfig_lib.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
index 76133b4..8e2ff66 100644
--- a/util/grub-mkconfig_lib.in
+++ b/util/grub-mkconfig_lib.in
@@ -279,7 +279,7 @@ gettext_printf () {
 uses_abstraction () {
   device="$1"

-  abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`"
+  abstraction="`"${grub_probe}" --device ${device} --target=abstraction`"
   for module in ${abstraction}; do
     if test "x${module}" = "x$2"; then
       return 0
--
1.8.1
---------------------------------------------------------------------------------------------------

Gene


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to