[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #48228] grub-mkconfig assumes grub-probe will only produce 1 line o
From: |
Will Rouesnel |
Subject: |
[bug #48228] grub-mkconfig assumes grub-probe will only produce 1 line of output, breaks with mirrored zfs volumes |
Date: |
Tue, 14 Jun 2016 23:50:01 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?48228>
Summary: grub-mkconfig assumes grub-probe will only produce 1
line of output, breaks with mirrored zfs volumes
Project: GNU GRUB
Submitted by: wrouesnel
Submitted on: Tue 14 Jun 2016 11:49:58 PM GMT
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Will Rouesnel
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02~beta1
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Using 2.02~beta2-36ubuntu3 and a ZFS root setup with mirrored, encrypted
drives, I've had multiple problems with the grub-mkconfig script and libraries
assuming that the output from grub-probe will only ever be a single line.
This leads to malformed set root= entries which break booting, malformed
cryptomount entries etc.
The ideal solution would be to support generating something like the windows
bootloader with "plex 2" when using a mirrored boot configuration in case one
drive fails. As it stands for a workaround I've simply added `| sort | head
-n1` pipes to the grub-probe commands to generate reproducible and correct
output.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 14 Jun 2016 11:49:58 PM GMT Name: mkconfig.patch Size: 2kB By:
wrouesnel
Example patches for consistent behavior, probably not the right long-term
solution.
<http://savannah.gnu.org/bugs/download.php?file_id=37478>
-------------------------------------------------------
Date: Tue 14 Jun 2016 11:49:58 PM GMT Name: grub-mkconfig.patch Size: 1kB
By: wrouesnel
Example patches for consistent behavior, probably not the right long-term
solution.
<http://savannah.gnu.org/bugs/download.php?file_id=37479>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48228>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #48228] grub-mkconfig assumes grub-probe will only produce 1 line of output, breaks with mirrored zfs volumes,
Will Rouesnel <=