GNU GRUB - Bugs: bug #56233, Making keyboard layout reliable
You are not allowed to post comments on this tracker with your current authentication level.
bug #56233: Making keyboard layout reliable
Submitter: | Alberto Salvia Novella <es20490446e> | ||
Submitted: | Sun 28 Apr 2019 08:30:05 PM UTC | ||
Category: | Booting | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Feature Request |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | Alberto Salvia Novella |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Sun 09 Feb 2020 06:10:00 PM UTC, comment #1: |
Joel Stienlet <joelstienlet> |
Sun 28 Apr 2019 08:30:05 PM UTC, original submission:
I have a non USA keyboard. If in my Linux distro I set full disk encryption using special characters the password won't work on next boot basically because GRUB will have a different keyboard layout than when I set the encryption password, effectively locking any non USA user out of their systems.
|
Alberto Salvia Novella <es20490446e> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-04-28 | es20490446e | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-f8d8.
Corresponding source code
Hello,
That same issue was discussed on Calamares's github, issue 1203, here the technical solution I suggest:
https://github.com/calamares/calamares/issues/1203#issuecomment-583853997
Namely:
- setting a new variable in NVRAM, which would contain the preferred keyboard layout. (this requires a small change in GRUB)
- adding all keyboard layouts to the EFI grub image (should be done by the distro, no work required from grub)
The difficulty solved:
- when /boot is encrypted, the keyboard layout files are not accessible
( distros ship a binary EFI image that gets updated now and then, so they have to take care of the inclusion of the required layouts in the binary itself, so that these layouts are available at early stage.)