Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2509

Installation • Installing Debian stable on a MSI Z690-A with Secureboot

$
0
0
Hello out there, I got a brand new MSI Z690 board on which I want to install Debian 12. But so far I can only login over console or ssh because the free Nouveau driver does not support the GFX board (GeForce RTX 4060Ti). So I installed everything I need for building the nvidia kernel module. That worked but then the trouble started. The board has SecureBoot on, so I had to sign the kernel modules and used this site as guidance: Sign modules for secure boot in Debian (GitHub Gist).

So Step 1 broke already. I was able to enroll DKMS signing key.

Code:

 mokutil --import /var/lib/dkms/mok.pub
But after restarting the system, the MOK manger should be invoked, a plain ncurses interface but never showed up. I use filesystem encryption, maybe this is a problem?
Step 2 works fine of course, but when I start this command to sign my module

Code:

 sudo --preserve-env=KBUILD_SIGN_PIN "$KBUILD_DIR"/scripts/sign-file sha256 "$PRIV_KEY" "$PUB_KEY" nvidia-current.ko
I got this error
At main.c:298:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: nvidia-current
And here is stuck. Switching off SecureBoot leads to a kernel panic at startup, so this is neither a solution :?

I hope you can help me

Thanks in advance

/Chris

Statistics: Posted by modo72 — 2024-10-24 12:28 — Replies 2 — Views 118



Viewing all articles
Browse latest Browse all 2509

Trending Articles