WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Failed to open LUKS encrypted volume  (Read 2602 times)

Offline hikari

  • Newbie
  • *
  • Posts: 2
Failed to open LUKS encrypted volume
« on: April 02, 2022, 03:28:09 AM »
Hi,
I need to frugal install tiny core as full disk encrypted system.
Boot from iso, install cryptsetup:
Code: [Select]
$ tce-load -wi cryptsetupThen I formatted my whole disk as luks volume:
Code: [Select]
# cryptsetup luksFormat --type luks1 /dev/sdaIt prompts me to input passphrase as expected. Everything looks ok.
Next, to open the encrypted volume:
Code: [Select]
# cryptsetup luksOpen /dev/sda coresysAn error occured:
Code: [Select]
cryptsetup: symbol lookup error: /usr/local/lib/libcryptsetup.so.4: undefined symbol: dm_task_get_info, version BaseI googled and found no answer.
Any idea about that ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14811
Re: Failed to open LUKS encrypted volume
« Reply #1 on: April 02, 2022, 03:44:24 AM »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14811
Re: Failed to open LUKS encrypted volume
« Reply #2 on: April 02, 2022, 03:56:48 AM »
Have you tried cryptsetup from the x86_64 repo?

Offline Fierelier

  • Newbie
  • *
  • Posts: 2
Re: Failed to open LUKS encrypted volume
« Reply #3 on: July 18, 2024, 09:43:47 PM »
I experience the same issue on X86, there was some other post about it as well somewhere. It prevents me from having a big persistent home that is encrypted.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14811
Re: Failed to open LUKS encrypted volume
« Reply #4 on: July 19, 2024, 03:29:41 AM »
You could try the x86_64 version of cryptsetup or, failing that, pm @hiro to request an update to the x86 version.