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

    Boot in PXE uefi

    Scheduled Pinned Locked Moved Solved
    General
    2
    10
    2.9k
    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.
    • G
      GlaDio
      last edited by

      Hello,

      I hope this message finds you well. I’m currently facing a challenge with booting in UEFI PXE mode using Fog Project and was hoping to get some guidance. I’ve encountered the following situation:

      When attempting to boot in UEFI PXE mode, I see the message “Start PXE over IPv4,” followed by the Station and Server IP addresses, the NBP filename (undionly.kpxe), and its size. However, the process seems to halt, and I am redirected back to the PXE boot menu without further progress.

      Here are some details about my setup:

      Server IP address: 192.168.42.233
      Client IP address: 192.168.42.71
      NBP filename: undionly.kpxe

      I already tried to capture an image on a another client but that was with legacy pxe boot, not uefi and with legacy its working. Do i need to setup something ?
      I have reviewed the documentation and forums but haven’t found a solution yet.

      Thank you in advance for your time and support.

      george1421G 1 Reply Last reply Reply Quote 0
      • G
        GlaDio @george1421
        last edited by

        @george1421 Thank You !
        I reinstall fog with ./install and everything works now !
        Maybe I did a bad installation and by restarting the installer it “fixed” the bootloaders. Have a great day !

        P.S.: I really appreciate fog project thank you for all your work

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

          @GlaDio said in Boot in PXE uefi:

          NBP filename: undionly.kpxe

          This is your problem. The design of the computer’s firmware is different between bios and uefi. Because of this each firmware requires a different boot loader and technically operating system.

          You are sending undionly.kpxe (bios boot loader) to a uefi system. It doesn’t know what to do with the file so it rejects it. For a uefi system you need to see the uefi boot loader of ipxe.efi or snponly.efi (its akin to undionly.kpxe). With a uefi boot loader that target computer will accept it as long as secure boot is disabled in the firmware.

          If you have a mix of bios and uefi computers on your campus then you might need some configuration that support both uefi and bios pxe booing.

          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!

          G 1 Reply Last reply Reply Quote 0
          • G
            GlaDio @george1421
            last edited by

            @george1421 Oh okay, and how can i use a different boot loader ? where do i need to configure that ?

            G 1 Reply Last reply Reply Quote 0
            • G
              GlaDio @GlaDio
              last edited by

              @GlaDio Okay i think i found the answer of my question. I need to configure it on my dhcp server ?

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

                @GlaDio said in Boot in PXE uefi:

                I need to configure it on my dhcp server

                Correct. DHCP option 67 needs to be updated for bios vs uefi. Some dhcp servers have the ability to adjust this value based on the target computer’s need. There are configurations for linux and windows dhcp servers, pfsense has this ability out of the box.

                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!

                G 2 Replies Last reply Reply Quote 0
                • G
                  GlaDio @george1421
                  last edited by

                  @george1421 Okay, thank you for the information i really appreciate it !

                  1 Reply Last reply Reply Quote 0
                  • G
                    GlaDio @george1421
                    last edited by GlaDio

                    @george1421 Hello,

                    So i did the configuration on the dhcp but now i have this error :

                    Start PXE over IPv4
                    Station IP address is 192.168.42.71

                    Server IP address is 192.168.42.233
                    NBP Filename is ipxe.efi
                    NBP filesize is 0 bytes
                    PXE-E23: Client received TFTP error from server

                    What can i do please ?

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

                      @GlaDio said in Boot in PXE uefi:

                      Server IP address is 192.168.42.233

                      Just confirming if this is indeed your fog server’s IP address??

                      If yes then would there be anything that might block the download of this file?

                      If this a new FOG install, where this is the first time you are trying to pxe boot “any” computer? If yes, please confirm that there are files in the /tftpboot directory? If there are no files in that directory then your installation has failed. The install has 3 steps. 1) install fog from the linux command shell. 2) When instructed go to the web ui and install/upgrade the database. 3) Return to the web ui and complete the installation. Some people miss this last step to go back to the linux console and complete the install. There are several fog specific packages that get installed at step 3.

                      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!

                      G 2 Replies Last reply Reply Quote 0
                      • G
                        GlaDio @george1421
                        last edited by

                        @george1421 Hi,

                        Sorry for the late reply. I checked the tftpboot directory on the server and the boot loader is indeed listed in there with many others. I can also confirm that the Fog server IP address is 192.168.42.233. I don’t know what to do
                        Thanks for your help.

                        1 Reply Last reply Reply Quote 0
                        • G
                          GlaDio @george1421
                          last edited by

                          @george1421 Thank You !
                          I reinstall fog with ./install and everything works now !
                          Maybe I did a bad installation and by restarting the installer it “fixed” the bootloaders. Have a great day !

                          P.S.: I really appreciate fog project thank you for all your work

                          1 Reply Last reply Reply Quote 0
                          • [[undefined-on, george1421G george1421, ]]
                          • [[undefined-on, george1421G george1421, ]]
                          • 1 / 1
                          • First post
                            Last post

                          150

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project