You are not logged in.
I see this issue: https://bbs.archlinux.org/viewtopic.php?id=264274
i seem to have a similar issue, but i don't know how to resolve.
I am using LUKS 1
I updated to 5.11 yesterday
I have a usb with 4.17.3 and i still cannot unlock my luks drive.
I cannot figure out how to unlock the drive if it won't accept my key.
root@archiso # cryptsetup open --debug --type-luks /dev/sda2 /mnt
# cryptsetup 2.0.3 processing "cryptsetup open --debug --type=luks /dev/sda2 mnt"
# Running command open.
# Locking memory.
# Installing SIGINT SIGTERM handler.
# Unblocking interruption on signal.
# Allocating context for crypt device /dev/sda2.
# Trying to open and read device /dev/sda2 with direct-io.
# Initializing device-mapper backend library.
# Trying to load any crypt type from device /dev/sda2.
# Crypto backend (gcrypt 1.8.3) initialized in cryptsetup library version 2.0.3.
# Detected kernel Linux 4.17.3-1-ARCH x86 64.
# PBKDF pbkdf2, hash sha256, time_ms 2000 (iterations 0), max_menory_kb e. parallel
# Reading LUKS header of size 1024 from device /dev/sda2
# Key length 32, device size 1952474511 sectors, header size 2050 sectors.
# Activating volume mount using token -1.
# Interactive passphrase entry requested.
Enter passphrase for /dev/sda2:
# Activating volume [keyslot -1] using passphrase.
# dm version [ opencount flush ] [163841 (1)
# dm versions [ opencount flush ] (16384] (1)
# Detected an-ioctl version 4,39.0.
# Device-mapper backend running with UDEV support enabled
Device mnt not found
Cannot use device /mnt, name is invalid or still in use,
# Releasing crypt device /dev/sda2 context.
# Releasing device-mapper backend.
# Unlocking memory,
Command failed with code -1 (wrong or missing parameters)Last edited by wandored (2021-03-06 18:55:26)
Offline
what if you use foobar (some crypt mapping name a-z) instead of /mnt (never seen that with cryptsetup before)
Offline
foobar worked. thank you
Offline