Question b1 initialize library failed

timster6442

Honorable
Dec 20, 2015
25
0
10,540
Anyone familiar with this error: "b1 initialize library failed". The bios battery is ok but I feel like cmos is being reset each time (the date time is always being reset to incorrect value). Further I cannot get a bootable usb drive to boot at all (verified that it is booting correctly on another PC and the boot order is correct). I have tried legacy and UEFI boot as well as turning off safe boot, quick boot. I also cannot update the bios itself because I have no access to any working windows OS as I keep getting this error. Besides physically replacing PC parts what else can I do to remedy this. Thanks in advance
 

Colif

Win 11 Master
Moderator

timster6442

Honorable
Dec 20, 2015
25
0
10,540
what motherboard is it?

how new is battery as the BIOS shouldn't just reset itself every startup if battery is remembering the settings.

https://answers.microsoft.com/en-us...on-black/a8889e67-300c-491a-965a-df087ab5cbe1


don't you have any friends or relatives who can download the BIOS update and put it on a USB for you?
I have another computer with a usb with a bios update but how do I apply the BIOS update without a windows on the PC im trying to update. My motherboard does not support something like m-flash. The motherboard in question is from lenovo t5 26amr5. I replaced it with a completely new battery.
 

Colif

Win 11 Master
Moderator
Good question. Lenovo and Dell are similar, need to be in windows to update bios.
Cause:
This problem occurs because the boot firmware on the computer generates lots of memory fragmentation.
Work around:
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.
https://learn.microsoft.com/en-us/t...failed-start-os-on-64-bit-uefi-based-computer
thanks Microsoft, so helpful and inciteful
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.

Boot firmware being the bios

solution is to fix windows BCD
https://answers.microsoft.com/en-us...c00000bb/c598b6e2-48fc-44b5-80a5-caea8c09ce0d

that only works if you can boot off the usb

is windows on the pc at all?
can you get into windows recorery? every 3rd restart where it doesn't work it should try to repair windows, you can get into windows recovery via that in most cases. Its possible this error is stopping it before that stage.
 
Last edited:

timster6442

Honorable
Dec 20, 2015
25
0
10,540
Good question. Lenovo and Dell are similar, need to be in windows to update bios.
Cause:

Work around:

https://learn.microsoft.com/en-us/t...failed-start-os-on-64-bit-uefi-based-computer
thanks Microsoft, so helpful and inciteful


Boot firmware being the bios

solution is to fix windows BCD
https://answers.microsoft.com/en-us...c00000bb/c598b6e2-48fc-44b5-80a5-caea8c09ce0d

that only works if you can boot off the usb

is windows on the pc at all?
can you get into windows recorery? every 3rd restart where it doesn't work it should try to repair windows, you can get into windows recovery via that in most cases. Its possible this error is stopping it before that stage.
Thanks for your help so far. Windows 11 is on the main partition of the system. As you mentioned I cannot access a bootable usb drive so fixing the BCD is not possible. I have tried to get to windows recovery by power cycling many times (50+ times).