fbpx
20 C
Juja
Monday, May 17, 2021

How to perform a GRUB Bootloader rescue

Must read

What You Need To Know About Gen Z..

I recently discovered that I spend around 5 hours of my day watching Tiktok videos. They are so addictive and interesting, with...

UPDATED: Street Phrases You Must Know as a Kenyan.

As we all know Kenya's recognised official languages are Swahili and English but there is the ever-evolving and very diverse street lingo;...

How to remove FRP via ADB (android debug bridge)

Welcome back to our ADB Series, Today's tutorial is all about how to get rid of the Google's Android Security feature...

WhatsApp group chat links Being indexed by google

WhatsApp group chats invitations are being indexed by Google, making the invite links including links to private group chats discoverable and available to anyone...

Top Skills That Will Be In Demand After Corona

With COVID-19 new infections curve flattening in most parts of the world, the world is set to get to normalcy in three...
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

- Advertisement -

Related articles

- Advertisement -

Latest articles

ABOUT TO BOARD A BUS

My name is Tito(not a cool name I know) and that gets to be some of the lemonade I get to make...

COLORBLIND TO RED FLAGS

It’s yet another Sunday and the flock is gathered diligently in church to praise the most high. Not to sound atheist or...

TO GROOVES AND SEIZURES

Music has this ability to reveal a man's true nature. Show me your playlist and I'll tell you who you are. Bumping...

NOSTALGIA MY ADDICTIVE DRUG

I hate it when I’m sad because just like a dying man, more often than we tend to admit I clutch a...

How to keep up with school work.

Pulling an all-nighter, submitting an assignment late, or going to an exam unprepared is very common ln campus than most people would...

IT TAKES A VILLAGE TO RAISE A KID

                                      I sincerely believe being raised in the coastal city of Mombasa should be classified as an extreme sport....
- Advertisement -