Use non-removable uefi bootloader in cloud-images by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* use non --removable uefi installation for cloud-images
* Currently cloud-images use --removable grub installation, which makes the disk images look at lot more like our installer .isos, than installed systems.
This causes many issues:
* ubuntu efiboot entry is not created by the fallback manager from shim
* one cannot reorder ubuntu boot entry, and/or boot and apply fwupdate updates (if possible)
* measurements are unstable, and change if one call grub-install and or upgrades things
* often grub & shim upgrades are not applied at all as \EFI\ubuntu does not exist on the ESP
* We should switch to only shipping shim/fallback/mm in \ESP\Boot and ship \ESP\ubuntu on the cloud-image ESPs such that we regain stable measurements; ubuntu boot entry; and upgrades of grub and shim.
[Test Case]
* After UEFI firstboot $ efibootmgr --verbose => should contain `ubuntu` entry pointing at ESP\ubuntu\
[Where problems could occur]
* Existing systems which were booted from previous style images, will not upgrade shim|grub on the ESP, and must call `grub-install` or `grub-multi-
Related branches
- Robert C Jennings: Pending requested
-
Diff: 109 lines (+48/-19) (has conflicts)2 files modifieddebian/changelog (+44/-19)
live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot (+4/-0)
- Robert C Jennings (community): Approve
- Steve Langasek: Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 33 lines (+1/-11)1 file modifiedlive-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary (+1/-11)
Changed in livecd-rootfs (Ubuntu Xenial): | |
status: | Fix Committed → Won't Fix |
This bug was fixed in the package livecd-rootfs - 2.710
---------------
livecd-rootfs (2.710) hirsute; urgency=medium
* esp: install grub in ubuntu bootloader id path, instead of removable.
(LP: #1912830)
* esp: perform fsck. (LP: #1912835)
-- Dimitri John Ledkov <email address hidden> Thu, 28 Jan 2021 10:43:20 +0000