[Bug 1878705] Re: Fix multiple initrds support in grub.conf
Launchpad Bug Tracker
1878705 at bugs.launchpad.net
Mon Aug 31 13:05:13 UTC 2020
This bug was fixed in the package grub2 - 2.04-1ubuntu26.3
---------------
grub2 (2.04-1ubuntu26.3) focal; urgency=medium
* 2.04-1ubuntu27 and 2.04-1ubuntu28 folded together for focal
* debian/patches/ubuntu-flavour-order.patch:
- Add a (hidden) GRUB_FLAVOUR_ORDER setting that can mark certain kernel
flavours as preferred, and specify an order between those preferred
flavours (LP: #1882663)
* debian/patches/ubuntu-zfs-enhance-support.patch:
- Use version_find_latest for ordering kernels, so it also supports
the GRUB_FLAVOUR_ORDER setting.
* debian/patches/ubuntu-dont-verify-loopback-images.patch:
- disk/loopback: Don't verify loopback images (LP: #1878541),
Thanks to Chris Coulson for the patch
* debian/patches/ubuntu-recovery-dis_ucode_ldr.patch
- Pass dis_ucode_ldr to kernel for recovery mode (LP: #1831789)
* debian/patches/ubuntu-add-initrd-less-boot-fallback.patch:
- Merge changes from xnox to fix multiple initrds support (LP: #1878705)
* debian/patches/ubuntu-clear-invalid-initrd-spacing.patch:
- Remove, no longer needed thanks to xnox's patch
* Ensure that grub-multi-install can always find templates (LP: #1879948)
-- Julian Andres Klode <juliank at ubuntu.com> Mon, 17 Aug 2020 16:04:31
+0200
** Changed in: grub2 (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1878705
Title:
Fix multiple initrds support in grub.conf
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Focal:
Fix Released
Status in grub2 source package in Groovy:
Fix Released
Bug description:
[Impact]
* When attempting to use multiple initrd, update-grub generates
invalid grub.cfg configuration.
[Test Case]
* sudo touch /boot/microcode.cpio
* sudo update-grub
* grep microcode.cpio /boot/grub/grub.cfg
initrd / microcode.cpio initrd.img-5.4.0-37-generic
Observe that the initrd stanzas are incorrect. Instead they should be
_both_ absolute valid filepaths from grub prefix location, i.e.
initrd /microcode.cpio /initrd.img-5.4.0-37-generic
# ensure one cleans up the system after testing
* sudo rm /boot/microcode.cpio
* sudo update-grub
[Regression Potential]
* 2.04 upstream release supports multiple initrds correctly, but the
ubuntu-only patches incorrectly changed the behaviour of grub-mkconfig
breaking this support. This SRU fixes this. Since currently multiple
initrd support is broken, nobody is using it. But hopefully it will
become usable after this SRU and will be used by default in certain
configurations.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1878705/+subscriptions
More information about the foundations-bugs
mailing list