Comment by Johnny_Brahms

10 years ago

I have had something similar bite me, although mine was easily fixed. I used swedish (åäö) characters for my disk encryption password. This worked fine, until I did a dist-upgrade and had my boot keyboard reset to US QWERTY (using a custom swedish version of capewell-dvorak).

The solution for me was to stick on LTS distros.

A quote from the Slackware README_CTYPT.txt

"NOTE: if you use a non-US keyboard and need to enter a passphrase during boot, this may be problematic if the keyboard mapping is US while Slackware runs from the initrd filesystem. In this case, add support for your keyboard to the initrd image using this additional parameter to the 'mkinitrd' command above: "-l <language>". The string <language> is the same as the one you select in the installer when your keyboard is non-US. Example for a dutch keyboard: "-l nl"."

Now I'm warned that other systems that use automated kernel updates may clobber the keyboard choice for the initrd.

  • "May" as in "most certainly did", at least when you are lazy like me and use a GUI-centered distro.

    I ended up plugging the harddrive into another computer and fixing it from there.

    I never got that shit from slackware...

  • I have to input a different keyboard when logging in through sddm vs. when using sudo, due to sddm refusing to accept non-US locales.

A similar problem is having a UK pound sign (£) or double quotes (") in your password. These are mapped differently in UK and US keyboards, and £ is sometimes not easily available at all.

I'm pretty sure the standard US layout offers more than enough symbols to write an excellent password.

I tend to prefer extremely long passwords/phrases over things that require stupid characters (had trouble with WiFi keys using the French "é" back in 2008, all my passwords are ASCII since)