Repairing GRUB dual boot Kali and Windows system from "grub rescue>" prompt

6,006

You can make bootable USB or CD of linux (Ubuntu/Debian) and do the simplest thing in world. Use package boot-repair. It should help like charm.

It's short copy-paste instruction to install it.

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

sudo apt-get install -y boot-repair && boot-repair

Regards,

Share:
6,006

Related videos on Youtube

Fazan Lone
Author by

Fazan Lone

Updated on September 18, 2022

Comments

  • Fazan Lone
    Fazan Lone over 1 year

    I resized the partition on my dual boot system (Windows and Kali Linux) and now it is booting with the grub rescue> prompt.

    I am able to get from there to the grub> prompt using:

    set root=(hd0,msdos1)/boot/grub
    set prefix=(hd0,msdos1) 
    insmod normal 
    normal
    

    Note that msdos1 is my first partition (Windows).

    But from the grub> prompt I can't go any further because it doesn't recognise initrd and Linux commands.

    • Fazan Lone
      Fazan Lone almost 6 years
      I can now get into my grub multiboot menu and boot into either os but on reboot it still goes into grub rescue> prompt. How do i repair that?
  • Fazan Lone
    Fazan Lone almost 6 years
    i don't have the option of usb cd repair disk. I have full access to the system now.
  • TheTanadu
    TheTanadu almost 6 years
    I can't read first sentence. I mean boot-repair package - help.ubuntu.com/community/Boot-Repair
  • Fazan Lone
    Fazan Lone almost 6 years
    isn't there some way to repair the grub from the terminal?
  • TheTanadu
    TheTanadu almost 6 years
    boot-repair can be used by CLI
  • Fazan Lone
    Fazan Lone almost 6 years
    how do i install it from the terminal?
  • TheTanadu
    TheTanadu almost 6 years
    I just give you simplest tool - I can explain more widely about "on my own" but why if reconfiguration of grub can be done so simple or I will give you link if you want to do it manually askubuntu.com/questions/83771/…
  • TheTanadu
    TheTanadu almost 6 years
    You install it from terminal like any other app > adding repo > update > install
  • TheTanadu
    TheTanadu almost 6 years
    Happy that's work for you :) Cheers