Interview Prep/Linux/Boot Process & Kernel

What does Secure Boot do and how does it affect custom kernel modules?

AdvancedConceptBoot Process & Kernel
Answer

Secure Boot makes UEFI only run bootloaders signed by trusted keys. The chain continues: shim (signed by Microsoft) verifies GRUB, GRUB verifies the kernel, and the kernel (in lockdown mode) refuses unsigned modules. Out-of-tree modules (NVIDIA, ZFS, VirtualBox) must be signed with a Machine Owner Key enrolled via mokutil --import, otherwise modprobe fails with Key was rejected by service.

mokutil --sb-state
All Linux questions Roadmap: Linux

More on Boot Process & Kernel