PXE Booting ESXI 6.7u2

  • Moderator

    @nexx34 So just to confirm you followed my instructions exactly and didn’t deviate at all?’

    Are you seeing the FOG iPXE menu at all when you boot the ipxe.efi?

  • @Sebastian-Roth Thanks, then it’ll be:
    Default: undionly.kpxe
    uefi32: i386-efi/ipxe.efi
    uefi64: ipxe.efi
    The weird thing is, that with this even a VM that is set to uefi boot will not work.
    It had 386MiB ram, was that too little?
    In fact, my T420 that is confirmed to be uefi, will not boot PXE FOG when I set it to boot uefi exclusively.
    I am pretty sure it is 64bit, but I can’t find for sure.
    I’ll play around a bit with the entries in pfsense and report back in a bit.

  • Senior Developer

    @nexx34 said in PXE Booting ESXI 6.7u2:

    Default: undionly.kpxe
    uefi32: ipxe.efi
    uefi64: ipxe.efi

    There should also be i386-efi/ipxe.efi for 32 bit UEFI machines.

  • @george1421 I have removed the curly brackets, I only modified the boot.cfg in the /images/os/esxi/6.7u2/efi/boot/boot.cfg path, but I don’t think the other one matters since the only one being called is the one I modified. Thanks very much for the new instructions, maybe I just have to use tftp for this stuff.
    By the way, you may have forgone replacing your IP with {fog-ip} in the section where you give the contents to be added to the “prefix=” line in the boot.cfg.

    Thanks for all your effort, I must be doing something dumb for it to not work, maybe there’s something with my computer I am using to test? It is pretty a old uefi…(though that shouldn’t be the catch).

  • Moderator

    I updated the install instructions to include ESXi 6.7u2. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/20

    Make sure when you update the boot.cfg you remove the curly braces around the IP address of your fog server or NFS won’t work.

  • Moderator

    @nexx34 I was able to boot a Dell laptop 7240 into the esxi 6.7 installer using my instructions tweaked for 6.7u2

  • @Sebastian-Roth
    Thanks for clarifying that!
    I also tried using a VM to boot with ESXI over PXE, but it didn’t change anything.
    So I will now have my config like this?
    Default: undionly.kpxe
    uefi32: ipxe.efi
    uefi64: ipxe.efi

    At any rate; it is amazing how supportive you all are! Thanks.

  • Senior Developer

    @nexx34 said in PXE Booting ESXI 6.7u2:

    ipxe.efi or ipxe.kpxe or ipxe.kkpxe

    Despite the names those are binaries for different platforms. While the first one is for UEFI, the later two are for legacy BIOS!

  • @george1421
    I am guessing the machine used the CSM module to boot BIOS instead of uefi when I was using undionly.kpxe, but even if I use ipxe.efi or ipxe.kpxe or ipxe.kkpxe in place of it I am still getting that same old error.
    Sorry, I have the feeling it is going to be something basic I missed.
    I have three option about what to send in the pfsense:
    Default BIOS:
    However the system only seems to react to the first default option, as when I leave that blank and put the corresponding option into the second and third options, I get nothing, it fails to pxe boot.

  • Moderator

    @nexx34 Ok so you need to send ipxe.efi to that target computer not undionly.kpxe. I’m suspecting that you have pfsense configured correctly and just misspoke about the boot file. Because undionly.kpxe should not boot (ever) on a uefi system yet you mentioned an ipxe error number.

    I just downloaded ESXi 6.7. I’ll see if I can set it up during my lunch hour. I know I had 6.5 netbooting.

  • @george1421

    It is uefi. (It’s a T420 Thinkpad TP00015A)

  • Moderator

    @nexx34 said in PXE Booting ESXI 6.7u2:

    A detail that may be important is the fact that the dhcp is being managed by a pfsense firewall, I have set undionly.kpxe in there as I should have. Entering the ipxe shell by pressing “s” and then typing “show dns” returns what I expected, as it is.

    First thing is that the instructions are for a UEFI system but you are sending undionly.kpxe to the target computer. What mode is the target computer in? (bios or uefi)?

  • @george1421 Thanks for the pointer.
    I followed your instruction.
    ( https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/16 )
    Sadly I am getting iPXE error 3e11613b (it doesn’t find the file I guess?) for bootx64.efi (and probably for boot.cfg, too).
    I have validated that my parameters in the WebUI entry are correct (I have os.esxi67u2 in the “Menu Item” option) and have otherwise done my best to make sure I am not doing anything incorrectly.

    A detail that may be important is the fact that the dhcp is being managed by a pfsense firewall, I have set undionly.kpxe in there as I should have. Entering the ipxe shell by pressing “s” and then typing “show dns” returns what I expected, as it is.

    I am sorry (especially if it is a noob mistake) that I have to ask again, and I can fully understand if you don’t have time to answer, I would be very thankful though. I will try the tftp option at the bottom of the instructions now, but I would prefer nfs.

    Thanks for reading and have a nice day.

  • Moderator

    I would look at this post to get an idea how to start: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/16
    I realize its for 6.5, but the concepts should be pretty close for 6.7.

  • Okay, sorry for being a nuisance, the directory picking works as follows:
    automatically goes to
    in my case, then the correct thing to append to this would have been:

    I left out the “fog”, sorry, but maybe this helps someone else that is also new to the project.
    However, I am not much closer to my solution, as all I get now is a black screen and a blinking cursor.

Log in to reply