You are not logged in.

#1 2020-06-27 09:01:48

stroudmw
Member
From: Johannesburg
Registered: 2019-02-15
Posts: 20

[SOLVED] Lithium & external encrypted usb drive

I've just installed Lithium. It doesn't mount my luks encrypted ext4 external hard drive. I have tried each of the 3 options (forget immediately, remember until logout, remember forever) without success.

fdisk -l shows me this:

Disk /dev/sdb: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors
Disk model: External USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Last edited by stroudmw (2020-06-27 09:17:16)

Offline

#2 2020-06-27 09:12:16

stroudmw
Member
From: Johannesburg
Registered: 2019-02-15
Posts: 20

Re: [SOLVED] Lithium & external encrypted usb drive

A bit more info: Instead of Thunar, I've installed PCManFM. It won't mount it either, but it gives me this error message:

Error unlocking /dev/sdb: The function 'bd_crypto_luks_open_blob' called, but not implemented!

Offline

#3 2020-06-27 09:15:51

stroudmw
Member
From: Johannesburg
Registered: 2019-02-15
Posts: 20

Re: [SOLVED] Lithium & external encrypted usb drive

...and Google gave me a solution!

sudo apt install libblockdev-crypto2 
sudo systemctl restart udisks2.service 

It works now.

Offline

#4 2020-06-27 09:37:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,969
Website

Re: [SOLVED] Lithium & external encrypted usb drive

Thanks for this report!

libblockdev-crypto2 is a very small package, so could easily be added to the BunsenLabs default install list. Being able to mount encrypted external drives sounds like a Good Thing. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#5 2020-06-27 09:40:04

stroudmw
Member
From: Johannesburg
Registered: 2019-02-15
Posts: 20

Re: [SOLVED] Lithium & external encrypted usb drive

I encrypt my external drive for the obvious reason - in case it gets lost or stolen.
PCManFM helped as it least it told me what the problem was!
Google did the rest  smile

Offline

#6 2020-06-27 14:53:38

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 909

Re: [SOLVED] Lithium & external encrypted usb drive

Nice catch @stroudmw. Wonder if libblockdev-crypto2 should been a recommends or a depends of udisks2.


Real Men Use Linux

Offline

#7 2020-06-28 02:42:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,969
Website

Re: [SOLVED] Lithium & external encrypted usb drive

^Just looked, it is a recommend:
https://packages.debian.org/buster/udisks2
Debian packages in the BL iso are installed without recommends to keep the install size under control, but that means we need to keep an eye open for important packages like this.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

Board footer

Powered by FluxBB