You are not logged in.
Pages: 1
On a reboot of my laptop I was prompted for the luks passphrase but after entering it I received the following message
No key available with this passphraseI have a live usb and booted from there and tried to decrypt the laptop SSD manually with
cryptsetup open /dev/nvme0n1p2 crypt
<enter passphrase>
mount /dev/mapper/crypt /mntand that works just fine, so the passphrase is the correct one!
At this point I've also run
arch-chroot /mnt
pacman -Syyujust to be sure the system is up to date.
I rebooted now and tried again to boot from the laptop SSD but still the same error appears.
Does anyone know how to debug/fix this?
Last edited by svartkanin (2022-09-09 09:39:34)
Offline
From your installed system (chroot or otherwise):
$ localectl
$ cat /etc/vconsole.conf
$ grep ^HOOKS /etc/mkinitcpio.confBackground: If you use a non-English keyboard layout and have a password containing certain special characters, "y" or "z", you need to load it before the encrypt hook:
$ grep ^HOOKS /etc/mkinitcpio.conf
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)or, if you use the default udev setup
HOOKS=(... keyboard keymap ...)Last edited by schard (2022-09-09 10:32:32)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Wow I did actually have the wrong locale set :giantfacepalm:
I set it to "us" now and manged to get beyond the luks passphrase, however, now I'm faced with the following issue
Failed to mount /bootfstab:
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
# /dev/mapper/luksloop
UUID=782d7662-727d-4fdc-b76e-c0021a1d8e0a / ext4 rw,relatime 0 1
# /dev/nvme0n1p1 LABEL=ESP
UUID=75E1-B2A4 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2blkid
/dev/nvme0n1p1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="75E1-B2A4" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI" PARTUUID="1a7705d3-42d6-4754-88e0-c0b9fa716a8d"
/dev/nvme0n1p2: UUID="0ea87187-8db6-40ce-96fc-226cc34f417e" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="ff648914-5801-4b9a-9081-c1e33b083b00"
/dev/mapper/crypt: UUID="782d7662-727d-4fdc-b76e-c0021a1d8e0a" BLOCK_SIZE="4096" TYPE="ext4"/etc/mkinitcpio.conf
HOOKS=(base udev autodetect keyboard keymap modconf block encrypt filesystems fsck)Last edited by svartkanin (2022-09-09 13:09:19)
Offline
This is a completely different issue.
Is the directory /boot existent and empty?
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
I can mount the boot partition just fine on the liveusb and it also seems to contain all necessary files
Offline
That is not what I was asking.
# umount /boot
$ ls -la /bootLast edited by schard (2022-09-09 18:13:59)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Pages: 1