Page MenuHomeFreeBSD

switch amd64 memstick installer images to MBR
ClosedPublic

Authored by emaste on May 28 2018, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 14 2024, 1:47 PM
Unknown Object (File)
Mar 14 2024, 1:47 PM
Unknown Object (File)
Mar 14 2024, 1:47 PM
Unknown Object (File)
Mar 11 2024, 12:55 AM
Unknown Object (File)
Feb 11 2024, 3:28 AM
Unknown Object (File)
Jan 6 2024, 10:21 PM
Unknown Object (File)
Jan 6 2024, 10:21 PM
Unknown Object (File)
Jan 6 2024, 10:21 PM
Subscribers

Details

Summary

A good number of BIOSes have trouble booting from GPT in non-UEFI mode. This is commonly reported with Lenovo laptops, including my x220, as well as a number of Dell servers. Although UEFI is the preferred boot method, a user may wish to boot one of these systems via BIOS/CSM, and some systems (such as an AMD FX-6100 I have) fail to boot via UEFI from our GPT memsticks.

The "vestigial swap partition" was added in rS265017 to work around an issue with loader's GPT support, so we should not need it when using MBR.

There is some concern that future UEFI systems may not boot from MBR, but I am not aware of any of these today. We can revisit this change if this becomes a concern in the future, likely returning to GPT for the main case and introducing a separate MBR BIOS/CSM-only memstick.

This change depends on @imp's D15598.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.May 28 2018, 5:20 PM

The concern I have for UEFI + MBR is one of FreeBSD support, not BIOS support. There are some places that assume GPT partitioning, though that may be just in the efibootmgr code which just sets boot efi variables.

This revision was automatically updated to reflect the committed changes.