Page MenuHomeFreeBSD

EC2: Default to "uefi-preferred" boot mode
ClosedPublic

Authored by cperciva on Jun 7 2023, 10:47 PM.
Tags
None
Referenced Files
F146587457: D40470.id.diff
Tue, Mar 3, 9:31 PM
F146532549: D40470.id.diff
Tue, Mar 3, 10:44 AM
Unknown Object (File)
Mon, Mar 2, 11:35 PM
Unknown Object (File)
Mon, Feb 9, 12:24 AM
Unknown Object (File)
Dec 25 2025, 10:00 AM
Unknown Object (File)
Dec 7 2025, 9:47 PM
Unknown Object (File)
Dec 3 2025, 4:39 PM
Unknown Object (File)
Nov 29 2025, 8:37 PM

Details

Summary

In EC2, UEFI boots faster than BIOS, but not all amd64 instance types
support UEFI. AMIs need to have their boot mode designated, which
created a dilemma: Faster boots, or wider compatibility?

The recently added "uefi-preferred" option solves this: AMIs can be
marked to use UEFI where it's available, but fall back to BIOS on
instance types which do not support UEFI.

This uses bsdec2-image-upload 1.4.6, which recently landed in the
ports tree.

PR: 265697
MFC after: 1 week
Sponsored by: https://www.patreon.com/cperciva

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable