When booting rEFInd and kernels are located on the ESP, it will fail to load. The behavior is strange, it seems to work the first time but next boot it will either hang the EFI loader, or will spit garbled data on the screen in yellow text. This happens to me, but only for a split second. Other users have it hang as soon as the text appears. For me, it kicks me back to my EFI settings as I only have rEFInd set as a boot option. Currently I am falling back to GRUB to boot. Reproducible: Sometimes Steps to Reproduce: 1. Install kernels to a ESP, or a drive formatted as fat32 2. Load rEFInd Actual Results: rEFInd hangs the EFI loader, or kicks the user to EFI settings (or the next boot entry) Expected Results: rEFInd should load normally, and allow you to boot a kernel.
Created attachment 895837 [details] Output of emerge --info, along with output of refind-install and efibootmgr
Can you try with an older version of sys-boot/gnu-efi ? For example sys-boot/gnu-efi-3.0.17
This fixed the problem. Though, its not a permanent fix. Possibly we could have the rEFInd ebuild pull in that version specifically, though I don't know if that follows the ebuild writing guidelines.
(In reply to kernaltrap from comment #3) > This fixed the problem. Though, its not a permanent fix. Thank you for confirming it. It's not a permanent fix, but it gives me a place to start.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b5ed3142c7572c7549c90684cc08ce494f027b commit 51b5ed3142c7572c7549c90684cc08ce494f027b Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-06-17 18:52:53 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-06-17 19:01:08 +0000 sys-boot/refind: add 0.14.2 Adding it unkeyworded for now because of bug #934474 Bug: https://bugs.gentoo.org/934320 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> sys-boot/refind/Manifest | 1 + .../refind/files/refind-sbat-gentoo-0.14.2.csv | 3 + sys-boot/refind/refind-0.14.2.ebuild | 178 +++++++++++++++++++++ 3 files changed, 182 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=312bb3bcffae9e7abb7bed8ae4c660c485ce053e commit 312bb3bcffae9e7abb7bed8ae4c660c485ce053e Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-06-17 17:57:26 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-06-17 19:01:08 +0000 sys-boot/refind: pin sys-boot/gnu-efi to an older version sys-boot/refind-0.14.0.2 (stable) does not boot with >=sys-boot/gnu-efi-3.0.18, so pin it to max 3.0.17. Bug: https://bugs.gentoo.org/934320 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> sys-boot/refind/refind-0.14.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cea90df5543b29b629b40e12235e3cc864bc698 commit 7cea90df5543b29b629b40e12235e3cc864bc698 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-07-25 07:06:48 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-07-25 07:09:45 +0000 sys-boot/refind: add fix for gnu-efi 3.0.18 Closes: https://bugs.gentoo.org/934474 Closes: https://bugs.gentoo.org/934320 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> .../files/refind-0.14.2-fix-gnu-efi-3.0.18.patch | 77 ++++++++++++++++++++++ ...efind-0.14.2.ebuild => refind-0.14.2-r1.ebuild} | 25 ++----- 2 files changed, 82 insertions(+), 20 deletions(-)