How do I repair grub rescue?

How do I repair grub rescue?

You could do either of two things:

  1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for ‘command prompt’.
  2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair.

How do I reinstall grub from Grub rescue?

Now hit Ctrl+Alt+T and open terminal and type sudo update-grub and then sudo grub-install /dev/sda. You may be asked for your password; type it, the password will remain invisible, which is normal. You may be asked for a data connection if GRUB files are lost and the system wants to download them.

How do I troubleshoot grub Error in Linux?

Type the grub command to open the grub> prompt. From there, type setup (hd0). This will reinstall GRUB to the master boot loader of your server. If the setup command from the GRUB prompt fails, you can run grub-install from a shell prompt.

How do I open grub rescue mode?

Booting into recovery mode

  1. Switch on your computer.
  2. Wait until the UEFI/BIOS has finished loading, or has almost finished.
  3. With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu.
  4. Select the line which starts with “Advanced options”.

How do I fix grub rescue after deleting Ubuntu partition?

Solution:

  1. Turn on laptop and boot into Ubuntu OS.
  2. Launch the command Terminal(Ctrl+Alt+T) from Ubuntu.
  3. Type in the command in the terminal window: sudo update-grub.
  4. Hit Enter Key.
  5. Type in your sudo password when prompt to execute your command.

author

Back to Top