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

    TFTP Boot File Not Found

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    tftp boot file 2012r2 ubuntu 16.04
    3
    18
    11.1k
    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.
    • B
      BiologyBen
      last edited by BiologyBen

      Be gentle - I’m not a super-techy person…

      Server
      • FOG Version: 1.4.0
      • OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server

      2012r2 server functions as DC, AD DS, DNS, DHCP

      Client
      • Service Version: 0.11.12 (Smart Installer)
      • OS: Windows 7

      IP Addresses
      Router 10.0.1.1
      Win2012r2 Server 10.0.1.2
      FOG 10.0.1.4
      Host/Client 10.0.1.100

      Activated Hyper V on windows 2012R2 Server. Installed Ubuntu 16.04 LTS, Installed Fog 1.4.0 and can successfully see 10.0.1.4/fog from any PC in the subnet

      Ensured Win2012R2 DHCP server included options 66 (10.0.1.4) & 67 ( undionly.kpxe)

      Installed Fog Client from server download and have added Host to FOG.

      At bootup, Host shows:

      Client IP: 10.0.1.100 Mask: 255.255.255.0 DHCP IP: 10.0.1.2
      Gateway IP: 10.0.1.1
      TFTP.
      PXE-T01: File not found
      PXE-e3b: TFTP Error - File not found
      PXE-M8F: Exiting PXE ROM
      

      I’m looking for ideas for next steps to get this up and running for imaging!

      For instance - How do I ensure TFTP is running on FOG? And if not, how to activate it? (The blank of ‘TFTP’ above would indicate to me that it either can’t find the service or cant get to 10.0.1.4)

      Your help is much appreciated! But please be detailed in your reply - I can follow directions, but am not a techspert. Thank you in advance!

      SERVER

      FOG Version: 1.4.0
      OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
      2012r2 server functions as DC, AD DS, DNS, DHCP

      CLIENT

      Service Version: 0.11.12 (Smart Installer)
      OS: Windows 7

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

        @BiologyBen I’m thinking that your dhcp server isn’t configured correctly.

        When you installed fog did you answer no to using the dhcp server built into FOG?

        If fog and your pxe booting clients are on the same subnet (they are according to your IP addresses) then we can use the fog server to listen in on the dhcp setup of your pxe client. This is a bit techie, but I have a tutorial you can follow.

        The idea is that we will start the receiver on the FOG server then try to pxe boot the target computer. Do this until you get the error. Then stop the receiver (tcpdump) on the fog server and then upload the pcap here so we can review.

        https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

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

          To answer your question how to know if tftp is running on the fog server. The easiest way is to check to see if its listening on the tftp port.

          netstat -an |grep 69

          if its running your output should look like this:

          [root@sfog03 bin]# netstat -an|grep 69
          udp        0      0 0.0.0.0:69              0.0.0.0:*
          

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            BiologyBen
            last edited by

            @george1421 said in TFTP Boot File Not Found:

            When you installed fog did you answer no to using the dhcp server built into FOG?

            Right - I believe I answered no as I knew we had DHCP on the 2012 server.

            @george1421 said in TFTP Boot File Not Found:

            If fog and your pxe booting clients are on the same subnet

            Yes - They are.

            I’ll try to follow the guide and let you know.

            SERVER

            FOG Version: 1.4.0
            OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
            2012r2 server functions as DC, AD DS, DNS, DHCP

            CLIENT

            Service Version: 0.11.12 (Smart Installer)
            OS: Windows 7

            1 Reply Last reply Reply Quote 0
            • B
              BiologyBen @george1421
              last edited by george1421

              @george1421 said in TFTP Boot File Not Found:

              if its running your output should look like this:
              [root@sfog03 bin]# netstat -an|grep 69
              udp 0 0 0.0.0.0:69 0.0.0.0:*

              I get:

              udp        0      0 0.0.0.0:69              0.0.0.0:*                          
              udp        0      0 0.0.0.0:56930           0.0.0.0:*                          
              udp6       0      0 :::69                   :::*                               
              udp6       0      0 :::51369                :::*    
              
              I get udp6       0      0 :::69                   :::*                               
              udp6       0      0 :::51369                :::*
              

              Which does have one line that matches yours 😉

              Working on the other - gedit wouldn’t open - here it is

              [0_1496768752259_output.pcap](Uploading 100%)
              – Oops - apparently I cannot upload this file type and it is obviously not a txt file - Installing wireshark…

              SERVER

              FOG Version: 1.4.0
              OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
              2012r2 server functions as DC, AD DS, DNS, DHCP

              CLIENT

              Service Version: 0.11.12 (Smart Installer)
              OS: Windows 7

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

                @BiologyBen you should be able to upload, if not please copy it to a google drive or dropbox. Reading a pxe boot is an art more than skill.

                As far as you up load it looked like it completed.

                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!

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

                  @BiologyBen Maybe the TFTP boot files were not properly copied? What do you see when running ls -al /tftpboot on your FOG server?

                  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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BiologyBen @george1421
                    last edited by

                    @george1421

                    Unfortunately, I get (Error - Invalid file type. Allowed types are: .png, .jpg, .bmp, .jpeg) whether I choose upload image or upload file.

                    https://drive.google.com/file/d/0B4QEf62K03tMZU53dDl6Zjk3eTg/view?usp=sharing

                    SERVER

                    FOG Version: 1.4.0
                    OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
                    2012r2 server functions as DC, AD DS, DNS, DHCP

                    CLIENT

                    Service Version: 0.11.12 (Smart Installer)
                    OS: Windows 7

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

                      @BiologyBen looking at it now

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

                        @BiologyBen on the surface this looks like the target computer booted to the fog menu OK.

                        I’m going to IM you since the turn around time on questions is faster. Look at the talk bubble on the FOG tool tray at the top of the browser window.

                        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
                        • B
                          BiologyBen @Sebastian Roth
                          last edited by

                          @Sebastian-Roth

                          I see the following:

                          admin@fog-Virtual-Machine:~$ ls -al /tftpboot
                          total 7208
                          drwxr-xr-x  6 fog  root   4096 May 30 19:51 .
                          drwxr-xr-x 27 root root   4096 May 30 19:50 ..
                          drwxr-xr-x  2 fog  root   4096 May 30 19:50 10secdelay
                          -rw-r-xr-x  1 fog  root    868 May 30 19:50 boot.txt
                          -rw-r--r--  1 root root    426 May 30 19:51 default.ipxe
                          drwxr-xr-x  2 fog  root   4096 May 30 19:50 i386-7156-efi
                          drwxr-xr-x  2 fog  root   4096 May 30 19:50 i386-efi
                          -rw-r-xr-x  1 fog  root 199200 May 30 19:50 intel7156.efi
                          -rw-r-xr-x  1 fog  root 226624 May 30 19:50 intel.efi
                          -rw-r-xr-x  1 fog  root  95712 May 30 19:50 intel.kkpxe
                          -rw-r-xr-x  1 fog  root  95760 May 30 19:50 intel.kpxe
                          -rw-r-xr-x  1 fog  root  95763 May 30 19:50 intel.pxe
                          -rw-r-xr-x  1 fog  root 942112 May 30 19:50 ipxe7156.efi
                          -rw-r-xr-x  1 fog  root 994048 May 30 19:50 ipxe.efi
                          -rw-r-xr-x  1 fog  root 870400 May 30 19:50 ipxe.iso
                          -rw-r-xr-x  1 fog  root 349096 May 30 19:50 ipxe.kkpxe
                          -rw-r-xr-x  1 fog  root 349144 May 30 19:50 ipxe.kpxe
                          -rw-r-xr-x  1 fog  root 348333 May 30 19:50 ipxe.krn
                          -rw-r-xr-x  1 fog  root 348913 May 30 19:50 ipxe.pxe
                          -rw-r-xr-x  1 fog  root 123448 May 30 19:50 ldlinux.c32
                          -rw-r-xr-x  1 fog  root 187820 May 30 19:50 libcom32.c32
                          -rw-r-xr-x  1 fog  root  26468 May 30 19:50 libutil.c32
                          -rw-r-xr-x  1 fog  root  26140 May 30 19:50 memdisk
                          -rw-r-xr-x  1 fog  root  29208 May 30 19:50 menu.c32
                          -rw-r-xr-x  1 fog  root  43186 May 30 19:50 pxelinux.0
                          -rw-r-xr-x  1 fog  root  43210 May 30 19:50 pxelinux.0.old
                          drwxr-xr-x  2 fog  root   4096 May 30 19:50 pxelinux.cfg
                          -rw-r-xr-x  1 fog  root 199168 May 30 19:50 realtek7156.efi
                          -rw-r-xr-x  1 fog  root 225984 May 30 19:50 realtek.efi
                          -rw-r-xr-x  1 fog  root  96516 May 30 19:50 realtek.kkpxe
                          -rw-r-xr-x  1 fog  root  96564 May 30 19:50 realtek.kpxe
                          -rw-r-xr-x  1 fog  root  96611 May 30 19:50 realtek.pxe
                          -rw-r-xr-x  1 fog  root 197984 May 30 19:50 snp7156.efi
                          -rw-r-xr-x  1 fog  root 225056 May 30 19:50 snp.efi
                          -rw-r-xr-x  1 fog  root 198176 May 30 19:50 snponly7156.efi
                          -rw-r-xr-x  1 fog  root 225248 May 30 19:50 snponly.efi
                          -rw-r-xr-x  1 fog  root  95300 May 30 19:50 undionly.kkpxe
                          -rw-r-xr-x  1 fog  root  95348 May 30 19:50 undionly.kpxe
                          -rw-r-xr-x  1 fog  root  95316 May 30 19:50 undionly.pxe
                          -rw-r-xr-x  1 fog  root  29728 May 30 19:50 vesamenu.c32
                          

                          SERVER

                          FOG Version: 1.4.0
                          OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
                          2012r2 server functions as DC, AD DS, DNS, DHCP

                          CLIENT

                          Service Version: 0.11.12 (Smart Installer)
                          OS: Windows 7

                          1 Reply Last reply Reply Quote 0
                          • B
                            BiologyBen
                            last edited by BiologyBen

                            For posterity sake:

                            In chat, after confirming the machine MAC address, george1421 said, ‘In the pcap file, I see it requesting the file size for undionly.kpxe then asking for the first block, but it never asks for the next block since the block sizes are 1456 but the total file is 95348.’

                            This is an old Dell Optiplex 580 and had bios A05 so I upgraded to A08. Unfortunately, no change yet.

                            SERVER

                            FOG Version: 1.4.0
                            OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
                            2012r2 server functions as DC, AD DS, DNS, DHCP

                            CLIENT

                            Service Version: 0.11.12 (Smart Installer)
                            OS: Windows 7

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

                              @BiologyBen I can’t believe that it took me almost 20 minutes to spot the problem in the PCAP file. I was almost gonna ask you to capture another one where we see the TFTP reply as well. But I am pretty sure we don’t need that.

                              Take a very close look at packet number 10 and 11 in your PCAP file. There is a space (hex 20) in front of the filename. Looking at your initial post I see that space now as well! Maybe copy&paste?? How funny is that!

                              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

                              george1421G B 2 Replies Last reply Reply Quote 1
                              • george1421G
                                george1421 Moderator @Sebastian Roth
                                last edited by

                                @Sebastian-Roth You are 100% correct there. I didn’t spot it until your post. I was focusing on the text not noting the extra space in wireshark when it was listing the values. Looking in the hex editor, sure enough there is hex 0x20 there (space character).

                                As I was telling Ben the pcap looked perfect (minus the extra space). I have seen this condition before so I’ll need to remember this one for next time. Great find!!

                                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
                                • B
                                  BiologyBen @Sebastian Roth
                                  last edited by BiologyBen

                                  @Sebastian-Roth

                                  Absolutely correct - There was a space on my DHCP option 67. The system boots into the fog menu perfectly with it removed.

                                  And here I started to think that maybe it wasn’t a stupid mistake on my part! 😛

                                  SERVER

                                  FOG Version: 1.4.0
                                  OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
                                  2012r2 server functions as DC, AD DS, DNS, DHCP

                                  CLIENT

                                  Service Version: 0.11.12 (Smart Installer)
                                  OS: Windows 7

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

                                    @BiologyBen Don’t worry. We all make mistakes and this forum is just the right place to have some extra pairs of eyes to look at things and find what’s up. 🙂

                                    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

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      BiologyBen @Sebastian Roth
                                      last edited by

                                      @Sebastian-Roth @george1421

                                      Thank you both for all your help! We’ve got 40+ PC’s to image and keep operational for about 1,200 youth at our org and this will make that much, much easier going forward!

                                      SERVER

                                      FOG Version: 1.4.0
                                      OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
                                      2012r2 server functions as DC, AD DS, DNS, DHCP

                                      CLIENT

                                      Service Version: 0.11.12 (Smart Installer)
                                      OS: Windows 7

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

                                        @BiologyBen It sounds like pxe booting was only the beginning of your challenge. Good luck!!

                                        If you find new difficulties, please post to new thread and we will help you get started again.

                                        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
                                        • First post
                                          Last post

                                        169

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project