• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

PXE Boot not working - Windows 2019 DHCP

Scheduled Pinned Locked Moved
Windows Problems
3
8
1.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    multipass
    last edited by Aug 12, 2022, 2:33 PM

    Hey,

    I’m having trouble getting my machines to boot to FOG.
    On a BIOS machine it just times out at the TFTP stage
    On a Lenovo UEFI machine I just get “boot failed”
    I have disabled secure boot.

    I am running FOG on a Debian 11 VM on an ESXI host
    our DHCP server is a windows 2019 server

    I’ve set option 66 to the IP of the fog machine
    option 67 is udionly.kpxe

    I did follow the windows 2012 settings in this guide but it didn’t help
    https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence#Using_Windows_Server_2012_.28R1_and_later.29_DHCP_Policy

    I’ve probably done something wrong (I blame the UK heatwave) so I’m hoping someone can hold my hand and help me out.

    Cheers

    J G 2 Replies Last reply Aug 12, 2022, 4:40 PM Reply Quote 0
    • J
      JJ Fullmer Testers @multipass
      last edited by Aug 12, 2022, 4:40 PM

      @multipass Is this a completely new setup or was it working and it broke?
      The BIOS and UEFI co-existence page might need some updating, but I believe it’s still accurate from the last time I utilized it. I don’t use the co-existence anymore because we were able to get all uefi machines.

      I’d try to get it work without the vendor policies first and then add those after.

      If you have a way to mount the TFTP share of fog elsewhere, that would be a good test to make sure that’s running correctly
      I also find setting the options for DHCP per scope is helpful

      Have you tried the FogApi powershell module? It's pretty cool IMHO
      https://github.com/darksidemilk/FogApi
      https://fogapi.readthedocs.io/en/latest/
      https://www.powershellgallery.com/packages/FogApi
      https://forums.fogproject.org/topic/12026/powershell-api-module

      M 1 Reply Last reply Aug 16, 2022, 1:22 PM Reply Quote 0
      • M
        multipass @JJ Fullmer
        last edited by Aug 16, 2022, 1:22 PM

        @jj-fullmer This is a completely new setup.

        Are there any guides you’ve seen for moving the TFTP share?

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator @multipass
          last edited by Aug 16, 2022, 11:17 PM

          @multipass said in PXE Boot not working - Windows 2019 DHCP:

          option 67 is udionly.kpxe

          Hopefully this is just a type-o in this thread, but the file name is undionly.kpxe you are missing the n in the name. Secondly undionly.kpxe is a bios boot loader. For uefi you need to send ipxe.efi or snp.efi in dhcp option 67.

          Is the FOG server on the same subnet as the target computer? If yes then we might want to grab a packet capture [pcap] of the pxe booting process.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          M 1 Reply Last reply Aug 17, 2022, 3:30 PM Reply Quote 0
          • M
            multipass @george1421
            last edited by Aug 17, 2022, 3:30 PM

            @george1421 that was a typo in the thread, ive changed option 67 to ipxe.efi and I’ve now noticed that on a UEFI machine I very briefly get the below

            NBP filename is ipxe.efi
            NBP filesize is 0 bytes
            PXE-E99: Unexpected Network Error.

            G 1 Reply Last reply Aug 17, 2022, 3:31 PM Reply Quote 0
            • G
              george1421 Moderator @multipass
              last edited by Aug 17, 2022, 3:31 PM

              @multipass Is the fog server on the same ip subnet as the target computer?

              Is the fog server at the same site as the pxe booting computer?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

              M 1 Reply Last reply Aug 17, 2022, 3:37 PM Reply Quote 0
              • M
                multipass @george1421
                last edited by Aug 17, 2022, 3:37 PM

                @george1421 yeah its on the same network

                G 1 Reply Last reply Aug 17, 2022, 3:54 PM Reply Quote 0
                • G
                  george1421 Moderator @multipass
                  last edited by Aug 17, 2022, 3:54 PM

                  @multipass ok would you follow this tutorial to capture a pcap of the pxe booting process. https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                  Upload that pcap to a file share site and DM me the link using FOG chat. I’ll take a look at it for the next steps. The capture filter will only collect the dhcp process and no other traffic on your network.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    4/8
                    Last post

                  155

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project