How to perform a GRUB Bootloader rescue

Must Read

Koimet
int0x80 Tech Hobbyist,Sudoku Addict Always Infosec Game mode

So first things first, What the hell is that on my screen?
Well worry not a grub bootloader rescue is a normal thing for people who have Dual Booted their machines with a Linux Distribution this may vary from Ubuntu to Kali Linux to Parrot OS (Formerly ParrotSec) and other Variants

what causes the grub bootloader error?

A grub bootloader error or a grub rescue may be caused by either kernel bugs or when one Operating system has crashed, hence crashing the bootloader,
This is common when you, for example, delete a Partition previously occupied by the other Operating system,
or Just corrupted system files.

How Do I Fix the problem?

To fix the problem you will need to have a bootable version of the Operating system in question and later live boot to access the Files on the Computer/ Laptop.

Here’s what to do if you encounter the above error ….just use a live boot of the os in question

So here is what to do after live boot:

STEP ONE : Open gparted (a disk manager software installed by default in the mentioned OS’s) and look for the EXT4 partition thats where the Linux installation is located

You just need the Mount point
Either /dev/sda or /dev/sdb note the name

if found it,

STEP TWO :
Open a Terminal window
and key in
sudo mount /dev/sda/mnt
….
STEP 3: Now bind the directories that grub needs to access other operating systems

Windows included
….
sudo mount --bind /dev/ mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys

……

Then
sudo chroot /mnt
….
STEP 4: reinstall grub,check and update
….
grub install /dev/sda
grub install --recheck /dev/sda

update grub

….
Grub will now be reinstalled successfully

STEP 5:
now key in the following command
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts

……..
Share the love join our Telegram channels
TweaksRepublic
&
Official Jujamaica

0 0 vote
Article Rating
- Advertisement -
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
- Advertisement -

Latest News

Inside an “illegal” club during this corona period

Thanks to corona, normal clubs are playing in the fiddle of illegal clubs in town. Which is...

How to Keep Your Relationship During This Coronavirus Pandemic

Keeping a campus relationship during this pandemic almost sounds impossible. Speaking from a personal point of view, everything sounds harder and more so, a...

Share USB Port with Eltima ~ USB Network Gate

Usb Network Gate is the one stop Sharing Software you would really love to use. It allows you to share usb ports...

Resumption of Football Leagues

When will the football be back? I know this is the question on every sports fan's mind right now. In this  article...

Kenyan Tour operator and content agency, Turnup.Travel Scoops International Tourism Award

Kenyan tour operator Turnup.Travel has scooped 1st prize in the Tourism Destination Category under the Tourism Communication Section at the International...
-Book AdSpace -

More Articles Like This

- Advertisement -
0 0 vote
Article Rating
0
Would love your thoughts, please comment.x
()
x