[SOLVED] Upgrade kernel to 5.8 nvidia-current-drm missing

Help with issues regarding installation of Debian

[SOLVED] Upgrade kernel to 5.8 nvidia-current-drm missing

Postby iamliamc » 2021-01-10 20:01

Hey Debian Community,

Recently installed Debian 10.7 on: Lenovo Legion 5i Intel Gen 10 Core i7-10750H, NVIDIA GeForce RTX 2060

Installed the Nvidia-drivers in safe mode on the default ~4.X kernel after a bit of seraching:
https://wiki.debian.org/NvidiaGraphicsD ... ckports.29
Code: Select all
apt install -t buster-backports nvidia-driver firmware-misc-nonfree

Now working on the rest of my setup:
Code: Select all

I can see via:
Code: Select all

That i have a:
Network controller: Intel Corporation Comet Lake PCH CNVi WiFi

Which requires kernel 5.7 or newer:
https://linux-hardware.org/index.php?id ... -8086-0074

So onto upgrading the kernel:

Code: Select all
sudo apt-get install linux-image-5.8.0-0.bpo.2-amd64-unsigned -y

Now in grub I am back booting into safemode with graphics driver issues:

Code: Select all
systemctl status systemd-modules-load.service

Shows that:
Code: Select all
modprobe: Error: could not insert 'nvidia': Operation not permitted
modprobe: Fatal: Module nvidia-current-modeset not found in directory /lib/modules/5.8.0-0.bpo.2-amd64

It warned me something which I unfortunately didn't write everything down but appeared to "finish" something like: "Error! Your kernel headers for kernel 5.8 cannot be found"
So something like this is the issue I imagine... so in safe mode of my 5.8.0 kernel I ran

Code: Select all
apt install linux-headers-$(uname -r)

Now the nvidia drivers are back working.
Posts: 2
Joined: 2021-01-10 19:23

Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests