Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting USB memory device encrypted with BitLocker fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 137

PostPosted: Fri Jul 19, 2024 1:18 am    Post subject: mounting USB memory device encrypted with BitLocker fails Reply with quote

Error unlocking /dev/sdb1: Failed to activate device: Operation not supported

The above message is shown in Dolphin. It asks for the KDE wallet password to get the device password from the wallet.
Code:
# emerge -av cryptsetup dislocker openssl

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 16.06 s (backtrack: 0/20).

[ebuild   R    ] dev-libs/openssl-3.0.13-r2:0/3::gentoo  USE="asm verify-sig -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -weak-ssl-ciphers" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild   R    ] sys-fs/cryptsetup-2.6.1:0/12::gentoo  USE="argon2 nls openssl udev -fips -gcrypt -kernel -nettle -pwquality -ssh -static -static-libs -test -urandom" 0 KiB
[ebuild   R   ~] sys-fs/dislocker-0.7.3::gentoo  USE="-ruby" 0 KiB
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 137

PostPosted: Fri Jul 19, 2024 1:58 am    Post subject: Reply with quote

I was able to read files on the device with the commands from https://www.baeldung.com/linux/bitlocker-encrypted-device:

Code:
# mkdir /mnt/dislocker
# mkdir /mnt/USB-memory
# dislocker -v -V /dev/sdb1 -uPASSWORD -- /mnt/dislocker
# mount -o loop,rw /mnt/dislocker/dislocker-file /mnt/USB-memory


And then unmount:
Code:
# umount /mnt/USB-memory
# umount /mnt/dislocker



But of course I want to be able to do it from the graphical user interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum