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

Boot in PXE uefi

Scheduled Pinned Locked Moved Solved
General
2
10
3.3k
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 Dec 15, 2023, 10:41 AM

    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.

    G 1 Reply Last reply Dec 15, 2023, 3:15 PM Reply Quote 0
    • G
      GlaDio @george1421
      last edited by Jan 16, 2024, 2:31 PM

      @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
      • G
        george1421 Moderator @GlaDio
        last edited by Dec 15, 2023, 3:15 PM

        @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 Dec 18, 2023, 9:23 AM Reply Quote 0
        • G
          GlaDio @george1421
          last edited by Dec 18, 2023, 9:23 AM

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

          G 1 Reply Last reply Dec 18, 2023, 9:44 AM Reply Quote 0
          • G
            GlaDio @GlaDio
            last edited by Dec 18, 2023, 9:44 AM

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

            G 1 Reply Last reply Dec 18, 2023, 12:37 PM Reply Quote 0
            • G
              george1421 Moderator @GlaDio
              last edited by Dec 18, 2023, 12:37 PM

              @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 Dec 18, 2023, 12:44 PM Reply Quote 0
              • G
                GlaDio @george1421
                last edited by Dec 18, 2023, 12:44 PM

                @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 Dec 22, 2023, 3:26 AM Dec 22, 2023, 9:25 AM

                  @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 ?

                  G 1 Reply Last reply Dec 22, 2023, 6:44 PM Reply Quote 0
                  • G
                    george1421 Moderator @GlaDio
                    last edited by Dec 22, 2023, 6:44 PM

                    @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 Jan 15, 2024, 11:16 AM Reply Quote 0
                    • G
                      GlaDio @george1421
                      last edited by Jan 15, 2024, 11:16 AM

                      @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 Jan 16, 2024, 2:31 PM

                        @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, G george1421, Jan 17, 2024, 10:38 PM]]
                        • [[undefined-on, G george1421, Jan 17, 2024, 10:39 PM]]
                        • 1 / 1
                        • First post
                          Last post

                        233

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project