[zfs-root] Trivial bug in 10_linux_zfs breaks booting from ZFS mirrored boot pools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If you manually modify a Ubuntu 19.10 on ZFS install to do mirroring, running update-grub will generate a /boot/grub/grub.cfg missing the file paths for the vmlinuz and initrd.img files, which creates an unbootable system. update-grub will report "Syntax errors are detected in generated GRUB config file.".
The problem occurs because of a single line `initrd_
Changing the line in question to `initrd_
As for the other information requested by the bug reporting guidelines:
1) $ lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10
2) $ apt-cache policy grub-common
grub-common:
Installed: 2.04-1ubuntu12.1
Candidate: 2.04-1ubuntu12.1
Version table:
*** 2.04-1ubuntu12.1 500
500 http://
100 /var/lib/
2.04-1ubuntu12 500
500 http://
3) The system should have been fine with a mirrored boot pool.
4) A bug broke the boot process. A patch fixing it is attached.
The attachment "This trivial patch fixes the issue." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]