Do-release-upgrade to LTS 14.0.4 Results in Broken Grub (Boot)

Mindwatering Incorporated

Author: Tripp W Black

Created: 02/24/2015 at 04:57 PM

 

Category:
Ubuntu
General

Issue:
When upgrading from Ubuntu LTS 12.10 to 14.04, via do-release-upgrade, the reboot after installation was not successful. The message below was on the console:
Error: file not found.
grub rescue>

Solution:
1. Insert the LiveCD for Ubuntu 14.04 into the server/workstation.

2. Upon reboot, choose to boot from CD if doesn't start automatically.

3. Choose the option to "Try Ubuntu" vs. to install it.

4. Once the desktop loads, do Cntrl + Alt + T to open a terminal.
(You cannot find it using the unity type-ahead.)

5. Add the boot repair repository, and update apt-get to see it:
$ sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

6. Install the boot-repair utility:
$ sudo apt-get install -y boot-repair && boot-repair

7. Run the boot-repair utility:
$ sudo boot-repair

8. Choose the Recommended Repair option.

9. It's now going to perform a sequence of actions. It will also likely ask you to paste some commands and answer questions for it into terminal. Follow its prompts.

10. Once it is done. Reboot.
$ sudo reboot

11. Upon reboot, it should show the Ubuntu logo and start checking the disks. Let the system do a disk check. Don't interrupt it.


previous page

×