Secure Boot
Fiordland can boot with Secure Boot on, using a key that is made on your own PC. One command signs GRUB and your kernels with that key and enrolls it in the firmware next to Microsoft's keys, so Windows keeps booting too.
Who needs it
- Dual boot with Windows games that require Secure Boot. Some anti cheat systems on Windows, such as Riot Vanguard (Valorant) and Javelin (Battlefield 6), refuse to start when Secure Boot is off. With this set up you no longer have to switch it off for Fiordland and on again for Windows.
- Anyone who wants the firmware to refuse boot files nobody signed. With Secure Boot on, a GRUB or kernel that was changed or swapped by someone else does not start.
Most games on Linux do not need it. Proton games with the usual Easy Anti Cheat or BattlEye do not check Secure Boot. Fortnite is the exception since December 2026, and it needs more than Secure Boot. See Fortnite on Fiordland.
Before you start
- Fiordland is installed and boots in UEFI mode with GRUB, which is what the installer sets up.
- The TPM is on. It is called fTPM on AMD boards, PTT on Intel boards, and sometimes "Security Device Support". Windows 11 needs it, so it is usually on already. GRUB cannot boot with Secure Boot on without it.
- If Windows uses BitLocker, have the recovery key ready. Windows can ask for it once after the keys change. It is at aka.ms/myrecoverykey if you signed in with a Microsoft account.
The live USB is not signed, so Secure Boot still has to be off to install Fiordland. Set it up once the installed system boots.
Set it up
- Put the firmware in Setup Mode. Restart into the firmware settings with
systemctl reboot --firmware-setup. Find the Secure Boot page and pick the option that clears the keys. It is called "Reset to Setup Mode", "Clear Secure Boot keys" or "Delete all keys" depending on the board. On some boards the option only shows when the Secure Boot mode is set to Custom. Leave Secure Boot off, save and boot Fiordland. Run the setup.
sudo fiordland secureboot setupIt installs
sbctlandsbsigntoolsif they are missing, makes your key, installs GRUB again with the modules it needs built in, signs GRUB and every kernel in/boot, and enrolls your key together with Microsoft's keys. It asks once before it changes the keys in the firmware. Boot files are signed before any key is enrolled, so stopping halfway never leaves the PC unable to boot.- Turn Secure Boot on. Restart into the firmware settings again with
systemctl reboot --firmware-setup, turn Secure Boot on and save. Check it.
sudo fiordland secureboot statussecure boot on own key enrolled signed /efi/EFI/Fiordland/grubx64.efi signed /efi/EFI/BOOT/BOOTX64.EFI signed /boot/vmlinuz-linux-fiord signed /boot/vmlinuz-linux
Notes for some boards
- ASUS and Gigabyte. The setup leaves out the keys built into the firmware, because enrolling them causes trouble on some of these boards. Microsoft's keys are still enrolled.
- MSI. Set "Image Execution Policy" to "Deny Execute" on the Secure Boot page. With the default setting the firmware does not check boot files at all, and Secure Boot only looks on.
Updates
Kernel updates are signed for you. sbctl adds a pacman hook that signs every file it signed before, each time an update changes a kernel or anything in /boot or on the EFI partition. A GRUB package update does not change the GRUB on the EFI partition, so there is nothing to do for it either.
If you ever run grub-install yourself, sign again before you restart:
sudo fiordland secureboot sign
Snapshots
Snapshots from after the setup boot normally from the GRUB menu, because the kernels in them are signed. Snapshots from before the setup have unsigned kernels. To boot one of those, turn Secure Boot off first.
Turn it off again
Turn Secure Boot off in the firmware settings. Fiordland and Windows both boot the same as before the setup. To go back to the keys the PC came with, pick "Restore factory keys" or "Install default Secure Boot keys" on the same page.
Your key is in /var/lib/sbctl/keys, readable only by root. Anyone who has it can sign boot files your PC will trust, so do not copy it anywhere.
If something goes wrong
- The setup says the firmware is not in Setup Mode. Clear the keys as in step 1, then run the setup again. Your boot files are already signed.
- The setup says no TPM was found. Turn on fTPM, PTT or "Security Device Support" in the firmware settings.
- GRUB says verification was requested but nobody cares. The TPM was turned off. Turn it back on, or turn Secure Boot off.
- GRUB says it cannot load the image, or the firmware says a boot file failed the security check. Something is not signed with your key. Turn Secure Boot off, boot, run
sudo fiordland secureboot signand turn Secure Boot back on. - Windows asks for the BitLocker recovery key. Enter it once. Windows does not ask again until the keys change.
Still stuck? Ask on the Discord or the wiki help desk, with the output of sudo fiordland secureboot status.