基本操作系统 Luks 密码不起作用

基本操作系统 Luks 密码不起作用

过去几天我安装了很多软件,其中一些来自 KXStudio Repositories,之后需要重新启动,现在当计算机启动并出现 cryptsetup 时,我的密码无法识别。在基本操作系统安装中,我将键盘配置为拉丁美洲布局(西班牙语),我的 cryptsetup 密码是:

==?#!123qwe22

启动时,如果我使用美国键盘布局,我尝试使用与第一个字符匹配的按键,但不起作用。现在我用 Live CD 启动并且尝试过

echo -n '==?#!123qwe22' | cryptsetup luksOpen /dev/sda3 sda3_crypt

但不起作用...(此密码没有可用的密钥。)

这是该命令的输出

cryptsetup --debug luksOpen /dev/sda3 sda3_crypt

 cryptsetup 2.0.2 processing "cryptsetup --debug luksOpen /dev/sda3 sda3_crypt"
 Running command open.
 Locking memory.
 Installing SIGINT/SIGTERM handler.
 Unblocking interruption on signal.
 Allocating context for crypt device /dev/sda3.
 Trying to open and read device /dev/sda3 with direct-io.
 Initialising device-mapper backend library.
 Trying to load any crypt type from device /dev/sda3.
 Crypto backend (gcrypt 1.8.1) initialized in cryptsetup library version 2.0.2.
 Detected kernel Linux 5.3.0-53-generic x86_64.
 PBKDF pbkdf2, hash sha256, time_ms 2000 (iterations 0), max_memory_kb 0, parallel_threads 0.
 Reading LUKS header of size 1024 from device /dev/sda3
 Key length 64, device size 1462597632 sectors, header size 4036 sectors.
 Activating volume sda3_crypt using token -1.
 Interactive passphrase entry requested.
Enter passphrase for /dev/sda3:
 Activating volume sda3_crypt [keyslot -1] using passphrase.
 dm version   [ opencount flush ]   [16384] (*1)
 dm versions   [ opencount flush ]   [16384] (*1)
 Detected dm-ioctl version 4.40.0.
 Device-mapper backend running with UDEV support enabled.
 dm status sda3_crypt  [ opencount flush ]   [16384] (*1)
 Trying to open key slot 0 [ACTIVE_LAST].
 Reading key slot 0 area.
 Using userspace crypto wrapper to access keyslot area.
 Trying to open key slot 1 [INACTIVE].
 Trying to open key slot 2 [INACTIVE].
 Trying to open key slot 3 [INACTIVE].
 Trying to open key slot 4 [INACTIVE].
 Trying to open key slot 5 [INACTIVE].
 Trying to open key slot 6 [INACTIVE].
 Trying to open key slot 7 [INACTIVE].
No key available with this passphrase.
 Interactive passphrase entry requested.

如果你能帮助我,我将非常感激,我很绝望:(谢谢

相关内容