grub2, cannot upgrade due to EFI partition type mismatch

Bug #1899462 reported by Gianfranco Costamagna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Triaged
High
Julian Andres Klode
Focal
Triaged
Undecided
Unassigned
Groovy
Won't Fix
High
Julian Andres Klode

Bug Description

grub2, when looking for suitable ESPs, only looks at MBR partitions with id 0xef. However, systems do boot from other vfat partitions too, in this case, a 0xb partition.

Now, if the ESPs were changed while upgrading, the prompt to select ESPs will not be shown and the upgrade will fail; because no ESPs are considered valid and hences CHOICES is empty.

IRC discussion: https://irclogs.ubuntu.com/2020/10/12/%23ubuntu-devel.html

Trace log: Attached
Workaround: Change partition type of /boot/efi or other ESPs from 0xb (in this concrete example) to 0xef

Tags: fr-830
Changed in grub2 (Ubuntu Groovy):
status: New → Triaged
Changed in grub2 (Ubuntu Focal):
status: New → Triaged
tags: added: rls-gg-incoming
Revision history for this message
Julian Andres Klode (juliank) wrote :
description: updated
description: updated
description: updated
tags: added: fr-830
tags: removed: rls-gg-incoming
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Here another (little different) failure log

Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in grub2 (Ubuntu Groovy):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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