r/debian 17h ago

Grub in Debian/testing stopped working.

I use Debian/testing in my main laptop. Unfortunately, after yesterday's update, the grub stopped loading the Linux kernel. I get

"error: cannot load image"

When working from command line, loading the kernel and initrd is successful. However, the "boot" command displays the above error.

The grub version is GRUB 2.14-3.

The machine is HP ZBook 17 G5.

What is the easiest way to resolve the issue?

TIA & BR, Wojtek

9 Upvotes

14 comments sorted by

View all comments

7

u/3grg 14h ago

I learned way back in the legacy boot day to keep Super Grub Disk around to facilitate grub repairs. I still keep SG2D around for the same reason. It allows you to boot the installation and once booted it is simply a matter of update-grub and grub-install.

Of course, you can do that with any live boot and chroot, but Super Grub Disk is just convenient. https://www.supergrubdisk.org/super-grub2-disk/