You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
labnotes/_source/_posts/2025-08-02-nvidia-kmod-key-...

904 B

layout title date comments categories
post nVidia kernel module: key rejected 2025-08-02 16:00:00 +0200 true

Situation

On a Dell Precision 7520 running Debian, I found myself switching between UEFI / secure boot and legacy BIOS boot, and having trouble restoring the right boot settings after reenabling secure boot.

The first problem was to identify the correct file to boot from: EFI/debian/shimx64.efi.

Kernel module load issue

After disabling secure boot and then reenabling it again, kernel modules not loading despite updating nvidia-driver and kernel-image

solution: reenroll MOK (Machine Owner Key):

  • mokutil --import /var/lib/dkms/mok.pub (set an import password)
  • mokutil --list-new
  • reboot into MOK management => provide import password => key reenrolled
  • modules loding :thumsbup:

Debian documentation: Secure Boot