How to recover Grub
-
I have recently had some issue with kernal panics and Elementary OS not booting correctly, giving me a BusyBox screen with limited commands. The first time round i saw this i managed to fix it by booting into a live CD of Elementary OS and using the
fsck /dev/sdax
command. This seemed to fix it until i did asudo apt-get dist-upgrade
. This completely broke my install, I chose to start again with a fresh install of Elementary OS.Once it had fully installed and i had removed the live CD, i rebooted my laptop only to find that Grub had broke too. This meant that i was unable too boot into any operating system that I had installed on my laptop.
How to recover from File Not Found: Grub Rescue
I found a nice little tool that will automate the recovery of Grub and the boot partition. It is called boot-repair.
-
Boot into a live CD of Ubuntu or any of its derivatives
-
Install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair -
Run boot-repair
boot-repair
-
Click the “Recommended repair” button and let boot-repair do it’s magic.
-
Once the completion screen has been displayed it should be OK to reboot.
You should now have a working Grub boot menu!
-