Boot in PXE uefi
-
Hello,
I hope this message finds you well. I’m currently facing a challenge with booting in UEFI PXE mode using Fog Project and was hoping to get some guidance. I’ve encountered the following situation:
When attempting to boot in UEFI PXE mode, I see the message “Start PXE over IPv4,” followed by the Station and Server IP addresses, the NBP filename (undionly.kpxe), and its size. However, the process seems to halt, and I am redirected back to the PXE boot menu without further progress.
Here are some details about my setup:
Server IP address: 192.168.42.233
Client IP address: 192.168.42.71
NBP filename: undionly.kpxeI already tried to capture an image on a another client but that was with legacy pxe boot, not uefi and with legacy its working. Do i need to setup something ?
I have reviewed the documentation and forums but haven’t found a solution yet.Thank you in advance for your time and support.
-
@george1421 Thank You !
I reinstall fog with ./install and everything works now !
Maybe I did a bad installation and by restarting the installer it “fixed” the bootloaders. Have a great day !P.S.: I really appreciate fog project thank you for all your work
-
@GlaDio said in Boot in PXE uefi:
NBP filename: undionly.kpxe
This is your problem. The design of the computer’s firmware is different between bios and uefi. Because of this each firmware requires a different boot loader and technically operating system.
You are sending undionly.kpxe (bios boot loader) to a uefi system. It doesn’t know what to do with the file so it rejects it. For a uefi system you need to see the uefi boot loader of ipxe.efi or snponly.efi (its akin to undionly.kpxe). With a uefi boot loader that target computer will accept it as long as secure boot is disabled in the firmware.
If you have a mix of bios and uefi computers on your campus then you might need some configuration that support both uefi and bios pxe booing.
-
@george1421 Oh okay, and how can i use a different boot loader ? where do i need to configure that ?
-
@GlaDio Okay i think i found the answer of my question. I need to configure it on my dhcp server ?
-
@GlaDio said in Boot in PXE uefi:
I need to configure it on my dhcp server
Correct. DHCP option 67 needs to be updated for bios vs uefi. Some dhcp servers have the ability to adjust this value based on the target computer’s need. There are configurations for linux and windows dhcp servers, pfsense has this ability out of the box.
-
@george1421 Okay, thank you for the information i really appreciate it !
-
@george1421 Hello,
So i did the configuration on the dhcp but now i have this error :
Start PXE over IPv4
Station IP address is 192.168.42.71Server IP address is 192.168.42.233
NBP Filename is ipxe.efi
NBP filesize is 0 bytes
PXE-E23: Client received TFTP error from serverWhat can i do please ?
-
@GlaDio said in Boot in PXE uefi:
Server IP address is 192.168.42.233
Just confirming if this is indeed your fog server’s IP address??
If yes then would there be anything that might block the download of this file?
If this a new FOG install, where this is the first time you are trying to pxe boot “any” computer? If yes, please confirm that there are files in the /tftpboot directory? If there are no files in that directory then your installation has failed. The install has 3 steps. 1) install fog from the linux command shell. 2) When instructed go to the web ui and install/upgrade the database. 3) Return to the web ui and complete the installation. Some people miss this last step to go back to the linux console and complete the install. There are several fog specific packages that get installed at step 3.
-
@george1421 Hi,
Sorry for the late reply. I checked the tftpboot directory on the server and the boot loader is indeed listed in there with many others. I can also confirm that the Fog server IP address is 192.168.42.233. I don’t know what to do
Thanks for your help. -
@george1421 Thank You !
I reinstall fog with ./install and everything works now !
Maybe I did a bad installation and by restarting the installer it “fixed” the bootloaders. Have a great day !P.S.: I really appreciate fog project thank you for all your work
-
-