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

PXE-99 FileSize 0 error

Scheduled Pinned Locked Moved Solved
FOG Problems
3
9
3.0k
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.
  • S
    SmartyParts
    last edited by Jul 27, 2017, 11:05 PM

    Server
    • FOG Version: 1.4.4
    • OS: CentOS 7
    Client
    • Service Version:
    • OS:
    Description

    I have FOG running and am trying to boot machines into PXE so that I can register them.
    Windows Server 2008 R2 DHCP server.
    Scope attributes #66 set to FOG server IP
    Scope attribute 67 set to ipxe.efi (I tried undionly.kpxe as well. Same result)

    When I boot my systems using PXE I see that it tries to reach out to my fog server and download the ipxe.efi file but it returns that it is 0 KB. Gets PXE-99 error.
    I can log into a Linux machine and tftp both the ipxe.efi and undionly.kpxe files without an issue.
    What am I missing? I had this working a couple of months ago and loaded FOG onto a new server from scratch and am getting this error.
    All machines are on the same VLAN (same switch)
    I can ping the FOG server and leverage the web management console normally as needed.

    G 1 Reply Last reply Jul 28, 2017, 12:35 AM Reply Quote 0
    • G
      george1421 Moderator @SmartyParts
      last edited by george1421 Jul 27, 2017, 6:37 PM Jul 28, 2017, 12:35 AM

      @smartyparts It sounds like you have all of the bits in allignment.

      First of all what hardware are you trying to pxe boot (mfg model)?
      Is this hardware in uefi or bios (legacy) mode. Knowing this will determine what iPXE kernel name you need to set in dhcp option 67.

      You said you can download undionly.kpxe vi tftp client on a windows computer, right?

      [Edit] after a quick google-fu search I have to ask is this pxe booting device a uefi hyper-v virtual machine? This error seems to pop up the most in references to uefi mode in addition to hpyer-v.

      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
      • S
        Sebastian Roth Moderator
        last edited by Jul 28, 2017, 12:42 AM

        @smartyparts What kind of device are you trying this with? Tried several different models? I read something about Dell Latitudes having PXE boot issues (unfortunately only in German). They talk about BIOS/UEFI firmware upgrades that fixed the issue.

        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

        S 1 Reply Last reply Jul 28, 2017, 3:21 AM Reply Quote 0
        • S
          SmartyParts
          last edited by Jul 28, 2017, 3:17 AM

          These are Lenovo laptops. I will try a Dell tomorrow based on these comments and also try firmware upgrades.
          Bios setting is “both” with uefi first, then legacy.
          I can tftp both files successfully from a linux server. None of these are virtual. All physical.

          1 Reply Last reply Reply Quote 0
          • S
            SmartyParts @Sebastian Roth
            last edited by Jul 28, 2017, 3:21 AM

            @sebastian-roth
            Thanks. I will try a Dell and Lenovo tomorrow as well as firmware upgrades.

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator
              last edited by Jul 28, 2017, 9:33 AM

              If the firmware updates don’t help (I really hope they do for you), then we will probably need to see a pcap of the pxe booting process. This pcap will tell us what is flowing down the wire between the target computer, fog server and dhcp server. This process only works really well when the fog server, target computer and dhcp server are on the same subnet. https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

              Upload the pcap to a cloud sharing service (google drive, dropbox, etc) and post the link here and we will take a look at it.

              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 1
              • S
                SmartyParts
                last edited by Jul 28, 2017, 2:19 PM

                Family, Your advice worked perfectly!

                OK… So based on the excellent instructions here I tried a different Dell laptop and it worked with “undionly.kpxe” as option 67. Didn’t like “ipxe.efi”. So then I continued with the outstanding advice and upgraded the firmware on our Lenovo laptops and they worked great as long as I had “Legacy first” enabled under the UEFI.
                So I am up and running 100% right now.

                The fix for my specific issue in summary :

                • Make sure that DCHP Scope option 66 has Fog Server IP
                • Set Option 67 to be “undionly.kpxe”
                • Firmware updates on any systems that won’t connect.
                G 1 Reply Last reply Jul 28, 2017, 2:23 PM Reply Quote 0
                • G
                  george1421 Moderator @SmartyParts
                  last edited by Jul 28, 2017, 2:23 PM

                  @smartyparts Just be aware that legacy (bios mode) needs the undionly.kpxe iPXE kernel and uefi mode needs ipxe.efi. If you have a linux or windows 2012 or newer dhcp server you can have the dhcp server automatically send out the right file name based on the pxe booting target computer.

                  For uefi mode, secure boot must be off to boot into iPXE.

                  And we have seen (historically) lenovo systems running in uefi mode need firmware updates to fix the buggy uefi firmware. So typically we recommend you update your firmware first before chasing other issues.

                  I’m glad you are able to fog 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
                  • S
                    Sebastian Roth Moderator
                    last edited by Jul 28, 2017, 2:58 PM

                    @SmartyParts I am marking this solved but I’d highly recommend looking into UEFI boot (ipxe.efi, snp.efi, snponly.efi, …) as more and more devices and operating systems are heading for this.

                    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

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

                    236

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project