Mounting and unlocking LUKS-encrypted devices

2 replies [Last post]
Connochaetes
Offline
Joined: 12/13/2017

Using the 2020-03-29 ISO of Trisquel 9 on a live USB, Trisquel says:
Unable to mount [device]
Error unlocking /dev/sdb[number]: The function 'bd_crypto_luks_open_blob' called, but not implemented!

It works perfectly fine from an installed Trisquel 7. How can I make it work from the Trisquel 9 live system, or at least after installing Trisquel 9?

Having no better idea, all I've tried is searching for packages with "luks" in name or description and installing the cryptmount package. I haven't tried logging out and back in yet, and I don't think I've tested the device with Debian.

liberpoolesque
Offline
Joined: 01/07/2020

After entering your error message into a search engine, I found several people reporting the same problem with Ubuntu 18.04, which is the version Trisquel 9 is based on, if I remember correctly. In the cases I found, a critical component (libblockdev-crypto2) was missing because it did not get installed by default by Ubuntu.

In most instances, it was recommended to install the missing dependency manually by entering the following two commands in a terminal:

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

I tested this on an older Trisquel 9 iso, and it seemed to work (after failing once for some strange reason).

Connochaetes
Offline
Joined: 12/13/2017

Great, thank you very much. I should've thought of searching for my error message.