On Thu, Apr 29, 2021 at 6:41 AM Matti Pulkkinen <mkj...@utu.fi> wrote: > > ke, 2021-04-28 kello 21:49 -0600, Chris Murphy kirjoitti: > > Could you provide details about the installation choices made related > > to language and key mapping? Was it also a Finnish keyboard being > > used > > during the installation? And can you provide either the linux command > > line from grub.cfg or from /proc/cmdline from the booted system if > > you're able to get it booted? > > > > This could be Anaconda or dracut. > > > > Sure. The installer automatically detected my location over WiFi and > selected Finnish language and the Finnish keyboard layout accordingly. > I used a Finnish keyboard during the installation (the integrated one > on the laptop), and didn't select any additional languages or layouts. > I am able to get it booted, the only problem here is that the layout is > wrong during the encryption password prompt. Once I enter the password > (using the US layout) the machine boots just fine, and the keyboard > layout is Finnish as it should be. Here's the Linux command line: > > BOOT_IMAGE=(hd1,msdos2)/vmlinuz-5.11.15-300.fc34.x86_64 > root=UUID=f4bb44bd-f3cb-48eb-b0e5-1e0e06038f6c ro rootflags=subvol=root > rd.luks.uuid=luks-1273c19e-6876-47c5-aff4-e6c2dd781b3c rhgb quiet
I guess I'm confused about why US keymapping is needed to enter the LUKS passphrase during boot. The keymappings need to be the same for luksFormat (used by the installer) and luksOpen (used by plymouth during startup). I'm used to see a hint what that keymapping is supposed to be, but I haven't done a non-US English installation recently enough to remember the details :\ But what I can say is neither LUKS1 or 2 have a specific way to indicate the keymapping. Hence dmcrypt/crypsetup folks recommend modhex or base16 or even just the lowercase printable ASCII plus numerals (no special characters). That way you don't end up getting stuck with a passphrase using characters that a keyboard doesn't support. Or alternatively you use UTF8 based passphrase with Finnish keyboard in one keyslot and add another password in a second keyslot that follows the recommendation, e.g. modhex based passphrase. -- Chris Murphy _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure