I encountered a boot issue after I reinstalled Windows 7 several days ago. I ran both Windows 7 and Ubuntu 14.04 on my laptop, and successfully reinstall the Windows OS. When I tried to repair the boot with EasyBCD 2.2, the system boot broke down. After trying several methods, I found Boot-Repair a good and easy solution.
Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu, especially when you can’t boot Ubuntu after installing Windows or can’t boot Windows after installing Ubuntu (of course other Linux distributions). It helps when GRUB is broken. Boot-Repair is free and is licensed under GNU-GPL. Its details can be found in Ubuntu Community.
As preparation, you need have a Live-CD of Ubuntu, or be able to enter Live-Ubuntu by DVD/CD-ISO. The approach to enter Live-Ubuntu without a real CD disk can be found through searching “Install Ubuntu without a CD” in Google. (PAY ATTENTION! It’s NOT using Wubi!)
- The easiest way to use Boot-Repair is to burn a disk containing the tool (eg Boot-Repair-Disk, a disk starting Boot-Repair automatically), and boot on it. If you do so, you can skip the second step.
- Another easy way is to download the Ubuntu ISO from Ubuntu.com. Then burn it on a CD or a live-USB (eg via UnetBootin or LiliUSB or Universal USB Installer).
- If you don’t have a CD or USB device, you can try alternative ways (eg the same steps of installing it without a CD).
When you enter Ubuntu Live-session (boot your computer on a Ubuntu live-CD or live-USB), choose “Try Ubuntu”.
Install Boot-Repair in Ubuntu
- Connect to the Internet
- Open a new Terminal (Ctrl+Alt+T), type in the following commands:
- For Ubuntu 12.04
$ sudo add-apt-repository ppa:yannubuntu/boot-repair <Enter>
- For Ubuntu 14.04 and newer
$ sudo add-apt-repository ppa:kranich/cubuntu <Enter>
- Then type:
$ sudo apt-get update sudo apt-get install -y boot-repair && (boot-repair &) <Enter>
If you are in an installed Ubuntu session instead of Live-session, remember to remove the PPA from your Software Sources after the installation.
- Typing ‘boot-repair‘ in a terminal to launch Boot-Repair.
- Click the “Recommended repair” button. The repair will start automatically.
- When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared.
- 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.
> BTW, An article named How To Ask Questions The Smart Way from Eric Raymond and Rick Moen is recommended here.