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

    PXE boot failing on Wyse 5060

    Scheduled Pinned Locked Moved General Problems
    4 Posts 2 Posters 96 Views
    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.
    • A
      ahaeder
      last edited by

      FOG version 1.6.0-beta.5136, https enabled
      PXE works great with Wyse 5070 thin clients and Dell Optiplex 3000 thin clients.

      Tried my first 5060 today.

      Wyse 5060, BIOS 1.0J (2018-11-06), UEFI boot, Secure Boot disabled. PXE acquires DHCP, downloads EFI binary and autoexec.ipxe. Even an autoexec.ipxe containing only:

      #!ipxe
      echo HELLO
      sleep 30

      causes an immediate reboot. No requests for default.ipxe, boot.php, bzImage, or init.xz ever reach the FOG server. Same FOG server works perfectly with Wyse 5070 and Dell OptiPlex systems.

      I’ve tried handing out all the different *.efi devices in my /tftpboot dir, all do the same thing. I know this is a really old system, it’s just weird that it’s just rebooting so early in the ipxe process.

      Has anyone seen this before? THanks

      A 1 Reply Last reply Reply Quote 0
      • A
        ahaeder @ahaeder
        last edited by

        @ahaeder I’m still fighting this 5060 but I’ve made progress. When the bios is in Legacy mode (not UEFI) I got it to boot undionly.kkpxe and get to the fog pxe menu. I was even able to deploy an image to it successfully. The problem now is that although the pxe boot menu shows up, it can’t transition from there to booting off the hard drive. The default SANBOOT hangs at:

        Booting from SAN device 0x00
        Boot from SAN device 0x00 failed: Input/output error (https://ipxe.org/1d852039)
        Booting from SAN device 0x80

        The other options I have in the fog server for this system under Host BIOS exit type are:

        SANBOOT
        GRUB
        GRUB_FIRST_HDD
        GRUB_FIRST_CDROM
        GRUB_FIRST_FOUND_WINDOWS
        REFIND_EFI
        EXIT

        None of them work. They either immediately reboot, hang or just leave me at a grub prompt.

        I can boot directly off the newly imaged hard drive, but I can’t transition from pxe boot menu -> hard drive boot.

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @ahaeder
          last edited by

          Thanks for the detailed writeup — there are two separate things going on here, and one of them is our bug.

          The Booting from SAN device 0x00 ... Input/output error line is on us. sanboot --drive 0 means “the first disk carrying \EFI\Boot\bootx64.efi” under UEFI, but under BIOS iPXE hands that number straight to int13, where 0x00 is the first floppy and hard disks start at 0x80. We’ve been emitting the same exit string for both platforms since July 2024, so every legacy client opens its exit by trying to boot a floppy that isn’t there. Fixed in https://github.com/FOGProject/fogproject/pull/1741 — BIOS clients will go straight to 0x80 again.

          To be clear though, that isn’t what’s stopping you: your log shows it does fall through to 0x80, so your failure is after that point. The fix just removes a misleading error that sends people hunting a disk fault that doesn’t exist.

          Two things would help me nail down what’s left:

          1. For the legacy-mode “won’t boot to disk” part — what was the image captured from? If the source machine was UEFI/GPT, the disk you deployed has an ESP and no MBR boot code, so BIOS sanboot --drive 0x80 has nothing to jump to even though the firmware’s own boot menu may still find and boot it via its UEFI path. That would explain “direct hard drive boot works, PXE-to-hard-drive doesn’t” exactly.

          2. For the UEFI immediate-reboot — a script containing only echo and sleep rebooting means iPXE itself is dying before anything we generate matters. Nothing FOG produces is in that path yet. Can you grab a stock ipxe.efi from https://boot.ipxe.org/ipxe.efi, drop it in /tftpboot, point DHCP at it and boot the 5060 with the same minimal autoexec.ipxe?

          • Stock also reboots → it’s the 5060’s firmware, and legacy mode is the answer for that box.
          • Stock survives and ours doesn’t → it’s our iPXE build config, and I want an issue open on it. We pin our own iPXE fork and overlay three config headers, and we’ve already had one console regression out of that recently, so it’s a real possibility.

          That one test tells us which side of the line this is on.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          A 1 Reply Last reply Reply Quote 0
          • A
            ahaeder @Tom Elliott
            last edited by

            @Tom-Elliott Thank you so much for the reply. The image I’m trying to boot was created on a UEFI system, so of course it’s failing, why did I not think of that. I’m going to do a fresh install under legacy mode on this 5090 (I’m using Windows 10 IoT) and create a new golden image, rather than pushing a 5070 image and updating the drivers. I’ll report back. Thanks again

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

            119

            Online

            12.8k

            Users

            17.6k

            Topics

            157.1k

            Posts
            Copyright © 2012-2026 FOG Project