I just replaced grub2 with rEFInd on my pc because I was hoping to get
better results when enabling secure boot.
The setup of rEFInd itself went well (it boots just fine), however when
I switch on secure boot rEFInd suddenly fails to find my kernel (Error:
Not Found while loading vmlinuz-linux-zen).
I installed rEFInd via refind-install --shim
/usr/share/shim-signed/shimx64.efi --usedefault /dev/nvme1n1p1
--localkeys --alldrivers and have enrolled the MOK cert.
There was a brief flash of text (hat to take a photo to read it) before rEFInd came up telling me that the verification of the fs drivers failed.
As it turned out, I enrolled the wrong MOK cert.
I followed the instructions and enrolled the cert that came with rEFInd (/usr/share/refind/keys/refind.cer) instead of the one generated by refind-install --local-keys (/etc/refind.d/keys/refind_local.cer).
Now it works just fine and is (in retrospect) so much easier to setup with shim and secure boot than grub.
Hope this will help somebody else with their install.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just replaced grub2 with rEFInd on my pc because I was hoping to get
better results when enabling secure boot.
The setup of rEFInd itself went well (it boots just fine), however when
I switch on secure boot rEFInd suddenly fails to find my kernel (Error:
Not Found while loading vmlinuz-linux-zen).
I installed rEFInd via
refind-install --shim /usr/share/shim-signed/shimx64.efi --usedefault /dev/nvme1n1p1 --localkeys --alldrivers
and have enrolled the MOK cert.My boot entry is the following:
Does anybody know how to help me get secure boot running?
(Unfortunately, disabling it isn't really an option)
Thank you for looking into my issue!
I managed to find my Issue.
There was a brief flash of text (hat to take a photo to read it) before rEFInd came up telling me that the verification of the fs drivers failed.
As it turned out, I enrolled the wrong MOK cert.
I followed the instructions and enrolled the cert that came with rEFInd (
/usr/share/refind/keys/refind.cer
) instead of the one generated byrefind-install --local-keys
(/etc/refind.d/keys/refind_local.cer
).Now it works just fine and is (in retrospect) so much easier to setup with shim and secure boot than grub.
Hope this will help somebody else with their install.