Picture this: I woke up, 8:30, a nice, snowy winter morning. I have a live lesson at 8:45. Not an issue, it only takes 10 minutes to get up.
I get out of bed, boot my computer, and, “ah fuc-“. Grub, everyone’s favourite bootloader, had broken. Again. This is about the 8th time it’s happened to me in 2 years – though admittedly it was my fault each and every time.
Only once, out of eight times, had I managed to fix this error. I was not optimistic.
I sat through my geography class, completing the lesson on my laptop. With this right in-front of my face:
Googling Qwanting, and a few failed attempts at using whatever I had booted into, I had an idea.
On my ThinkPad, I flashed a 32gb USB with a POP!_OS image (any Debian/Ubuntu distro should work) that I already had in my downloads folder.
I then booted into this from my computer (search “[computer model] boot from USB” if you’re unsure), and ran these commands:
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
I then selected the top option, or whichever the one not mentioning forums is.
Boot-Repair then repaired Grub! I did actually get an error, which was odd, but everything worked just fine after a reboot.
Maybe try them steps for yourself, I was so relieved to have sorted this!
I hope this helps, since I know how awful a situation Grub deciding to kill itself (or you killing it) can be.