Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • Re: Grub can't find vmlinuz file on /dev/nvme0n1p2

$
0
0
FWIW, chroot is how I generally tackle problems like this. Can be used to reinstall Grub, update initramfs, etc. An internet search for linux chroot recovery will bring up lots of articles.

There are a couple ways to set up a chroot. I like this one. Boot a live session. Run something like:
...
Thank you so much for taking time to share this detailed suggestion, @pbear!

I was/am hoping there's a simpler solution, but this sounds doable/feasible. Definitely a good learning opportunity. Years ago, I lost a Ubuntu server during an apt upgrade that, IIRC, rendered the server unbootable due to a botched automated upgrade from grub to grub2. Knowing how to recover from an upgrade that renders a server unbootable would let me clench my desk less tightly every time I upgrade a server.

Statistics: Posted by JamesLavin — 2024-07-01 04:54



Viewing all articles
Browse latest Browse all 2901

Trending Articles