rEFInd PXE booting issue
-
@quinniedid I changed my fog’s refind.efi out with rEFInd 0.11.0 (The first version I used for local installs) and it started working for me too. I think there must be some sort of bug in 0.11.1 and 0.11.2 that affects HP pro/elite Desk systems. I am reporting it to the developer of rEFInd.
So would you say your problem is now fixed by reverting to the older version of rEFInd? Or are there still some different problems happening? -
@Developers Please be aware of JJ Fullmer’s post on issues with refind 0.11.1 and 0.11.2. Reverting back to 0.11.0 appears to have addressed his issue with HP.
@JJ-Fullmer Great find!!, please let us know what the rEFIn’d developers respond with.
-
@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 -
@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.
-
@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. -
@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.
-
@quinniedid You can get the refind files from here: https://sourceforge.net/projects/refind/files/
- Just download the version you are interested in.
- Then grab the refind.efi file from the zip file and…
- 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
- Copy the refind.efi file to /var/www/html/fog/service/ipxe
- Done.
-
@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
-
@quinniedid I haven’t heard from the rEFInd developer since the initial contact. As soon as I know something I’ll post it here.
-
Toss me in the group of people with HP ProDesk 400s All of mine are acting this way now.
-
@psycholiquid Have you tried reverting the FOG Server refind version to 0.11.0 and older? That’s the current workaround.
-
@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.
-
@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.
-
@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.
-
@george1421 When I renamed refind.efi to refind_x64.efi, it worked as intended. Thank you for your help, I really appreciate it.
-