Sorry, I don't know. If you haven't already, do an internet search specific to rEFInd + secure boot. I expect this has come up before.
By the way, I said I couldn't help with either solution. Not quite correct. I do know how to install Grub with secure boot support. Commands in this form:Modify device names as appropriate (e.g., sda > nvme0n1). If you have a boot partition, it should be mounted to /mnt/boot between steps one and two.
If running the commands from a live session, you will need to run sudo apt install grub-efi-amd64 first. An installed system should already have the package.
By the way, I said I couldn't help with either solution. Not quite correct. I do know how to install Grub with secure boot support. Commands in this form:
Code:
sudo mount /dev/sda2 /mnt # system partitionsudo mount /dev/sda1 /mnt/boot/efi # EFI partitionsudo grub-install /dev/sda --boot-directory=/mnt/boot --uefi-secure-boot
If running the commands from a live session, you will need to run sudo apt install grub-efi-amd64 first. An installed system should already have the package.
Statistics: Posted by pbear — 2024-07-13 14:56