Need workaround to EFI boot on AMI BIOS
Some BIOS types are very pick about the GPT header size.
Updated by John Levon 12 months ago
SmartOS bug OS-7585.
On one Quanta S210-X22RQ system, running an AMI BIOS identifying itself as:
Version 2.14.1219. Copyright (C) 2011 American Megatrends, Inc.
BIOS Date: 10/31/2013 08:14:56 Ver: S2RQ3A27
Compliancy UEFI 2.1; PI 0.9
failed to boot our loader-based USB image in EFI mode. It believes the EFI GPT to be invalid.
This turned out to be due to us setting the HeaderSize to sizeof (efi_gpt_t) (512) instead of the defined structure size from the spec (92).
Our value is entirely valid, but let's pander to this system by using 92 instead.
Updated by Electric Monk 10 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit fd7977362aae2eaa5dcb89671159f4fd82f22ca1 Author: John Levon <firstname.lastname@example.org> Date: 2019-04-23T16:49:06.000Z 10570 Need workaround to EFI boot on AMI BIOS Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Andy Stormont <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>