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

    rEFInd PXE booting issue

    Scheduled Pinned Locked Moved Solved
    Hardware Compatibility
    6
    40
    12.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.
    • JJ FullmerJ
      JJ Fullmer Testers @george1421
      last edited by

      @george1421 The developer has replied, I have quoted it below

      Thanks for the bug report. Upon reading the thread, I think the bug may be related to changes I made to work around problems caused by changes to the way macOS stored its files on APFS volumes, as noted in the release notes for version 0.11.1:

      : As a follow-on to the preceding change, I discovered that compiling
      : rEFInd with GNU-EFI resulted in a failure to properly track some
      : files on APFS volumes. I don’t know if this failure reflected a bug
      : in Apple’s EFI, in GNU-EFI, or in rEFInd; but I changed the way
      : rEFInd tracks boot loader files internally to work around the
      : problem. Although I’ve tested this version on an unusually wide
      : number of computers, it’s possible that this change will introduce
      : new bugs. Thus, if you upgrade and have problems with boot loaders
      : not being detected or not launching, dropping back to version 0.11.0
      : may be worth trying. (Be sure to contact me with a bug report, too!)

      I can look over these code changes for any obvious bugs, but tracking this down may require testing with debug versions that display debugging data. If you or somebody else who’s affected can help with that, it might speed up the process.
      FWIW, some of the reports mentioned HP EliteDesk computers. I happen to own an EliteDesk 705, and I have NOT seen the problem on it. Thus, I suspect that the problem appears as an interaction with a very limited set of EFIs and/or something quirky about the partition table, filesystem, or other system-specific setup. This isn’t to say the bug exists in some other component, but it’s likely manifesting only in some rare circumstance.

      In the meantime, using version 0.11.0 makes sense as a workaround.
      –
      Rod Smith

      Have you tried the FogApi powershell module? It's pretty cool IMHO
      https://github.com/darksidemilk/FogApi
      https://fogapi.readthedocs.io/en/latest/
      https://www.powershellgallery.com/packages/FogApi
      https://forums.fogproject.org/topic/12026/powershell-api-module

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

        @jj-fullmer Very nice and quick reply from the rEFInd Developer (they are almost as fast as the FOG Developers to respond).

        Do you have the time to work with the refind developer to figure out the root of the issue, since you have the hardware? The results will help both FOSS projects.

        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!

        JJ FullmerJ 1 Reply Last reply Reply Quote 1
        • JJ FullmerJ
          JJ Fullmer Testers @george1421
          last edited by

          @george1421 I meant to put that I volunteered as tribute when I quoted his reply.
          I’m sure he’d appreciate more testers as well if anyone’s interested.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          1 Reply Last reply Reply Quote 1
          • Q
            quinniedid
            last edited by

            @george1421 @JJ-Fullmer I am more than happy to do some testing. Please provide me instruction on what is needed and the debug information that is needed and I can provide some time to testing. Thanks for all of your help.

            And to answer the question I am unsure how to change the rEFId version in FOG to make this work for this hardware but we do have a workaround by using BIOS for now till we get this issue resolved.

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

              @quinniedid You can get the refind files from here: https://sourceforge.net/projects/refind/files/

              1. Just download the version you are interested in.
              2. Then grab the refind.efi file from the zip file and…
              3. Rename
                /var/www/html/fog/service/ipxe/refind.efi to /var/www/html/fog/service/ipxe/refind.efi.sav
                mv /var/www/html/fog/service/ipxe/refind.efi /var/www/html/fog/service/ipxe/refind.efi.sav
              4. Copy the refind.efi file to /var/www/html/fog/service/ipxe
              5. Done.

              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!

              Y 1 Reply Last reply Reply Quote 0
              • Q
                quinniedid
                last edited by

                @george1421 I was able to change that file to an earlier version and it appears to have fixed our UEFI issue on our newer HP PC’s

                @JJ-Fullmer Please let me know what I can provide in testing if needed

                JJ FullmerJ 1 Reply Last reply Reply Quote 0
                • JJ FullmerJ
                  JJ Fullmer Testers @quinniedid
                  last edited by

                  @quinniedid I haven’t heard from the rEFInd developer since the initial contact. As soon as I know something I’ll post it here.

                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                  https://github.com/darksidemilk/FogApi
                  https://fogapi.readthedocs.io/en/latest/
                  https://www.powershellgallery.com/packages/FogApi
                  https://forums.fogproject.org/topic/12026/powershell-api-module

                  1 Reply Last reply Reply Quote 0
                  • PsycholiquidP
                    Psycholiquid Testers
                    last edited by

                    Toss me in the group of people with HP ProDesk 400s All of mine are acting this way now.

                    JJ FullmerJ 1 Reply Last reply Reply Quote 0
                    • JJ FullmerJ
                      JJ Fullmer Testers @Psycholiquid
                      last edited by

                      @psycholiquid Have you tried reverting the FOG Server refind version to 0.11.0 and older? That’s the current workaround.

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      PsycholiquidP 1 Reply Last reply Reply Quote 0
                      • PsycholiquidP
                        Psycholiquid Testers @JJ Fullmer
                        last edited by

                        @JJ-Fullmer Yeah I started a new post with what I did, I had to piece together some stuff to get the whole shebang to work.

                        1 Reply Last reply Reply Quote 0
                        • Y
                          Yeet @george1421
                          last edited by Yeet

                          @george1421 Hi, I’m attempting this fix right now and I’m running into an issue. I downloaded the latest version of the zip, and I only see refind_aa64.efi, refind_ia32.efi, and refind_x64.efi. I do not see the refind.efi file in the latest version, or 1 version behind that. Should I just replace the 3 files I listed? or will that cause issues.

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

                            @yeet said in rEFInd PXE booting issue:

                            refind_aa64.efi, refind_ia32.efi, and refind_x64.efi.

                            on your fog server look in /var/www/html/fog/service/ipxe directory. There will either be refind.efi in there or refind64.efi and refind32.efi.

                            First of all you can discard the aa64 version of refind because that is for ARM processors.

                            The others refind.efi is really the renamed refind_x64.efi. And if there is a refind32.efi that is just renamed refind_ia32.efi.

                            If you correctly rename the files it should work.

                            FWIW the fog installer installs a script where you can rebuild the current iPXE on the FOG server and not need to do the download and rename bit.

                            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!

                            Y 1 Reply Last reply Reply Quote 0
                            • Y
                              Yeet @george1421
                              last edited by

                              @george1421 When I renamed refind.efi to refind_x64.efi, it worked as intended. Thank you for your help, I really appreciate it.

                              1 Reply Last reply Reply Quote 1
                              • E engineerfranko referenced this topic on
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post

                              184

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project