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,
Related videos on Youtube
Author by
Fazan Lone
Updated on September 18, 2022Comments
-
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 recogniseinitrd
and Linux commands.-
Fazan Lone almost 6 yearsI 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 almost 6 yearsi don't have the option of usb cd repair disk. I have full access to the system now.
-
TheTanadu almost 6 yearsI can't read first sentence. I mean
boot-repair
package - help.ubuntu.com/community/Boot-Repair -
Fazan Lone almost 6 yearsisn't there some way to repair the grub from the terminal?
-
TheTanadu almost 6 years
boot-repair
can be used by CLI -
Fazan Lone almost 6 yearshow do i install it from the terminal?
-
TheTanadu almost 6 yearsI 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 almost 6 yearsYou install it from terminal like any other app > adding repo > update > install
-
TheTanadu almost 6 yearsHappy that's work for you :) Cheers