How I fixed error: file ‘/grub/i386-pc/normal.mod’ not found

# see lists directory contents of files and directories.grub rescue > ls# then you will see result something like this
# this are list of your partition in your laptop
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)# try to recognize which partition is thisgrub rescue > ls (hd0,msdos1)# let’s assume this is the linux partitiongrub rescue > ls (hd0,msdos2)# set (hd0,msdos2) as rootgrub rescue > set root=(hd0,msdos2)# set prefix to [partition]/boot/grubgrub rescue > set prefix=(hd0,msdos2)/boot/grub# if this produced an error, reset root and prefix to something else grub rescue > insmod normalgrub rescue > normal
sudo update-grub# use /dev/sda so the grub will installed at the root of your partition not at specific partition (all can access it)sudo grub-install /dev/sda
After fixing the problem

Program Management | AI & Tech Education

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Lab 1: Intro to Physical Computing

IoT Data Pipelines in GCP, multiple ways

Skype 7.7 Released — MSI Download Link & Silent Install Instructions

Old Skype logo in white and blue

A New Proteomics Dataset Search Engine

ANU #102 — Upcoming Features and UI Updates

Sccm Task Sequence Failed with the Error Code 0x80070002.

Flutter Twitter Clone Part 2

Has Your Open Source Community Raised Money? Here’s How to Spend It.

Febria Roosita Dwi

Febria Roosita Dwi

Program Management | AI & Tech Education

More from Medium

SENDING BULK EMAILS WITHOUT SPAMMING Cold Email vs Spam Email — Tips on How to Avoid the Spam…

I am getting the below exception when, i am adding below dependency,

Azure VPN P2S (OpenVPN with Azure AD) unable to resolve hostnames while connected to Azure VPN…

Why you should use tfsec in your CI/CD pipeline