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

    Problems with PXE Boot (BIOS/UEFI) with Windows Hyper-V VM

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    5
    14
    6.8k
    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.
    • C
      CMTprj
      last edited by

      FOG Server
      • FOG Version: 1.44 (6077) running on Kubuntu 16.04.3 LTS
        Static IP: 192.168.20.251
      DHCP Server
      • Windows 2016 (patches up to date)
        Static IP: 192.168.20.208
        Option 66 = 192.168.20.251
        Option 67 = undionly.kpxe
      Client

      Windows 2016 Hyper-V Host
      New Virtual Machine (Gen1 - using Microsoft defaults)
      DHCP

      Description

      My company has an SCCM setup that is 2-3 years old and we want to move away from SCCM to FOG for our imaging. I have disabled PXE on the SCCM server.

      I have setup a new server and successfully have FOG installed and running. I need some assistance in setting up the PXE Booting for both BOIS and UEFI. I want to work on BIOS first. Once I have this correctly completed I will work on UEFI.

      I thought I had everything correctly created but my VM will not successfully boot with a BIOS based PXE boot. See screen shots.

      0_1503854571555_GEN1-Settings.PNG

      0_1503854576811_GEN1 BIOS - Post screen.PNG

      Thank you for your help

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        is 192.168.0.1 your fog server IP? have you updated your DHCP option 66 and 67 to point to the fog server? Have you looked through these articles:
        https://wiki.fogproject.org/wiki/index.php?title=Modifying_existing_DHCP_server_to_work_with_FOG
        https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • C
          CMTprj
          last edited by

          Thank you for the quick reply - I have reviewed these documents and confirmed that my fog server is 192.168.20.251 and have the options 66 set to 192.168.20.251
          Here are a few screen shots of my FOG settings. I set the static IP prior to the FOG install and am running defaults at this point.
          0_1503855208636_Windows DHCP.PNG
          0_1503855213350_FOG-TFTP.PNG 0_1503855217137_FOG - Web Settings.PNG

          1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by

            My initial reaction is that you have 2 dhcp servers on your network.

            If your fog server, dhcp server, and pxe booting client are on the same subnet, we can use the FOG server to eavesdrop on the pxe booting process to tell us what is going on.

            Please follow these instructions: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

            Upload the pcap to a google drive or drop box and post the link here. If you don’t want to post the link in a public forum, send me an IM and we’ll take a look at it. The captured file will tell us the actors in your pxe booting play.

            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!

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @george1421
              last edited by

              @george1421 said in Problems with PXE Boot (BIOS/UEFI) with Windows Hyper-V VM:

              My initial reaction is that you have 2 dhcp servers on your network.

              I agree with George.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                @CMTprj Maybe that Hyper-V network adapter is set to NAT instead of bridged. If not then follow Georg’s great post.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • J
                  jschoffstall
                  last edited by

                  We are currently using the undionly.kkpxe file instead of undionly.kpxe to boot Hyper-V Gen1 /bios VMs. This file is also working correctly for the physical hardware that we have tried it on so far.

                  1 Reply Last reply Reply Quote 0
                  • C
                    CMTprj
                    last edited by

                    Thank you for the help. I used Wireshark and found my rogue DHCP server. Turned out to be an AudioCodes SIP Appliance that was recently added to our network. I have that disabled and now when my Hyper-V GEN1 virtual machine boots it is asking for the TFTP server ip address. 0_1503993659620_have to type in TFTP IP.PNG
                    This is not the behavior I want… When I do type in the address if times out
                    0_1503993763532_TFTP Connection Timeout.PNG

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @CMTprj
                      last edited by

                      @cmtprj If iPXE asks for a tftp server then your dhcp server isn’t filling out the pxe boot request correctly. You need to have the next-server and boot-file fields set correctly in the dhcp offer header.

                      What device is your dhcp server?

                      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
                      • C
                        CMTprj
                        last edited by

                        I am using a Windows 2016 server for my DHCP services.

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @CMTprj
                          last edited by

                          @cmtprj if you can, is it possible to get a pcap of the exact communications where you need to key in the tftp IP address? There is something going on there that we need to understand.

                          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
                          • C
                            CMTprj
                            last edited by

                            I am in doing a training for my Company tomorrow then heading out for vacation. Let me catch up with you when I return next week.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @CMTprj Any news on this?

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • C
                                CMTprj
                                last edited by

                                Sorry for the late response. I have not solved the issue but I also need to get some other items finished. I believe the root cause in this situation is not FOG but SCCM getting in the way. I might not have time to circle back to this until next month. I am leaving for our Florida office in a few days to help with things down there and attending Microsoft Ignite that last week of the month.

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

                                200

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project