Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows.

I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB).

What are the steps to do this?

share|improve this question

1 Answer

up vote 1 down vote accepted
  1. Insert the Ubuntu disc, or connect the Ubuntu liveUSB.
  2. Setup the BIOS to make it boot on the Ubuntu disc
  3. Reboot the PC
  4. When asked, choose Try Ubuntu Try Ubuntu
  5. Connect internet
  6. Open a terminal, and type (or copy-paste) the following command:

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

Press Enter, then type the following command:

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

Press Enter. That's it, the Boot-Repair window will appear!

Boot-Repair main window

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.