Displayed Name is incorrect for bitlocker encrypted partitions

Bug #1762258 reported by Bump
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

gparted displays a name which is not correct. The partition is named MYDATA once you mount it with Windows 10. gparted displays it as "Ba".

Revision history for this message
Bump (bump55) wrote :
Revision history for this message
Curtis Gedak (gedakc) wrote :

What is the output from the following commands?

    sudo blkid

    sudo parted -l

Revision history for this message
Bump (bump55) wrote :

blkid does not show the disk nor the encryted volume (which are sdc and sdc1 respectively). They don't appear in the output. Only /dev/loop* and /dev/nvme0n1p*

parted -l for the usb drive:
Model: TOSHIBA External USB 3.0 (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
 1 135MB 3001GB 3000GB Ba msftdata

NOTE: you can't know the volume label (Name) unless you enter the password/passphrase to unlock it. Check here how drive F: displays its label LEXAR once it's unlocked:
https://gravitypayments.com/highlights/enable-bitlocker-windows-10/

NOTE 2: probably blkid doesn't support bitlocker drives.

Revision history for this message
Bump (bump55) wrote :
Revision history for this message
Curtis Gedak (gedakc) wrote :

I agree with the comments in the above linked upstream bug report.

If the volume label is "MYDATA" and this can only be read after the bitlocker encryption password is entered then this is working as designed.

Note that the libparted library read the GPT **partition name** as "Ba". This would be the value seen in the GUID Partition Table, and is separate from the volume label which is stored within the encrypted bitlocker file system.

Revision history for this message
Bump (bump55) wrote :

Then there's a bug in libparted because it should not show any name until unlocked. How can I report it to libparted?

Revision history for this message
Curtis Gedak (gedakc) wrote :

The **partition name** is separate from the volume label. Each partition within the GUID Partition Table has a reserved entry for the **partition name**.

See Partition Entries in the GPT:
    https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_entries_(LBA_2-33)

You can check with other tools to read the **partition name** in GPT such as:

    sudo gdisk -l /path-to-device

Where /path-to device is something like /dev/sda

Revision history for this message
Phillip Susi (psusi) wrote :

If that's the name that bitlocker puts in the partition table, then that's what it is... there's no bug here.

Changed in gparted (Ubuntu):
status: New → Invalid
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.