DEV Community

Cover image for Fix "grub rescue" Linux Boot Error
Just Determined
Just Determined

Posted on • Edited on

5

Fix "grub rescue" Linux Boot Error

#THIS METHOD WORKS FOR ANY LINUX DISTRIBUTION
I was updating my Kali Linux Packages then there was a sudden power failure before the update was complete and my PC shut down. When i powered it on later i found myself in this trouble: 👇

grub rescue>

I spent a whole week on online help and tried out fixing the boot error with all the solutions i found but failed.
I tried all the (hd0,msdos5) stuff that you have also tried 😅 but my pc still returned "unknown file system" . Reason why this can't fix the problem is because my bootloader was not displaced but it was deleted or corrupted.
I only found one method that is very simple and quick.

Now get this:

BOOT REPAIR TOOL

  1. Create a Bootable Flash Disk with UBUNTU using Rufus or any other tool that can burn an iso image.
  2. Shut down your Pc then plug in the Flash Disk.
  3. Power on your pc and press the ESC button as the PC boots and then boot from the Flash Disk
  4. Select TRY UBUNTU !!(do not instal Ubuntu)!! .
  5. Enter the Ubuntu System and Open the Terminal.
  6. Connect to a network.
  7. Enter the following commands:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

"Press Enter"

sudo apt-get install -y boot-repair && boot-repair

  1. Click repair,complete then restart the computer and boot yo linux.
  2. Open the terminal and type this command to uodate grub menu.

sudo update-grub

🥳🥳You fixed it.

Python Lovers I got something juicy for You

Also Read: How to Land a Software Development Role in Top Tech Companies

Billboard image

The fastest way to detect downtimes

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitoring.

Get started now

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay