Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: hikari on April 02, 2022, 03:28:09 AM

Title: Failed to open LUKS encrypted volume
Post by: hikari 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 ?
Title: Re: Failed to open LUKS encrypted volume
Post by: Juanito on April 02, 2022, 03:44:24 AM
Does this help: http://forum.tinycorelinux.net/index.php?topic=22142.0
Title: Re: Failed to open LUKS encrypted volume
Post by: Juanito on April 02, 2022, 03:56:48 AM
Have you tried cryptsetup from the x86_64 repo?
Title: Re: Failed to open LUKS encrypted volume
Post by: Fierelier 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.
Title: Re: Failed to open LUKS encrypted volume
Post by: Juanito 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.