Page 1 of 2

[SOLVED] PB PXE NBP file size 0 Bytes

Published: April 14, 2022 - 3:04 PM
by bruno67
Good morning,

I just spent hours with this error while attempting a PXE deployment
pxe.png
pxe.png (2.79 KB) Viewed 9130 times
NBP file name is ipxe.efi
NBP filesize is 0 bytes
download succeed

and the PC refused to boot

We have an ISC DHCP server running Linux, and we need to specify the size of the IPXE file that will be downloaded. To complicate matters, this file must be divided by 512
This requirement applies to UEFI BIOS versions higher than 2.3

If it helps...

Re: PB PXE NBP file size 0 Bytes

Published: April 15, 2022 - 2:33 PM
by dcardon
Hello Bruno67,

have you disabled Secure Boot on your machine? I've already encountered the exact same issue on Lenovo laptops with Secure Boot enabled, even though the IPXE file isn't signed.
The IPXE binary provided by the IPXE project isn't signed for Secure Boot. If you want to keep Secure Boot enabled during the initial installation, you need to:
* purchase an IPXE Anywhere license from 2pints Software
* perform a boot without IPXE (boot directly from the Microsoft BCD).

Regards,

Denis

Re: PB PXE NBP file size 0 Bytes

Published: April 19, 2022 - 3:52 PM
by bruno67
By modifying the size of the PXE file in the DHCP server, the IPXE download proceeds correctly

Re: PB PXE NBP file size 0 Bytes

Published: April 20, 2022 - 12:37 PM
by dcardon
Hello Bruno67,

we have laptops with secure boot for internal testing/development on WADS, and secure boot was introduced with the UEFI 2.3.1 specification, so it's not always necessary to specify it.

It might depend on the implementation. What is the model of laptop you have (manufacturer and exact model number)?

Regards,

Denis

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: April 27, 2022 - 5:25 PM
by dcardon
Hello Bruno67,

after investigation we found an issue in the TFTP server response where the `tsize` variable in the TFTP response has an extra null character (`\0`), which can cause problems for some TFTP clients. We are currently fixing and validating the fix. We found an internal laptop exhibiting the same behavior as yours, so we can reproduce the issue and validate the fix.

Sincerely,

Denis

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: May 18, 2022 - 5:42 PM
by smandel
Good morning,

I just tried a deployment on a new PC and the PXE boot in UEFI mode is stuck at:

Code: Select all

Downloading NBP file...
Secure boot has been disabled.
I'm stuck...

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: May 18, 2022 - 6:15 PM
by sfonteneau
Hello,

could you try the latest release I just pushed?

https://wapt.tranquil.it/wapt/releases/ ... -1b2dfbee/

Simon Fonteneau

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: May 19, 2022 - 09:17
by smandel
Hi Simon,

I pushed the latest version to our server this morning but no luck...

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: May 19, 2022 - 09:44
by sfonteneau
Can you tell me the server's operating system (Windows/Debian/Red Hat)?

Are you using WaptFTP Server?

I'd like to try switching you to another TFTP server to see if it's better, but I need the system information to guide you properly.

Re: [SOLVED] PB PXE NBP file size 0 Bytes

Published: May 19, 2022 - 1:40 PM
by smandel
We are on a Debian 11 server with the wapttftpserver.