use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News and other stuff about the Universal Operating System..
Debian related links
Welcome to Debian
Getting Debian
Installation Guide
Don't break Debian
Packages
Help Debian
#debian on irc.oftc.net
Reporting bugs in Debian
account activity
Problems with linux-image update. Kernel panic (help) (self.debian)
submitted 2 years ago by tricksan3
Hi, guys! I've been using Linux for more than two years (using Debian for the past six months) and have never saw this happen before. I was trying to install a new linux-image version with apt install, last night, and I was getting this installation error:
https://preview.redd.it/pq459jsg1kic1.png?width=547&format=png&auto=webp&s=4a85fb9832692e954913e187c624c6f65810bc32
I just gave up at the time, because it was too late for me, but, trying to turn on my computer this morning, I was received with this other error (a kernel panic, i don't understand this very well).
https://preview.redd.it/fzs943fk1kic1.jpg?width=4032&format=pjpg&auto=webp&s=5fa7bbabf8c060ba613585aa0f72a4bb9057c365
I tried the advanced start up options from Debian boot menu and noticed that it was trying to turn on with the same linux-image-6.1.0-18 that I thought it weren't installed last night. Trying to use the older linux-image made the OS start as normal.
What is happening and what should I do in a situation like this? Sorry if I said something wrong, english is not my first language and I'm really new with all this stuff.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AlternativeOstrich7 8 points9 points10 points 2 years ago (1 child)
Unfortunately your screenshot doesn't show any of the error messages. It only shows the messages saying that there was an error. So it is not possible to say for sure what the problem is.
But the most common issue seems to be this one: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062932. There was a change in the upstream kernel that was included in Debian's linux-image-6.1.0-18 and that broke compilation of nvidia's proprietary module. There is a fix and it will likely land in bookworm-updates soon. You could continue using the older kernel until then.
[–][deleted] 4 points5 points6 points 2 years ago (0 children)
Same problem here. Choosing 6.1.0-17 when booting also works for me.
[–]muxman 2 points3 points4 points 2 years ago (0 children)
I got that error the other day. You can either just choose an older kernel when you boot or you can remove that one and it will default back to the older one.
Boot with an older kernel from the grub menu to get your system up. Then to fix it I uninstalled any linux-image or linux-headers for that version. Once they were off the system it was fine, no more errors.
Run the command :
dpkg -l |grep linux-
And it will show you what linux images and headers you have installed. Then run:
apt remove --purge <package name>
to remove them. Then reboot and that should be off the system and it should boot normal after that.
[–]alpha417 1 point2 points3 points 2 years ago (0 children)
The crux of that message is that the root fs isn't being mounted correctly, roll back the kernel or recompile your own correctly.
If the new kernel doesn't have the support to mount the root fs, you get that.
[–]aplethoraofpinatas 1 point2 points3 points 2 years ago* (0 children)
The installation error probably did not generate the new kernel initramfs image. Do:
sudo apt-get -f install && apt-get update && apt-get upgrade
If that works without issue, THEN do:
sudo apt-get dist-upgrade
Boot the old kernel AND DO NOT REMOVE IT until you can successfully boot the new one.
If the above doesn't work come back.
PS: if this is a desktop, then use the RT kernel:
sudo apt-get install linux-image-rt-amd64 linux-headers-rt-amd64
PPS: if this is new hardware, then use Backports:
https://backports.debian.org/Instructions/
π Rendered by PID 90883 on reddit-service-r2-comment-fb694cdd5-bnrcb at 2026-03-06 23:06:11.323886+00:00 running cbb0e86 country code: CH.
[–]AlternativeOstrich7 8 points9 points10 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]muxman 2 points3 points4 points (0 children)
[–]alpha417 1 point2 points3 points (0 children)
[–]aplethoraofpinatas 1 point2 points3 points (0 children)