bugGNU GRUB - Bugs: bug #54575, RAID5 on BTRFS borks grub.cfg...


You are not allowed to post comments on this tracker with your current authentication level.

bug #54575: RAID5 on BTRFS borks grub.cfg because of multiple devices from grub-probe

Submitted by:  Bob McElrath <mcelrath>
Submitted on:  Sun 26 Aug 2018 05:24:14 PM UTC  
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Bob McElrath
Open/Closed:  Open Release: 
Release:  2.02 Reproducibility:  Every Time
Planned Release:  None

Sun 26 Aug 2018 05:24:14 PM UTC, original submission:

update-grub creates an invalid grub.cfg due to grub-probe reporting multiple devices:

grub-mkconfig puts this on the kernel's command line, which breaks the command line due to the newlines in the output.

The fix is easy, just use sort and head to grab the first device. (BTRFS doesn't care which device is used as the target of the mount, it can find the other required physical devices)

(patch attached)

Bob McElrath <mcelrath>


Attached Files
file #44869:  grub-btrfs-raid.patch added by mcelrath (822B - text/x-patch - patch )


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mcelrath (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-26 mcelrath Attached File- => Added grub-btrfs-raid.patch, #44869

    Back to the top

    Powered by Savane 3.4