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

    Lenovo M75s-1 boot on uefi

    Scheduled Pinned Locked Moved
    General Problems
    3
    5
    776
    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
      AmirBFC
      last edited by

      Re: New Lenovo M75s don’t Connect to FOG
      Hello,
      I have also several lenovo M75s-1. And to do appear the fog menu, i write in the option 67 of my DHCP “snponly.efi”.
      Thanks to that, i can now see the fog menu when i boot on my network card in uefi. But when i want to upload the image of this computer or to register my computer on the fog, i have this error message :
      “Could not select: Exec format error (http://ipxe.org/2e008081)”
      I tried to change the kernel but nothing change.
      Can you help me ?
      (fog version : 1.5.9 / kernel: 4.19.143 arm64)

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

        @amirbfc Upgrade your FOS Linux kernel to 5.6.18 under FOG Configuraiton -> Kernel menu. Install both the x64 and x32 bit kernels. The 4.19.x series of kernels is probably missing the driver.

        But looking at the error message you posted it says it doesn’t understand the kernel or the initrd format. (I would still upgrade to 5.6.18 anyway). Does other uefi based computers boot with your current configuraiton and just the M75s don’t? I’m questioning if your FOG setup is broken or its just the M75s that are broken.

        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!

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

          @george1421
          Hello,
          It was the soluce. I installed the kernel 5.6.18 and it runs if i put snponly.efi in my dhcp.
          I have only this problem with the M75S-1. I have others lenovo like the M75q-1. I must put ipxe.efi in dhcp to download or upload an image with the same kernel.
          Perhaps is it because they have ryzen processor ?
          But, thanks for the quick answer.
          Regards

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

            @amirbfc You know a ryzen processor may be breaking some of the fog code. Do you have time for a test?

            What I’m thinking, there is logic in the /tftpboot/default.ipxe file that first gets called with iPXE loads.

            This is what the default code looks like

            #!ipxe
            cpuid --ext 29 && set arch x86_64 || set arch ${buildarch}
            params
            param mac0 ${net0/mac}
            param arch ${arch}
            param platform ${platform}
            param product ${product}
            param manufacturer ${product}
            param ipxever ${version}
            param filename ${filename}
            param sysuuid ${uuid}
            isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
            isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
            :bootme
            chain http://<fog_server_ip>/fog/service/ipxe/boot.php##params
            

            This line right here I think is a problem

            cpuid --ext 29 && set arch x86_64 || set arch ${buildarch}
            

            That queries a specific cpu register to find out if the target computer is x86 or x64. I found out when testing imaging with raspberry pi that of course that command is not available for cortex ARM processors. When that is not set right then inside fog code it thinks its a x86 intel computer.

            I outline the issues I found with ARM processors here: https://forums.fogproject.org/topic/14959/raspberry-pi-4-unable-to-pxe-boot

            So if you have time I would like to see what iPXE thinks about this ryzen processor.

            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

              @amirbfc said in Lenovo M75s-1 boot on uefi:

              “Could not select: Exec format error (http://ipxe.org/2e008081)”

              Is secure boot disabled in the UEFI settings?

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

              208

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project