Problem
When you encrypt your disk during Fedora 45 installation, in certain cases (depending on which keyboard layouts you configured in the system) the selected keyboard layout during boot (when unlocking the disk) might not match the layout that you used for entering the password. In those cases, some symbols or passwords might be in different places, and it might be difficult to successfully unlock the drive (especially since you can’t see what you’re typing during disk unlock phase).
This doesn’t happen if you only select a single keyboard layout (for example English (US), or French, or German). It only happens for certain combinations of multiple layouts.
The list of known broken combinations:
- English (US) + some other language - this causes the installer to pick
us-acentoslayout in most cases. However, in this layout, characters`,~,',"and^are used as dead keys (to type them literally, you need to follow them with a space, otherwise"abecomesä). - Czech + some other language - depending on the combination, the installer will pick one of
cz,cz-qwerty,cz-us-qwertzorcz-lat2layouts. The first two will behave as expected, however withcz-us-qwertzmany symbols (e.g.@#$%^&*{}') are placed differently, and withcz-lat2anything except A-Z letters is placed differently and it’s also a qwerty layout (but you might receive it even if you selected qwertz desktop layout).
You can see the boot-related keyboard layout picked be the installer in the Encryption section (in this case us-acentos):
The password is entered during boot on a screen like this:
It is not possible to display the actual characters (instead of dots) on this disk unlock screen.
Note: It is also possible to encounter this issue if you later add another keyboard layout to your installed system. For example, if you install your system with English (US) only, but later add a French keyboard. After the next system update containing a new kernel, the boot environment gets rebuilt, and your boot keyboard layout might change (in this example case, from us to us-acentos).
Cause
In Fedora 45, both the desktop graphical interface and virtual console use XKB keyboard layouts. The boot environment, however, uses older KBD keyboard layouts. The XKB and KBD layouts don’t match 1:1, there’s a heuristic that tries to pick the closest one. With the current technology we can’t make it perfect, but in these described cases, the heuristic isn’t doing the job as well as it could.
Related Issues
Bugzilla report: #2538553
Workarounds
Option A) Pick a password without problematic characters
If you look into the description above, you’ll have an idea what characters are likely problematic.
For US + some extra layout, that would be `, ~, ', " and ^. Avoid using those in your password.
For CZ + some extra layout, it’s best to use just A-Z letters and avoid Y and Z (because of qwerty vs qwertz variants).
If you make your password long enough, it is still safe, even without numbers or special symbols. Use the eye icon to make sure you entered your password correctly.
Option B) Install with one layout, add another layout later
- Pick just the one default layout that should be used for the system (and also the disk unlock during boot). Perform the installation with this layout.
- In the installed system, create another user. This is important, because on multi-user systems, keyboard layout changes are no longer applied to the whole system.
- Now, any user can adjust their preferred keyboard layout settings, and it will have no effect on the default system layout - that will stay the same as selected during installation.
Option C) If you encountered this problem after some system update
If you encountered this problem after a system update, it’s likely that you changed your system keyboard layouts some time recently.
- If your boot layout changed to
us-acentos, you should still be able to type in your password, just make sure to hitSpaceafter each`,~,',"or^character. - Another option is to display GRUB menu during early boot (repeatedly press
F8after PC startup) and boot an older kernel (which still uses the old layout configuration). Then you can re-configure your layouts back as you need them.

