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

    Can't pxe boot UEFI

    FOG Problems
    4
    11
    207
    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.
    • K
      koni last edited by

      Hi,
      I recently installed Fogproject on a ubuntu server 20.04. I aim to image 15 UEFI computers but I got issues with TFTP. When I boot a computer in pxe mode, he received an IP address but didn’t receive boot file.
      Capture d’écran du 2022-04-15 12-13-26.png
      My boot file are download in /root/fogproject/package/tftp
      Fogserver is configured as a DHCP
      Tcpdump when computer is booting
      Capture d’écran du 2022-04-15 12-10-02.png
      Thanks a lot for your help
      Vivien

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

        @koni said in Can't pxe boot UEFI:

        But I didn’t find the pxelinux.cfg

        That is correct you should not find pxelinux.cfg because that is for the syslinux boot loader not iPXE. To add items to the iPXE menu you do that via the web ui in FOG Configuration -> iPXE Menu, menus. There is no need to hand edit the boot menus.

        Just for reference: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

        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
        • K
          koni @george1421 last edited by

          @george1421 Hi, the dhcp server is my fogserver and all is working rn. But I didn’t find the pxelinux.cfg in /tftpboot/. I want to edit the boot menu by adding some chainloader but cant find the cfg file
          Thanks !

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

            @koni You followed the proper steps. Will you confirm that you have a /tftpboot directory with ipxe.efi located in it?

            If yes, then update your dhcp server to contain only ipxe.efi (for uefi) or undionly.kpxe (for bios based) pxe boot computer.

            Edit: sorry I didn’t see your other posts so this might not be helpful, but what device is your dhcp server? Is it FOG or something else?

            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!

            K 1 Reply Last reply Reply Quote 0
            • K
              koni last edited by

              I did a fresh install and did not put fogproject into /root it seems working tell you more later

              1 Reply Last reply Reply Quote 0
              • K
                koni last edited by

                @larmurier1383 No other DHCP. I don’t know where to put the fog ip address, in dhcpd.conf files ?
                Thanks for all your answers !

                1 Reply Last reply Reply Quote 0
                • K
                  koni @Sebastian Roth last edited by

                  @sebastian-roth With no path it didnt find the files either. So I try to do so

                  1 Reply Last reply Reply Quote 0
                  • K
                    koni @george1421 last edited by

                    @george1421 I followed those lines :
                    apt-get -y update
                    apt-get -y dist-upgrade
                    apt-get -y autoclean
                    apt-get -y autoremove
                    apt-get -y install git
                    git clone https://github.com/FOGProject/fogproject.git /root/fogproject
                    cd /root/fogproject/bin
                    ./installfog.sh

                    I believe placing fog in root directory is a mistake ?

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

                      @koni I get the idea that you downloaded the git repository but did not actually install FOG properly. The tftp server document root is /tftpboot (or where ever ubuntu hides it by default). You can only place files in the tftp document root, you can’t reference files anywhere on the filesystem, especially root’s home directory.

                      Can you tell us how you installed FOG?

                      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!

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

                        @koni said in Can't pxe boot UEFI:

                        My boot file are download in /root/fogproject/package/tftp

                        Why do you use those files? The FOG installer will copy those to /tftpboot for you. Then no path needs to be specified. Simply the boot filename, e.g. ipxe.efi

                        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

                        K 1 Reply Last reply Reply Quote 0
                        • Larmurier1383
                          Larmurier1383 last edited by

                          Hi, did you have another dhcp on your network?
                          if they ask you the tftp server juste type the fog ip address and it will be work

                          Thank's for the reply

                          If you can't reach me here you can contatct me at my discord : Trailer-Park-Boys#0666

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

                          205
                          Online

                          10.4k
                          Users

                          16.4k
                          Topics

                          150.6k
                          Posts

                          Copyright © 2012-2023 FOG Project