Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Windows bootloader detection to better report on the reasons for …
…a Windows boot failure * Unfortunately, Microsoft designed their Windows UEFI bootloaders to not halt and report an explicit error when a boot issue arises, but instead *silently* hand over to the next available boot device (which is accomplished by having the UEFI bootloader return error code EFI_NO_MAPPING). * This leaves many users very confused as to why their Windows installation media will not boot, even more so in light of the BlackLotus Microsoft bootloader revocation, where users will get EFI_NO_MAPPING silently being returned when the UEFI lock is enabled and they attempt to boot using a pre-2023.05 Windows bootloader. * Because of this, we attempt to detect Windows bootloaders (which are all compiled from binaries containing a 'bootmgr.dll' string) and report a more explicit error and potential cause when a Windows UEFI bootloader returns EFI_NO_MAPPING.
- Loading branch information