You are not logged in.
Hi,
I've been running arch for a while now; I have 2 HDDs (one of which contains my /, which is encrypted) and want to repartition them. The problem is that I am unable to unlock my crypted filesystem. I can boot the system, so the password is accepted at boot. But as soon as I try opening it via a OS that runs from a live disk it isn't. I have tried different keyboard layouts (I'm from Germany so that might be an issue, though I'm convinced I used the US keymap to encrypt the partition.) I tried all sort of US keymaps and also all sort of German ones. Then I thought, that there might be a character in the password that causes some sort of trouble, so I decided to add an additional password via my regular arch. But when I try sudo cryptsetup luksAddKey /dev/sda2 and enter the password it also says that the password is wrong. Of course I tried all different keyboard layouts, again with no success.
Does anybody have an idea what the problem could be?
Thanks in advance.
harriman
Last edited by harriman (2012-11-23 16:35:10)
Offline
Have you tried toggling numlock?
Offline
Not before you mentioned it, as there is no character I enter with the numpad. I still tried, no success either.
Any other ideas?
harriman
Offline
I notice that you are running "sudo cryptsetup ...".
Are you sure that it is failing on the cryptsetup password and not on sudo?
If this is not the problem:
boot with the "break" boot option, this will drop to a shell in the initramfs.
From there you will have the same environment which opens your LUKS volume at boot: run cryptsetup luksAddKey from there
Offline
Your second suggestion worked great! Thanks a lot!
harriman
Offline
Good!
For the future it is better if you understand which was the right keymap.
Try again from the initramfs and see what it writes when you type your old password.
And don't forget to mark this thread as [SOLVED]
Offline