Boot PXE - UEFI
-
Hello,
Here is my problem, although currently I manage to PXE boot in UEFI on the following machines:
- Macbook
- Tablet Surface PRO 3
By cons on HP computers, trying several solutions, I block on “initializing devices” and nothing happens.
Here are the configurations I tested:Thanks in advance.
Best regards. -
try other .efi files. Using the same file in different configurations is going to lead, more or less, to the same problems.
-
In my experience, under efi initializing devices takes quite a bit longer, sometimes several minutes. That’s assuming it actually works of course.
-
the uefi class in your dhcp configuration looks totally wrong.
However the reservation you created for “test-uefi” should be working for just that computer.
Have you looked at our article on this topic?
https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
-
@Nicolas-Bricet As well as Wayne I am wondering about your dhcp config. Why having a host within two different subnet sections? Why have two at all?
On the other hand DHCP configuration should not be an issue if you get to “Initializing devices…”. I have toyed with iPXE a fair bit and I am pretty sure that this is not a point where DHCP matters! Your first round of DHCP and TFTP seam fine as iPXE obviously gets loaded and hangs. Both Tom’s and Quazz’s suggestions are a great starting point. Wait longer and if this does not help, try using other .efi files that you find in /tftpboot, e.g. snponly.efi. Hangs at this point mean that iPXE is trying hard to find a suitable network driver. The NICs in your HP computers might be causing issues.
Do you have different models? All hang at the same point? Please let us know what exact NIC you have in those machines. PCI IDs (lspci in linux or device manager in windows) would be great.
PS: For PXE booting Mac OS X you might look into this https://wiki.fogproject.org/wiki/index.php?title=FOG_on_a_MAC#fancy (maybe you already have…)
Edit: We have been playing with some machines EFI enabled (https://forums.fogproject.org/topic/4728/dell-7010-lenovo-l530-with-uefi-enabled-won-t-network-boot). EFI in iPXE is not perfect yet. Running great on some platforms but causing lots of trouble on others.
-
Hello,
In fact both Subnet is two different DHCP file tests.
I actually just tested different files (ipxe.efi; snp.efi; snponly.efi: intel.efi: relatek.efi) on two different network cards (Intel, Atheros).
I always get the following problem: it hangs on “” Initializing devices … ".For information, the computer is an HP Elite 7500.
There currently I raised on “ipxe.efi” and I’ll see if it is launched unlocks itself as Quazz proposes.
Thank you in advance for your assistance.
-
NICs PCI IDs?
Can you please try this binary: https://forums.fogproject.org/uploads/files/1447258967062-ipxe.efi (just for reference - compiled with
DEBUG=device,efi_debug,efi_driver,efi_init,efi_pci,efi_snp,snp,nii:4,snponly,snpnet
)You might see a lot of messages scrolling by. We need a picture or possibly video with good readable text to see what’s exactly going on.
-
Hello,
Attached file in debug mode.
Best regards.
-
Trying to find out what exactly goes on there in the ipxe code as well as asking google. But this UEFI iPXE stuff is such a vast and complicated world. From the errors I see (“cannot read PCI configuration: No such device” and “is not supported by driver ‘PCI’”) it sounds like the NIC is not designed according to the standard UEFI implementation. Maybe it’s just a UEFI GUID not matching or what. I don’t know for sure.
By the way, which NIC was this? Can you please let us know which NIC exactly you are trying to boot from?
The iPXE dev team is great and might be able to help you with this. Try getting in contact with them on their forum or via IRC.