bugGNU 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

Submitted by:  Alberto Salvia Novella <es20490446e>
Submitted on:  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: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  None

Sun 09 Feb 2020 06:10:00 PM UTC, comment #1: 

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.)

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.

Also I tried making a custom keyboard layout for GRUB, and the system was no longer able to boot. I see there's a bug report about it on this bug tracker.

Instructions for that are:
https://askubuntu.com/questions/751259/how-to-change-grub-command-line-grub-shell-keyboard-layout

Ideally the command "update-grub" shall get the keyboard layout from the system and automatically apply it to GRUB. Alternatively there should be a command to set the layout.

Alberto Salvia Novella <es20490446e>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joelstienlet (Posted a comment)
  • -email is unavailable- added by es20490446e (Submitted the item)
  • -email is unavailable- added by es20490446e
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-28 es20490446e Carbon-Copy- => Added es20490446e@gmail.com

    Back to the top


    Powered by Savane 3.5