How to rescue grub2 in grub rescue mode

Hello everyone.

I have a problem with my grub2 after installing CentOS 7 with Ubuntu 14.04 and Windows 8. After the CentOS 7 installation was complete, i rebooted and got the following error:

*error: file '/boot/grub/i386-pc/normal.mod' not found*

I have tried out many tutorials online all of them have failed.

One method i used was as follows on the grub rescue shell:

*>set prefix=(hd0,1)/boot/grub*
*>set root=(hd0,1)*
*>insmod linux*

after running the last command the system tells me error: unknown filesystem and i get stuck at that point.


Do one thing reinstall the grub for re-installing grub fallow the below steps

1). Boot the system from an installation boot medium.
2). Enter in to rescue environment by typing linux rescue at the installation boot prompt.
3). Mount the root partition.

 #chroot /mnt/sysimage 

4). Reinstall the GRUB boot loader, where /dev/sda is the boot partition.

#/sbin/grub-install /dev/sda
#grub2-install --force /dev/sda

Reboot the system.


@raghuu thnaks, i will try these steps out in a test environment using the same steps. If it works i will let you know.

I had to use a lengthy method because i needed to use my machine quickly. I created a small partition where i installed a third distro, Parrot Security OS to installl grub2.