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
More on Boot Process & Kernel
Walk through the Linux boot process from power-on to login prompt.BeginnerWhat is the difference between BIOS and UEFI booting?IntermediateWhat does GRUB2 do and where is its configuration?BeginnerWhat is the initramfs and why is it needed?AdvancedHow do you view and change kernel command-line parameters?IntermediateWhat is systemd and why did it replace SysV init?Beginner