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

Last week my laptop ran into a problem. It happens after I tried to install an Ubuntu partition, and restarted my laptop with the bootable flashdisk unplugged., my laptop won’t start the system?. It It got stuck at a blank black page, with error :: file ‘/grub/i386-pc/normal.mod’ not found.

I tried a few tutorials from stackoverflow but my laptop still ends up the same. My friend told me that he has experienced the same before and re-install was his solution for this issue. Then I tried to backup all my data in the laptop by using bootable flashdisk (with ubuntu inside), so I can go to the system and copy all the data to my external harddrive.

After that I tried one more stackoverflow tutorial about how to solve this issue. And this one works!!

So the problem here is with my GRUB (GRand Unified Bootloader). GRUB is a small program that show the selection of OS (Operating System) after booting.

Here is the step, how i solve it:

# 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
Image for post
Image for post

Then try to reboot your system. After that, open your terminal and do:

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
Image for post
Image for post
After fixing the problem

Hope it helps you, if you have same problem with me!

Disclaimer:
I have 2 partitions in my laptop, if you have only one partition, the way to solve this problem might be different. :)

Cheers!

Written by

Fullstack Engineer, A traveler & Startup Ethusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store