Kernel panic after mx21 to mx23 upgrademx

Report Bugs, Issues and non- package Requests
Message
Author
vicco
Posts: 5
Joined: Mon Aug 07, 2023 11:54 am

Kernel panic after mx21 to mx23 upgrademx

#1 Post by vicco »

Hi There

I did an upgrade following these steps https://mxlinux.org/wiki/system/upgradi ... nstalling/

A kernel panic occurred at reboot; I was able to boot using Kernel: 6.1.0-9mx-ahs-amd64 [6.1.27-1~mx21ahs+1]. Inside it, trying to upgrade the mxinstaller produced the following error:

Error! Your kernel headers for kernel 5.10.0-19-amd64 cannot be found at /lib/modules/5.10.0-19-amd64/build or /lib/modules/5.10.0-19-amd64/source.
Please install the linux-headers-5.10.0-19-amd64 package or use the --kernelsourcedir option to tell DKMS where it's located.

It seems to me that something in the upgrade did not work, as it intends to revert to MX21 kernels. I wonder if there's a way to fix this and get the system working properly. I already applied autoremove and autopurge, but the problem is still there.

User avatar
chrispop99
Global Moderator
Posts: 3365
Joined: Tue Jan 27, 2009 2:07 pm

Re: Kernel panic after mx21 to mx23 upgrademx

#2 Post by chrispop99 »

The link you posted is for upgrading from MX-19 to MX-21. Is that the information you tried to use?

There is a Wiki entry here:

https://mxlinux.org/wiki/system/upgradi ... nstalling/

that shows an unofficial method to migrate from MX-21 to MX-23. Casual observation suggests to me that it only works for perhaps 50% of users, and it's not something I would bother with because a reinstall is easy, and often faster that trying to untangle a failed migration.

Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines

Post Reply

Return to “Bugs and Non-Package Requests Forum”