I recently repartitioned my HDD and I have damaged GRUB on my system. On boot I get the GRUB rescue prompt and I have to go through the following steps in order to boot normally:
set root=(hd0,msdos6) set prefix=(hd0,msdos6)/boot/grub insmod normal normal
(Those steps were found on another post on here!).
I'm very tired of repeating this on every boot, how do I permanently fix GRUB?
To fix grub rescue go with following steps:
First thing is we have to start our OS only then after we can fix grub.
When you see such an error first we have to check for “Filesystem” is ext2'
this are our drives now we have to check which one is ext2.
go for another drives until you get “Filesystem is ext2”.
now set the path
Now just fix grub by following command on any Ubuntu
make sure you must update grub after login into OS