iPXE discussion forum

Full Version: Unable to load boot.ipxe - Please help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

Firstly I'm very new to ipxe so please take it easy Smile..

I've so far been completely unable to pxe a machine using it and Im now smashing my head against the desk..

Using pxelinux menu with the below commands:

#---
LABEL IPXE
MENU LABEL IPXE
KERNEL iPXE\iPXE.KRN dhcp && chain http://10.10.10.10/iPXE/boot.ipxe


Boot.ipxe content:

#!ipxe
cpuid --ext 29 && set arch amd64 || set arch x86
boot wimboot
initrd bootmgr bootmgr
initrd ${arch}/media/Boot/BCD BCD
initrd ${arch}/media/Boot/boot.sdi boot.sdi
initrd ${arch}/media/sources/boot.wim boot.wim
imgstat
boot



Now, when I PXE a machine and select the IPXE option on my pxelinux menu, it passes through and load IPXE fine. It then successfully registers dhcp, but then when it attempts to load the boot.ipxe file, it says OK but just completely hangs. Nothing follows that line, and thats it, the machine is then stuck.

The boot.ipxe and all other files are hosted in IIS (mime types etc added) and I can successfully access them in a browser.

Also, If i purely boot to command line IPXE I can successfully download each file using initrd.

I have tried absolutely everything I can think to get this working now with now joy.

Please help!
Please check that the ipxe file actually starts with !#ipxe and does not have any BOM chars in the begining.
You can test by using imgfetch http://10.10.10.10/iPXE/boot.ipxe
then imgstat which should show as script, if it says NBP instead you have an issue with the script.

If that does not resolve the issue, read on...

When you have issues what does your http log says?

What is the pciid of your nic? (you can run config in ipxe to show lots of settings, the netX/busid is what I'm after to know which nic you are using)
Have you tested on multiple machines?
Reference URL's