do-release-upgrade leaves the system in a unbootable state

Bug #1767501 reported by Leonardo Müller
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I upgraded my Xubuntu Artful install to Bionic using the following command:

do-release-upgrade -d

And the entire process went smoothly, when it was asked to reboot the system I chose yes. After that, Xubuntu failed to boot with the following message:

Error 0x1A (Security Violation)

Then I rebooted and pressed F12 to see the available boot options and there were two equal entries from the disk where Xubuntu Artful was installed.

Then I chose another install from another disk, and from that system I repaired the bootloader using the following command:

LANGUAGE=C sudo grub-install --efi-directory=/media/usuario/EFI\ SYSTEM/ --boot-directory=/media/usuario/Linux64/boot/ --uefi-secure-boot /dev/sdb

Its output was:

Installing for x86_64-efi platform.
GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
Installation finished. No error reported.

And then the upgraded Xubuntu was able to boot again.

The HDD on which the system is installed has a MBR partition table, is bootable in UEFI and there is no Windows on this disk. I believe this combination was not well handled in the upgrade and ended leaving it in a unbootable state.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.17
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Fri Apr 27 16:59:27 2018
InstallationDate: Installed on 2017-07-24 (277 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2018-04-27 (0 days ago)

Revision history for this message
Leonardo Müller (leozinho29-eu) wrote :
tags: added: artful2bionic
tags: added: rls-bb-incoming
tags: added: third-party-packages
tags: removed: rls-bb-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Ed Broadley (rebroad+ubuntu) wrote :

I just raised a bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1947121) which might be similar to this one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.