Invalid BootEntry while reordering boot entries on some UEFI implementations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Invalid
|
Undecided
|
Unassigned | ||
subiquity |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
On some UEFI implementations, it is acceptable for the UEFI BootCurrent variable to have no associated BootXXXX variable when booting from removable media (e.g., USB sticks).
By default, after an install, curtin tries to set the install media as the default boot entry, i.e., BootOrder=
However, when BootCurrent does not have an associated BootXXXX entry, setting the boot order results in an exception:
> Invalid BootOrder order entry value1004
^ where 1004 is the value of BootCurrent and Boot1004 does not exist.
We got multiple reports of this bug on Dell XPS hardware, but also some other brands and models.
For subiquity, it seems like an unwanted behavior to set the install media as the default boot entry, so disabling this behavior seems preferable.
We should think about fixing the issue in curtin too.
Changed in subiquity: | |
status: | Fix Committed → Fix Released |
Changed in curtin: | |
status: | New → Invalid |
Fix in Subiquity: https:/ /github. com/canonical/ subiquity/ pull/1671