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

PXE can't find correct bootfile size

Scheduled Pinned Locked Moved Solved
FOG Problems
2
9
4.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.
  • M
    msi Testers
    last edited by Oct 6, 2017, 8:44 PM

    Hi!
    Just got below error after installing a main fog server and a storage node. Both of these are located different geographic locations. I also installed the location plugin.
    NBP filesize is 0 Bytes
    PXE-E23: Client Received TFTP error from server

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Oct 6, 2017, 2:48 PM Oct 6, 2017, 8:47 PM

      Ok so since it references to NBP, you are booting a uefi system? What do you have configured for dhcp option 67? ipxe.efi?

      At this point it is still a pxe issue and not related to FOG or location plugins.

      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!

      M 1 Reply Last reply Oct 6, 2017, 8:54 PM Reply Quote 0
      • M
        msi Testers @george1421
        last edited by msi Oct 6, 2017, 2:59 PM Oct 6, 2017, 8:54 PM

        @george1421 yes! option 67 is ipxe.efi. FYI: Main Fog server is a Hyper-V

        G 1 Reply Last reply Oct 6, 2017, 9:16 PM Reply Quote 0
        • G
          george1421 Moderator @msi
          last edited by Oct 6, 2017, 9:16 PM

          @msi Is this at the main site or the remote site?

          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!

          M 1 Reply Last reply Oct 6, 2017, 9:17 PM Reply Quote 0
          • M
            msi Testers @george1421
            last edited by msi Oct 6, 2017, 3:23 PM Oct 6, 2017, 9:17 PM

            @george1421 Trying to PXE boot at the remote site. Below is the settings from /opt/fog/.fogsettings:

            Install time: Fri 06 Oct 2017 02:51:32 PM EDT

            ipaddress=‘192.168.134.230’
            copybackold=‘0’
            interface=‘bond0’
            submask=‘255.255.255.0’
            routeraddress=‘’
            plainrouter=‘’
            dnsaddress=‘’
            username=‘fog’
            password=‘rqx9gmtivQyiLLA3sn70T0El1iXdr3V59kX/boTCgUs=’
            osid=‘1’
            osname=‘Redhat’
            dodhcp=‘’
            bldhcp=‘’
            dhcpd=‘dhcpd’
            blexports=‘1’
            installtype=‘S’
            snmysqluser=‘fogstorage’
            snmysqlpass=‘fs13096747298’
            snmysqlhost=‘192.168.1.230’
            installlang=‘0’
            storageLocation=‘/images’
            fogupdateloaded=1
            docroot=‘/var/www/html/’
            webroot=‘/fog/’
            caCreated=‘yes’
            startrange=‘’
            endrange=‘’
            bootfilename=‘undionly.kpxe’
            packages=‘bc curl gcc gcc-c++ gzip httpd lftp m4 make mariadb mariadb-server mod_ssl net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-process tar tftp-server unzip vsftpd wget xinetd ’
            noTftpBuild=’’
            notpxedefaultfile=‘’
            sslpath=‘/opt/fog/snapins/ssl/’
            backupPath=‘/home/’
            php_ver=‘’
            php_verAdds=‘’
            sslprivkey=‘/opt/fog/snapins/ssl//.srvprivate.key’

            G 1 Reply Last reply Oct 6, 2017, 9:19 PM Reply Quote 0
            • G
              george1421 Moderator @msi
              last edited by Oct 6, 2017, 9:19 PM

              @msi So this is at the remote location and you have the dhcp server sending out dhcp option 66 for the remote site’s storage node, and you are trying to pxe boot a uefi system?

              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!

              M 1 Reply Last reply Oct 6, 2017, 9:21 PM Reply Quote 0
              • M
                msi Testers @george1421
                last edited by Oct 6, 2017, 9:21 PM

                @george1421 Correct. pointing to 192.168.134.230

                G 1 Reply Last reply Oct 6, 2017, 9:26 PM Reply Quote 0
                • G
                  george1421 Moderator @msi
                  last edited by george1421 Oct 6, 2017, 3:28 PM Oct 6, 2017, 9:26 PM

                  @msi said in PXE can't find correct bootfile size:

                  192.168.134.230

                  And on the above ip address in /tftboot directory you have the ipxe.efi file? If everything looks good then on the remote fog server we will need to setup tcpdump and grab a pcap file of the booting process because something is going wrong here. All of the bits appear to be in place.

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

                  If you have questions on the pcap file, upload it to a google drive and either post the link here or IM me and I will take a look at it. I need to go off-line for a few hours, but I will be back later tonight.

                  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!

                  M 1 Reply Last reply Oct 6, 2017, 9:43 PM Reply Quote 0
                  • M
                    msi Testers @george1421
                    last edited by msi Oct 6, 2017, 4:25 PM Oct 6, 2017, 9:43 PM

                    @george1421 Good News! I got it to work. I noticed that I got bunch of alert about some host is trying to access the tftpd and httpd service. It was the firewall. At the beginning, while I was setting up the node, I typed systemctl stop firewalld; while I should have typed systemstl disable firewalld since I rebooted once.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    1 / 1
                    • First post
                      4/9
                      Last post

                    249

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project