Bug 392892 - kde partition manager unable to recognize bitlocker partition
Summary: kde partition manager unable to recognize bitlocker partition
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 3.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL: https://github.com/karelzak/util-linu...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-08 21:31 UTC by Teddy
Modified: 2019-08-18 14:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
bitlocker with kde partition manager (80.34 KB, image/png)
2018-04-08 21:31 UTC, Teddy
Details
bitlocker recognized with gparted (63.06 KB, image/png)
2018-04-08 21:32 UTC, Teddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teddy 2018-04-08 21:31:42 UTC
Created attachment 111908 [details]
bitlocker with kde partition manager

KDE Partition Manager Version 3.1.2

Unable to detect bitlocker partition, while gparted does it perfectly.
Comment 1 Teddy 2018-04-08 21:32:25 UTC
Created attachment 111909 [details]
bitlocker recognized with gparted
Comment 2 Andrius Štikonas 2018-04-08 21:37:04 UTC
(In reply to Teddy from comment #1)
> Created attachment 111909 [details]
> bitlocker recognized with gparted

I don't have any bitlocker partitions to test with.

Does udevadm recognize bitlocker file system?
udevadm info --query=property /dev/pathToBitclockerPartition

In particular the field ID_FS_TYPE?
Comment 3 Teddy 2018-04-08 22:30:54 UTC
The field ID_FS_TYPE is not present for the bitlocker partition (sdb1).
Comment 4 Teddy 2018-04-08 22:32:43 UTC
It's sdc1 and field not present.
Comment 5 Teddy 2018-04-08 22:34:30 UTC
The label displayed by gparted is not correct by the way.
Comment 6 Teddy 2018-04-08 22:35:18 UTC
I mean gparted in the tab "Name" says "Ba" but that's not the name of the volume.
Comment 8 Andrius Štikonas 2018-04-08 22:46:20 UTC
Well, I just checked GParted actually manually opens the block device and scans for signature.

In principle something like this can be done in KPM too but I think, it would be better if blkid could recognize those.

Maybe you can try asking here
https://github.com/karelzak/util-linux
if they would consider adding detection for bitlocker.
Comment 9 Teddy 2018-04-09 10:56:56 UTC
Bug filed to github, will comment again when it's fixed.
Comment 10 Andrius Štikonas 2018-04-25 18:33:43 UTC
(In reply to Teddy from comment #9)
> Bug filed to github, will comment again when it's fixed.

So I think we now need to wait for util-linux 2.33.
Comment 11 Teddy 2018-05-12 10:19:54 UTC
(In reply to Andrius Štikonas from comment #10)
> (In reply to Teddy from comment #9)
> > Bug filed to github, will comment again when it's fixed.
> 
> So I think we now need to wait for util-linux 2.33.

Great thanks!
Comment 12 Andrius Štikonas 2019-01-13 02:26:08 UTC
Git commit 708318a5ad0c3851d276672932f287264eeb31c6 by Andrius Štikonas.
Committed on 13/01/2019 at 02:24.
Pushed by stikonas into branch 'master'.

Add BitLocker detection support.

M  +2    -0    src/fs/CMakeLists.txt
A  +30   -0    src/fs/bitlocker.cpp     [License: GPL (v3+)]
A  +61   -0    src/fs/bitlocker.h     [License: GPL (v3+)]
M  +4    -2    src/fs/filesystem.cpp
M  +1    -0    src/fs/filesystem.h
M  +3    -0    src/fs/filesystemfactory.cpp
M  +1    -0    src/plugins/sfdisk/sfdiskbackend.cpp

https://invent.kde.org/kde/kpmcore/commit/708318a5ad0c3851d276672932f287264eeb31c6
Comment 13 Andrius Štikonas 2019-01-13 02:40:10 UTC
Git commit 6f1ca2cca9cabfe8714db74ea0436c20e9732d43 by Andrius Štikonas.
Committed on 13/01/2019 at 02:39.
Pushed by stikonas into branch 'master'.

Add BitLocker support.

M  +29   -0    src/config/configurepagefilesystemcolors.ui
M  +2    -0    src/partitionmanager.kcfg

https://invent.kde.org/kde/partitionmanager/commit/6f1ca2cca9cabfe8714db74ea0436c20e9732d43
Comment 14 Andrius Štikonas 2019-01-13 13:17:24 UTC
Git commit e749b01b8e85415a437eaf1043d64d6e52d96ae0 by Andrius Štikonas.
Committed on 13/01/2019 at 13:16.
Pushed by stikonas into branch 'master'.

Fix a typo in filesystem support dialog.

BitLocker was mixed up with btrfs.

M  +1    -1    src/fs/filesystemfactory.cpp

https://invent.kde.org/kde/kpmcore/commit/e749b01b8e85415a437eaf1043d64d6e52d96ae0
Comment 15 Teddy 2019-08-18 14:24:23 UTC
Thank you very much!