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

Can't pxe boot UEFI

Scheduled Pinned Locked Moved
FOG Problems
4
11
985
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 Apr 15, 2022, 10:14 AM

    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

    G 1 Reply Last reply Apr 15, 2022, 11:51 AM Reply Quote 0
    • L
      Larmurier1383
      last edited by Apr 15, 2022, 10:22 AM

      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
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth Apr 15, 2022, 5:22 AM Apr 15, 2022, 11:21 AM

        @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 Apr 15, 2022, 12:08 PM Reply Quote 0
        • G
          george1421 Moderator @koni
          last edited by Apr 15, 2022, 11:51 AM

          @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 Apr 15, 2022, 12:05 PM Reply Quote 0
          • K
            koni @george1421
            last edited by Apr 15, 2022, 12:05 PM

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

            G 1 Reply Last reply Apr 15, 2022, 12:47 PM Reply Quote 0
            • K
              koni @Sebastian Roth
              last edited by Apr 15, 2022, 12:08 PM

              @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
                last edited by Apr 15, 2022, 12:11 PM

                @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
                  last edited by Apr 15, 2022, 12:38 PM

                  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
                  • G
                    george1421 Moderator @koni
                    last edited by george1421 Apr 15, 2022, 6:48 AM Apr 15, 2022, 12:47 PM

                    @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 Apr 21, 2022, 7:46 AM Reply Quote 0
                    • K
                      koni @george1421
                      last edited by Apr 21, 2022, 7:46 AM

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

                      G 1 Reply Last reply Apr 21, 2022, 10:13 AM Reply Quote 0
                      • G
                        george1421 Moderator @koni
                        last edited by Apr 21, 2022, 10:13 AM

                        @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
                        • 1 / 1
                        1 / 1
                        • First post
                          1/11
                          Last post

                        192

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project