Many of people mess with their grub some of don’t know or some by mistake but that’s not big deal just u need to do some steps and you can fix your grub easily
By pressing “c” u enter in GRUB terminal mode & commands that can be used when you in GRUB terminal mode.
boot (Initiate the boot, also F10 or CTRL-x)
cat (view the contents of config or txt files; cat (hd0,1)/boot/grub/grub.cfg)
configfile (Load a GRUB 2 configuration file such as grub.cfg; configfile (hd0,5)/boot/grub/grub.cfg.)
initrd (Loads the initrd.img, necessary for booting; initrd (hd0,5)/initrd.img.)
insmod (Loads a module; insmod (hd0,5)/boot/grub/normal.mod, or insmod normal.)
linux (Loads the kernel; insmod /vmlinuz root=(hd0,5) ro.)
loop (Mount a file as a device; loopback loop (hd0,2)/iso/my.iso.)
ls (lists the contents of a partition/folder; ls, ls /boot/grub, ls (hd0,5)/, ls (hd0,5)/boot.)
lsmod (List loaded modules.)
normal (Activate the normal module, if loaded.)
search (Search for a device. Type help search for the available options.)
set (Review current settings, or set XXX to set a variable such as colors, prefix, root.)
vbeinfo (Display GRUB 2 available resolutions.)
If you are in rescue shell so this means your grub failed to load normal module.. If your prefix is wrong you can fix it by typing
Your out-put will be like this
now you have to find available devices
Set to the correct value, which might be something like this:
(this has to be done according to your own drive name)
(this has to be performed according to your own drive name.)
The above given commands will get you out of the rescue mode to the normal terminal mode.
After that you need to do some more settings to do
* linux /vmlinuz root=/dev/sdXY ro
(if this doesn’t work try this)
linux /boot/vmlinuz-3.2.0-14-generic root=/dev/sda1 ro
(this is optional)
Now Selects the initrd image.
After Booting the system.
Now Just Update the GRUB config file.
By this Re-installation of GRUB will done
sudo grub-install /dev/sdX
This should be it for the rescue part and your system should be good and running. If not you can save all your trouble by using Boot Repair. This is the tool used to repair your complete boot menu. It can be downloaded directly and used as a Live Boot CD or DVD.
Download Here :- Download