update-grub produces broken grub.cfg with ZFS mirror volume
Bug #1582811 reported by
Will Rouesnel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned | ||
Bionic |
Confirmed
|
Medium
|
Unassigned | ||
Disco |
Won't Fix
|
Medium
|
Unassigned | ||
Eoan |
Won't Fix
|
Medium
|
Unassigned | ||
Focal |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When running update-grub on Xenial with an mirrored ZFS root, broken grub.cfg files are consistently produced due to the root= line being formatted with block devices and a newline inserted.
Specifically I get a line like so:
linux /ROOT/mint-
/dev/sdi3 ro nomdmonddf nomdmonisw
The newline is what's included.
Changed in grub2 (Ubuntu Eoan): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Disco): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Eoan): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Eoan): | |
importance: | High → Medium |
Changed in grub2 (Ubuntu Focal): | |
importance: | High → Medium |
Changed in grub2 (Ubuntu Bionic): | |
importance: | High → Medium |
Changed in grub2 (Ubuntu Xenial): | |
importance: | High → Medium |
Changed in grub2 (Ubuntu Disco): | |
importance: | High → Medium |
Changed in grub2 (Ubuntu Disco): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
The problem seems to be that grub-mkconfig doesn't account for grub-probe producing a multiple lines of output with a ZFS root device:
/usr/sbin/ grub-probe --target=device /
/dev/sdj1
/dev/sdi3