[Top][All Lists]

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

[bug #39591] grub-mkconfig fails on btrfs raid

From: Florian Scandella
Subject: [bug #39591] grub-mkconfig fails on btrfs raid
Date: Sun, 28 Jul 2013 15:29:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36


                 Summary: grub-mkconfig fails on btrfs raid
                 Project: GNU GRUB
            Submitted by: fscan
            Submitted on: Sun 28 Jul 2013 15:29:53 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



using grub-2.00.5043-3 from arch linux testing.

grub-mkconfig line 131:
GRUB_DEVICE="`${grub_probe} --target=device /`"

on a btrfs raid GRUB_DEVICE now holds a list of devices. this fails in several
places when generating the grub.cfg.
for example the next line will fail:

GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 2>
/dev/null`" || true

a solution would be to change this to:

GRUB_DEVICE_UUID="`${grub_probe} --target=fs_uuid / 2> /dev/null`" || true

and use GRUB_DEVICE_UUID instead of GRUB_DEVICE everywhere if set.

another quick fix would be:

GRUB_DEVICE="`${grub_probe} --target=device / | head -n 1`"

to only look at the first returned device.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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