#902928 Cannot bring the grub menu up with Shift key along with GRUB_TIMEOUT_STYLE=hidden with GRUB_TIMEOUT=0

Package:
grub-efi-amd64
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (EFI-AMD64 version)
Submitter:
Yuri D'Elia
Date:
2023-05-18 15:57:03 UTC
Severity:
important
#902928#5
Date:
2018-07-03 16:14:14 UTC
From:
To:
I was using grub-pc until recently, where I migrated to grub-efi-amd64.
It's the same hardware (lenovo yoga x1).

My grub configuration is unchanged, and consists of:

GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden

I was used to hold shift during boot to bring the grub menu up during
boot, which worked flawlessy.

With grub-efi-amd64 it doesn't work anymore.

#902928#10
Date:
2018-07-03 16:24:51 UTC
From:
To:
firmware doesn't tell us about held modifier keys.  You'll probably need
to use a short but non-zero timeout and press Escape instead.

(It's possible that more recent versions of the UEFI spec have improved
this; but if so then somebody would need to implement that in GRUB, and
it would still only work if you had new enough firmware.)

#902928#15
Date:
2023-05-18 15:52:22 UTC
From:
To:
Works fine on my UEFI system.

I was needed to do some preparations described here:
https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Hide_GRUB_unless_the_Shift_key_is_held_down