lucid to precise to trusty upgrade may leave system unbootable
Bug #1491894 reported by
Louis Bouchard
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
In Progress
|
High
|
Unassigned | ||
Trusty |
In Progress
|
High
|
Unassigned |
Bug Description
A system, initially installed on 10.04 Lucid then upgraded to 12.04 precise, when upgraded to Trusty may not reboot following the end of the do-release-upgrade command.
Reproduction steps
==================
Install a VM with 10.04.4-server ISO. When booted in 10.04, issue :
$ sudo do-release-upgrade # to 12.04 precise
Then let the system upgrade and reboot.
$ sudo do-release-upgrade # to 14.04 trusty
Then let the system upgrade and reboot
Upon reboot, the system will display a blank screen with a prompt and will not reboot.
Workaround
==========
Force a reconfiguration of the grub-pc package :
$ sudo dpkg-reconfigure grub-pc
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
description: | updated |
Changed in grub2 (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in grub2 (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
tags: | added: sts |
tags: | added: patch |
Changed in grub2 (Ubuntu): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in grub2 (Ubuntu Trusty): | |
assignee: | Louis Bouchard (louis) → nobody |
To post a comment you must log in.
I believe a default change is needed before this would work:
1. Install and update Lucid on a VM
2. Note output of false from `sudo debconf-show grub-pc | grep empty
3. Run "sudo dpkg-reconfigure grub-pc". Note how it doesn't let you Select No. (looks to be bug 580408)
4. Note how _empty is now true.
5. Upgrade to 12.04.
6. During upgrade if _empty is set to true no grub prompt loads. If a prompt does load, selecting to not install grub will be equivalent for the next breakage.
7. Upgrade to 14.04 and reboot. Note how it doesn't ask you any questions at all about Grub.
8. Find blinking cursor and broken grub.