getout of grub rescue mode in linux

your linux operating system stuck at boot menu and showing GRUB rescue mode? then look at here .this is the best solution works for ubuntu kali zoring mint and all................


Don't bother to run Ubuntu live CD. It's not difficult to repair GRUB from the rescue mode.
  1. Command: ls
    It will list all your drives and partitions, like:
    (hd0) (hd0,msdos2) (hd0,msdos1)
    
  2. If you don't know your Ubuntu boot partition, check them one by one:
    ls (hd0,msdos2)/
    ls (hd0,msdos1)/
    
    When you hit the right one, you'll get a line mentioning lost+found, more importantly boot, and so on.
  3. Assuming (hd0,msdos2) is the right partition:
    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    insmod normal
    normal
    
  4. Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
    sudo update-grub
    sudo grub-install /dev/sda

or

  1. boot your pc from a ubuntu cd
  2. type in a terminal:
    grub-install /dev/sda
    update-grub

ISHA SEARCH ENGINE