Choose style:

Author Topic: USB drive encryption error (SOLVED)  (Read 682 times)

0 Members and 1 Guest are viewing this topic.

Offline xvc

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
USB drive encryption error (SOLVED)
« on: November 26, 2018, 07:22:14 am »
Hi, guys,

I just installed Peppermint 9, and tried to create a password-protected USB flash drive using the Disks utility.

It returned the following error:

Error creating LUKS device. The function "bd_crypto_luks_blob" called but not implemented (disks-error-quark,0).

The same error is returned in attempt to read an ext4 password-protected USB flash drive.

Can someone give an insight into this issue, and most importantly - how to fix it?

Thank you,

xvc
« Last Edit: November 26, 2018, 05:00:34 pm by PCNetSpec, Reason: Marked as (SOLVED) »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: USB drive encryption error
« Reply #1 on: November 26, 2018, 10:57:53 am »
Install the missing libblockdev-crypto2 package:
Code: [Select]
sudo apt-get install libblockdev-crypto2
then restart the udisks2.service
Code: [Select]
systemctl restart udisks2.service
and you hopefully you'll be good to go.
« Last Edit: November 26, 2018, 11:05:30 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline xvc

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: USB drive encryption error
« Reply #2 on: November 26, 2018, 11:18:13 am »
Thank you, PCNetSpec,

I will try it today. I very appreciate your help.

xvc

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: USB drive encryption error
« Reply #3 on: November 26, 2018, 11:19:23 am »
You're most welcome, please let us know how you get on.

Seems Pop_OS! and Mint 19 had the same issue
https://github.com/pop-os/pop/issues/163

If this works, we'll make sure libblockdev-crypto2 is installed OOTB in the Peppermint 9 respin.
« Last Edit: November 26, 2018, 11:21:03 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline xvc

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: USB drive encryption error
« Reply #4 on: November 26, 2018, 02:42:01 pm »
Hi, PCNetSpec,

Thank you for your very smart solution. It worked like a charm.

I suggest you include it in the Peppermint 9 respin.

Before posting here, I tested the following distros last night: MX 17.1, anTix, Manjaro, Peppermint 8, Peppermint 9,  and Linux Mint 19.0 XFSE.

Linux Mint 19.0 XFSE was the only one that did not have this problem (I do not remember if Knoppix 8.2 has it - most likely it has).

I was not sure if it was Ubuntu 18.04 bug so I tested the Peppermint 8 as well (assuming that it was based on Ubuntu 16.04).

All distros except Knoppix and anTix were tested with full installation on bare metal.

Thank you very much for your help again.

xvc
« Last Edit: November 26, 2018, 02:47:15 pm by xvc »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: USB drive encryption error
« Reply #5 on: November 26, 2018, 05:00:10 pm »
Nice, thanks for the feedback .. it'll go in the respin for sure :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec