How to escape grub rescue after formatting drive with Ubuntu partition?

5,405

There is no need of reinstalling Ubuntu, when you see this message. This message comes when you break the existing GRUB in the MBR. No need to panic. Just repair the GRUB. Use Boot Repair. Follow my steps and let me know if problem is not solved.

  1. Live boot (try Ubuntu) to Ubuntu from a bootable media (note that the bootable media you insert must be of the same architecture as the installed Ubuntu i.e., if you have installed Ubuntu 64 bit on your hard drive, insert a 64 bit bootable device)

  2. Open terminal when you reach the live Ubuntu and run sudo apt-get update

  3. Then run sudo apt-add-repository ppa:yannubuntu/boot-repair

  4. Then again sudo apt-get update

  5. Then sudo apt-get -y install boot-repair

  6. After installing Boot Repair, sudo boot-repair

  7. You will see the Boot Repair screen, click on Recommended repair and follow instructions. When everything is completed, restart your computer and you can see the GRUB, hence you can see the OS installed.

Share:
5,405

Related videos on Youtube

Magnolia Champaca
Author by

Magnolia Champaca

Updated on September 18, 2022

Comments

  • Magnolia Champaca
    Magnolia Champaca almost 2 years

    I get this output in GRUB rescue

    grub rescue> ls (hd0,msdos5)/
    unknown filesystem