Page MenuHomeFreeBSD

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

Authored by cperciva on Jun 7 2023, 10:47 PM.
Tags
None
Referenced Files
F108667866: D40470.diff
Mon, Jan 27, 4:43 AM
Unknown Object (File)
Fri, Jan 24, 9:43 AM
Unknown Object (File)
Thu, Jan 23, 4:43 PM
Unknown Object (File)
Tue, Jan 21, 1:34 AM
Unknown Object (File)
Sun, Jan 19, 4:51 AM
Unknown Object (File)
Thu, Jan 16, 10:02 PM
Unknown Object (File)
Thu, Jan 16, 7:04 PM
Unknown Object (File)
Dec 28 2024, 6:41 AM

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