5s boot delay added when System BootOrder not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
# Overview
Recent changes in boot logic moved grub from "removable disk" path to "/efi/ubuntu" in order to fix grub package updates. This had the side-effect of adding a 5-second boot delay in images. This was discovered in GCE images booting Bionic or newer, when vTPM is present.
# Expected result
The system to correctly boot from the first boot entry with no delay.
# Actual result
The system cannot find "System BootOrder", initializes defaults, and creates a 5-second delay in boot.
# Steps to reproduce
1. Launch any GCE bionic or newer image after 20210224
2. View the serial console for the image and look for: "System BootOrder not found. Initializing defaults." Afterward, there were are messages counting down, starting with "Booting in 5 seconds"
# Logs
GCE Image 20210211: https:/
GCE Image 20210224: https:/
Changed in shim (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Note that vTPM presence is at stake here too.
Without vTPM there are no delays.