Article 6EYHV How to find and sign nvidia driver?

How to find and sign nvidia driver?

by
yanaz
from LinuxQuestions.org on (#6EYHV)
I can't find my Nvidia module. I want to sign my nvidia driver so I can use it with Secure Boot. I'm trying to follow these instructions for nvidia driver: https://wiki.debian.org/SecureBoot#U...itional_Way.29

I already have MOK keys. I've installed nvidia drivers with apt-get install nvidia-driver. Now I'm signing it.

ChatGPT has suggested something like that:
Code:sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 /path/to/MOK.priv /path/to/MOK.der $(modinfo -n nvidia)But I'm getting error (even with modinfo -n nvidia)
Code:sudo /sbin/modinfo nvidia
modinfo: ERROR: Module nvidia not foundI've also tried it, but got no output:
Code:sudo find /lib/modules/$(uname -r) -type f -name "nvidia.ko"What should I do to find my nvidia driver? It should be there if I have installed a package, right?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments