Ubuntu 24.04 Kernel Panic 7.0.0-28-generic

Last night I ran a normal update, Open Office, some other stuff, and a few kernel related updates. Nothing out of the ordinary. I continued to use my computer normally, and everything seemed fine, and then turned it off.

After booting my laptop this morning, I got no further than the Kernel Panic screen and a suggestion to reboot. I tried that a couple of times to no avail.

What I didn’t know at the time was that the kernel update had been a major one, to 7.0.0-28-generic, and that was the source of the panic.

But with just a couple of commands, I’m back up and running and using the new kernel.

Here are the steps.

1. Boot into the previous kernel

Because you’ve had some boot failures, you should see the GRUB menu. Choose the Advanced options for Ubuntu, and then boot into the previous kernel, something that doesn’t start with 7!

If the GRUB menu doesn’t appear, try pressing Shift or Esc during boot to bring it up.

Your computer should start up normally now.

2. Fix the initramfs and the GRUB menu

Open a terminal and run the following commands -

sudo update-initramfs -u -k 7.0.0-28-generic 
sudo update-grub
sudo reboot

Hopefully, your computer will boot normally now.

comments powered by Disqus

Related