[Bug 1878705] Re: Fix multiple initrds support in grub.conf
Jrandiny
1878705 at bugs.launchpad.net
Sat Aug 22 07:47:53 UTC 2020
Hi, I have tested the updated grub-common from focal-proposed (version 2.04-1ubuntu26.3) and it fixed the problem for me. I tested with the following step:
- create /boot/acpi_override
- Add GRUB_EARLY_INITRD_LINUX_CUSTOM="acpi_override" flag to /etc/default/grub
- Run update-grub
- Check grub.cfg
initrd /boot/acpi_override /boot/initrd.img-5.8.2-050802-generic
--
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 Committed
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