On Mon, Aug 14, 2023 at 08:39:11AM -0400, Greg Troxel wrote: > So it seems the installer detected that it booted from mbr instead of > UEFI and set up MBR probably gptboot and skipped the EFI gpt partition. > Maybe I'm over-assuming.
Yes, the installer (on x86) uses machdep.bootmethod to decide if the system is new enough for UEFI, which works quite well, but not in your case since you revert the required settings in the UEFI setup after the installation. It would be possible to add a manual override in the installer, but currently there is no such thing. But the part that I don't understand: why can't you get your machine to boot the USB install image in UEFI mode? With stupid x86 firmware everything is possible but I would guess it is more likely that some setting should allow booting from USB in UEFI mode. Maybe the boot order settings priorize CSM/legacy mode for USB over native (UEFI) boot and you can move the UEFI USB boot up in the list? Martin