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

    Cant boot to fog UEFI or Legacy

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    26
    4.7k
    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.
    • S
      Snaggel
      last edited by

      Nothing is coming up a big loop. Fog server is on the same static network as the dhcp server. this is different then the dhcp network. the server is a VM on Centos 7 fog version 1.5.0 which i also cant upgrade to 1.5.2. i added a tcpdump[0_1524244729570_output1.pcap](Uploading 100%) i can ping both devices from each other. I’m not even able to bring up a menu to register the host. Please let me know if their is anything else you need.
      file is undionly.kpxe for option 67 and 66 is the ip of the fog server. using a dell latitude E7250 secure boot is off.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • S
        Snaggel @Snaggel
        last edited by

        @snaggel So we figured out the port on our switch was a trunk port. we cleared the configuration on the port. we also enabled portfast on it. we tested and it registers the host and loaded images. just wanted to let everyone know. thanks again. now on to getting it activated through KMS.

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

          @snaggel When uploading files, please allow them more time. Your file upload didn’t complete. Please try to re-post it.

          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
            Snaggel
            last edited by

            ok uploading it did say 100% sorry about that. here is a new one.[0_1524250529919_output2.pcap](Uploading 100%) it was a pcap i will change the EXT. changed ext to txt. 0_1524250667836_output2.txt

            1 Reply Last reply Reply Quote 0
            • S
              Snaggel
              last edited by

              I was wondering if you had time to look at the output file yet?

              Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Snaggel
                last edited by

                @snaggel I’ve just looked it over. These IP addresses are serving DHCP:

                • 10.10.60.11
                • 10.10.60.248
                • 10.10.60.240

                All of the offers from those three addresses are identical for DHCP options 66 and 67.

                I think the problem might be further along - this DHCP traffic looks fine to me. Can you do another capture but allow TFTP and HTTP also? If you’re unfamiliar with how to filter those, you could filter by the FOG Server’s IP address and this host’s IP address. Or you could give us an unfiltered file.

                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
                • george1421G
                  george1421 Moderator @Snaggel
                  last edited by

                  @snaggel The issue is that you are trying to pxe boot a uefi system (type BC/0007) but your dhcp servers are telling the client to boot with undionly.kpxe (a bios [legacy] boot loader). That simply isn’t going to work. You need to update your dhcp servers to be dynamic in the handing out of boot file names or only boot one kind of hardware.

                  ref: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Using_Windows_Server_2012_.28R1_and_later.29_DHCP_Policy

                  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 S 2 Replies Last reply Reply Quote 1
                  • Wayne WorkmanW
                    Wayne Workman @george1421
                    last edited by

                    @george1421 I’m surprised I missed that. Thanks 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
                      Snaggel
                      last edited by george1421

                      here is the unfiltered pcap which is now a txt file.

                      [mod note] pcap file was removed -Geo

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

                        @snaggel I removed your pcap file. It contained way to much information that should be posted on a public forum. Please use the capture filter of port 67 or port 68 or port 69 or port 4011 to capture just the pxe booting packets.

                        But again your issue is related to sending the wrong boot loader to the target 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!

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Snaggel @george1421
                          last edited by

                          @george1421 thanks for that. also what boot loader should i use. i pretty sure i sent the pcap file with those filters first and was aked to get an unfiltered one and/or http and tftp filtered.

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

                            @snaggel typically for uefi systems you want to send ipxe.efi and for legacy/bios systems you would send undionly.kpxe.

                            In your first pcap the pxe booting computer was uefi because it said it was type BC in dhcp option 93 or 94 (sorry old memory). That is what the dhcp server will use to determine which file name to send back to the client in the dhcp offer packet. In your case you have 3 dhcp servers all sending back undionly.kpxe, which will of course not be liked by a uefi system.

                            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
                            • S
                              Snaggel @george1421
                              last edited by

                              @george1421 ok i checked out the WIKI has anyone been able to do this for a 2008 server? this is what we are using for our dhcp server. if this has not been working what are any work arounds then?

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

                                @snaggel Ugh, 2008 that’s to 10 years ago…

                                There may be other options depending on what OS is running on your fog server. You could enable dnsmasq on the fog server to hand out the proper boot information.

                                You might want to explain why you have 3 dhcp servers replying to this one pxe booting client. This is typically not what you want to happen.

                                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!

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Snaggel @george1421
                                  last edited by

                                  @george1421 agreed on the 10 years ago but it isnt up to me. my fog server is running centos 7. i will also be figuring out why those other 2 ip address are handing out dhcp as well

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

                                    @snaggel OK for centos 7, there is dnsmasq version 2.76 available. That is the minimum version needed to support dynamic boot files.

                                    I can understand having 2 dhcp server (primary and secondary) as long as each one doesn’t hand out the same IP address range. 3 is a bit strange.

                                    If you want to go ahead with dnsmasq then I can take you down that path. One question, do you have multiple subnets at your location? dnsmasq (as well as dhcp) can only listen for dhcp request on the same subnet where the server is located. If you have multiple subnets then you will need to make an adjustment to the dhcp helper service on your subnet router. The setup is actually rather easy to do. The risks are if the fog server is powered off, then no pxe booting. That should’t be an issue if you are only using fog for pxe booting

                                    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!

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Snaggel @george1421
                                      last edited by

                                      @george1421 ok we do have 2 subnets. dhcp and static but both can communicate across each other. ping back and fourth. i talked to our network engineer here what he stated is those ip address 10.10.60.240 and 248 are not handing out dhcp. since we were connected to the core router and we were seeing other device asking through a switch which is what those address are. they were other switches. plus viewing traffic only on 66 67 69 ports will see that. again one dhcp server 2 subnets actually 3 for our phones. will this be an issue? im going to try the ipxe for the uefi one and see what happens as i wait for your reply.

                                      george1421G S 2 Replies Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @Snaggel
                                        last edited by

                                        @snaggel Ive been looking at your pcap file again and I do find what .240 and .248 are telling the client a bit suspicious. But if its working for you, who am I to say.

                                        One last question. for the clients you want to image, will they be pxe booting on the 10.10.60.0/24 subnet or on another subnet?

                                        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
                                        • S
                                          Snaggel @Snaggel
                                          last edited by

                                          @snaggel Tried the ipxe boot loader and was getting these errors. it did bring up the menu this is after i tried to register the host. 0_1524683002021_pxe error.jpg

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

                                            @Snaggel Please try connecting a dump mini switch between the client and your main network switch. Try again.

                                            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

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

                                              @sebastian-roth not sure if i have a dumb switch to test with

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

                                              154

                                              Online

                                              12.0k

                                              Users

                                              17.3k

                                              Topics

                                              155.2k

                                              Posts
                                              Copyright © 2012-2024 FOG Project