0

I've encrypted my /boot partition with dm-crypt in a luks container. I've added a strong password to the slot #0 of the luks container.

Now I can open the container from a live CD successfully but not from Grub.

I tried to put a weak password instead (4 letters) and it works with Grub.

My strong password is 20 characters long, with letters, digits and punctuation in it.

It's not the first time I'm doing this kind of setup, but I've never encountered such an issue before.

EDIT: I use the default keymap.

  • Are you sure it isn't a keymap problem? Try a password with only letters (it's easier to memorize for a given strength anyway) — without QWAZM if you use a French keyboard. – Gilles 'SO- stop being evil' Oct 1 '16 at 23:37
  • Well, when I'm dropped in the Grub shell, it seems to be qwerty us. I succeed to type the password in clear in the shell. Do you know if Grub could erroneously change the keymap just for the password prompt? – Antoine Oct 2 '16 at 8:25
0

Punctuation is a problem, really. Something in your password makes a special combination which marks the end of the password. Try a longer password, but with letters and digits only.
It is a general advice, not just for Grub. Many older security tools have problems with punctuation, especially slashes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.