Page MenuHomeFreeBSD

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

Authored by cperciva on Jun 7 2023, 10:47 PM.
Tags
None
Referenced Files
F163135419: D40470.id122960.diff
Mon, Jul 20, 10:03 AM
F163097879: D40470.id123243.diff
Mon, Jul 20, 1:44 AM
F163093000: D40470.diff
Mon, Jul 20, 12:42 AM
Unknown Object (File)
Sat, Jul 18, 4:42 PM
Unknown Object (File)
Thu, Jul 9, 11:03 PM
Unknown Object (File)
Tue, Jul 7, 5:07 PM
Unknown Object (File)
Jun 19 2026, 8:38 PM
Unknown Object (File)
Jun 18 2026, 11:08 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