[Bug 2099893] Re: [FFE] Support reading the GPT partition name in Subiquity

Olivier Gayot 2099893 at bugs.launchpad.net
Tue Oct 7 13:21:58 UTC 2025


** Changed in: subiquity
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2099893

Title:
  [FFE] Support reading the GPT partition name in Subiquity

Status in curtin:
  Fix Committed
Status in subiquity:
  Fix Released
Status in subiquity package in Ubuntu:
  Fix Released
Status in subiquity source package in Plucky:
  Fix Released

Bug description:
  Request
  -------
  We want Subiquity to be able to access the name of existing GPT partitions - and provide that info to the desktop installer through the storage API. The desktop installer can then show the info in the manual partitioning screen.

  There is no immediate need to support changing/setting the partition
  name, so this will be a read-only option at least for plucky.

  Why Needed
  ----------
  To help users of the manual partitioning screen figure out which partition belongs to which OS (and therefore avoid some occurrences of people formatting the wrong partition), we already lean on OS detection using os-prober. Unfortunately OS detection is limited. It doesn't work if the disk is encrypted (e.g., Bitlocker) and only one partition is labeled per OS detected.

  If a GPT partition has a name set, showing the info on the screen
  would lower the risk of people selecting the wrong partition to be
  formatted.

  This was requested by the desktop team.

  What Changed
  ------------
  * Curtin now reads and decodes the ID_PART_ENTRY_NAME (which corresponds to the partition name - and encoded by libblkid) if it is present.
  * The resulting value (if any), is passed to Subiquity
  * Subiquity's /storage/v2 endpoint now specifies a "name" property for each partition returned. The property is set to the partition name, or null if unset.
  * If the user attempts to change the partition name using the /storage/v2/edit_partition endpoint, an exception will be raised.

  Code to be merged
  -----------------
  * https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/481790
  * https://github.com/canonical/subiquity/pull/2169

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2099893/+subscriptions




More information about the foundations-bugs mailing list