fbpx
16.2 C
Juja
Friday, March 5, 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

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....

IT’S FREEZING COLD OUT HERE

                              I love how everyone acts cold these days; it is like a virus of emotionlessness is spreading all...

New Year Resolutions for Campus Students

It is finally another new year. We have the chance to start over and set aside the goals...

Juja brains get Nominated for the prestigious Africa Youth Awards

The Africa Youth Award is given to create a platform where the youth can showcase their work and share their stories to...

LIVE TO SMILE ANOTHER DAY

I despise motorcycles. I wouldn’t get on one even if my life depended on it, though I’m pretty sure if I were...
- Advertisement -