Keyboard locale for crypt disk

Asked by FMaz

How does it work for locale keyboard and crypt disk ?

The installation ask us to type crypt disk password prior to selecting any locale.
And when we are prompted to type the password, there is no option to display what we type, or select a keyboard locale.

I'm concerned because I installed Xubuntu 13.10 twice and both time I was told my password did not match.
I have hardtime believing I miss-typed my password twice the same wrong way during 2 separate install.

This also triggered another question: How do we update that password ? If we can't, it would be good to have a notice during the install because I now have a dumb pass that is the same on both querty and azerty keyboard.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ishan A B Ambanwela (ishanaba) said :
#1

when you are encrypting did you use the same layout?

Revision history for this message
FMaz (fmaz008) said :
#2

Well that's my issue: when you are in the process of installing Xubuntu, the crypt disk password is asked BEFORE the keyboard layout. So in my case, it was a different layout that was detected by the setup than the one used by the crypt disk boot interface. ( or at least , I guess that was the case ).

And the issue is that I could not display the password in the installation, or change the keyboard locale in the crypt disk boot interface.

 I only clued in when I tried to type something else in the same screen and the key didn't match what I typed.

So I guess what I'm trying to say is that it's a problem if the default layout of the installation is different than the layout of the crypt disk boot interface.

Revision history for this message
Thomas Brown (s1eg365) said :
#3

The standard keyboard layout is supposed to be US English.

If you are able to match the keys you typed to an English keyboard layout and type the corresponding password in the current layout on startup you might boot and login.
Updating the password is done using cryptsetup by creating a new one (with the correct keyboard layout) and removing the old one afterwards. Refer to cryptsetup's manpage for details.

A workaround for the installation progress would be to install from a live USB key after setting the keyboard layout within the live environment (using either setxkbmap from the terminal or the control center of the desktop environment used).

Can you help with this problem?

Provide an answer of your own, or ask FMaz for more information if necessary.

To post a message you must log in.