a1ive / grub

Fork of GRUB 2 to add various features.
GNU General Public License v3.0
138 stars 38 forks source link

"BlInitializeLibrary failed 0xc000009a" ERROR when chainloading bootmgfw.efi #53

Closed a1ive closed 4 years ago

a1ive commented 4 years ago

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=419354&extra=page%3D1&page=5 IMG_20200315_013056

MS: https://support.microsoft.com/en-us/help/4020050/blinitializelibrary-failed-xxx-error-when-you-install-or-start-an-oper

Cause

This problem occurs because the boot firmware on the computer generates lots of memory fragmentation. Note Not all "BlInitializeLibrary failed XXX" errors are caused by this issue.

Workaround

We recommend that you do not let boot firmware create large amounts of fragmentation. Large memory fragmentation degrades the overall startup performance and causes problems. More information

At the pre-boot stage, Windows Boot Manager sets the maximum number of global memory descriptor for a 64-bit UEFI system at 512. If the boot firmware creates a large amount of memory fragmentation, the memory descriptor count may exceed the set limit. This causes the "BlInitializeLibrary failed XXX" error. Note This design applies only to the current operating system releases, including Windows 10, Windows Server 2016, and Windows Server 2012 R2. We do not guarantee that this design will apply to future versions.