[UEFI boot only] Holding shift fails to display grub2 menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Incomplete
|
Wishlist
|
Unassigned | ||
Bug Description
Binary package hint: grub2
Ubuntu added a patch on top of mainline GRUB and Debian such that holding down the Shift modifier key during boot will cause it to display
the hidden boot menu.
In the original IBM PC/AT design the modifier keys (Shifts, Ctrls, Alts) are handled separately to all other keys. Instead of reporting state transitions there is an I/O port register that is read by the software where each bit position represents the current state of the associated
modifier key.
The functionality to read this I/O port register works correctly for BIOS systems or UEFI systems starting in Legacy/CSM mode.
On UEFI systems this does not work. The reasons are:
1. At the time this Ubuntu-specific functionality was added to Ubuntu the UEFI specification, and UEFI implementations by manufacturers, did not provide a way to detect the state of the modifier keys.
2. UEFI only provides the same mechanism as for all other keys: detect a transition of state (key_down or key_up).
3. When GRUB timeout is set to 0 (zero) there is no way to detect a key press transition.
It appears that UEFI specification version 2.4 may now support the required reading of modifier key state so I shall be investigating whether we can now add support for UEFI systems that implement the v2.4 specification.
Changed in grub2 (Ubuntu): | |
status: | New → Invalid |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Canonical Desktop Experience Team (canonical-dx-team) |
description: | updated |
Changed in grub2 (Ubuntu): | |
assignee: | Canonical Desktop Experience Team (canonical-dx-team) → nobody |
summary: |
- Holding shift fails to display grub2 menu + [UEFI boot onlu] Holding shift fails to display grub2 menu |
summary: |
- [UEFI boot onlu] Holding shift fails to display grub2 menu + [UEFI boot only] Holding shift fails to display grub2 menu |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → TJ (tj) |
importance: | Undecided → High |
status: | Confirmed → In Progress |
description: | updated |
Hi Martin. The new grub2 is described here: https:/ /wiki.ubuntu. com/Grub2 where it says holding down shift will show the grub menu (though I haven't had need to try this myself yet). Can you try that and report back?