Score:0

Difficulty installing rEFInd with secure boot enabled

cn flag

What I am trying to do this on: Dell Inspiron 7506 2in1 Black Edition with Kubuntu 21.04.

I have followed the instructions at https://www.rodsbooks.com/refind/secureboot.html#installation but most of them don't apply to me.

I have:

  1. Installed rEFInd by the repository
    • sudo apt-add-repository ppa:rodsmith/refind
    • sudo apt update
    • sudo apt install refind

This method does steps 1-6 of the linked page automatically and creates refind_local.crt/.cer/.key in /etc/refind.d/keys/ and also copies the .cer and .crt to /boot/efi/EFI/refind/keys

  1. Enrolled refind_local.cer with mokmanager (mokutil -i refind_local.cer) and enrolled the key upon rebooting.

  2. Signed my kernel as suggested on the Arch Wiki with sbsign --cert /etc/refind.d/keys/refind_local.crt --key /etc/refind.d/keys/refind_local.key --output vmlinuz-5.11.0-25-generic vmlinuz-5.11.0-25-generic

Now the problem: Whenever I try to boot with rEFInd I get the blue MOK screen which says ERROR Verification Failed: 0x1A security violation and the only option is to select OK. Upon selecting OK, I enter my MOK password and get taken to the MOK management screen with the options to continue or enroll a key or a hash. Continuing fails with an identical screen to the first and drops me at grub which boots fine.

Is there anything more I need to do to get refind to boot properly like grub does?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.