GRUB reinstallation via Boot-Repair

Recently I got stuck with some PC issues, which is dual-boot with Linux Ubuntu. After a while, my Windows problems were solved and there were no boot loading menu any more, where I normally choose which OS to boot. I just wanted to make my bootloader functioning properly again, while having both of my OSes untouched.

The solution incorporates using Linux Ubuntu Live CD or Live USB, booting your live session and getting your Terminal up with Ctrl+T shortcut. From there, one has to use Linux terminal commands and to handle all those sensitive stuff from black window, using less known directives.

I found that pretty stressful.

So, my solution (which I also recommend to you folks) is to use Boot-Repair in Ubuntu:

– either from an Ubuntu live-session (boot your computer on a Ubuntu live-CD or live-USB then choose “Try Ubuntu”) or from your installed Ubuntu session (if you can access it)

– connect to the Internet

– open a new Terminal, then type the following commands (press Enter after each line):

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

Using Boot-Repair

  • launch Boot-Repair from either :
    • the Dash (the Ubuntu logo at the top-left of the screen)
    • or by typing ‘boot-repair’ in a terminal
  • Then click the “Recommended repair” button. When repair is finished, note the URL ( that appeared on a paper, then reboot and check if you recovered access to your OSs.

  • If the repair did not succeed, indicate the URL to people who help you by email or forum.

Warning: the default settings are the ones used by the “Recommended Repair”. Changing them may worsen your problem. Don’t modify them before creating a BootInfo URL, and asking for advice on Ubuntu Forums Absolute Beginners Section or in Installation and Upgrades.

Advanced options

* If you would like to opt-out of the link creation (Not recommended for inexperienced users who are seeking help from a forum or IRC member), you can. Simple click on the Advanced Options, and find the “Other Options” tab. Uncheck “Upload the report to a pastebin”.

* The log may include UUIDs, LUKS headers, hex dump of your first sectors of your drives, device serial numbers, your username and more.

External Links

Facebook Comments Box
Show Buttons
Hide Buttons