grub icon indicating copy to clipboard operation
grub copied to clipboard

UEFI grub2 menu detects ENTER key on bootup sometimes

Open steve6375 opened this issue 4 years ago • 2 comments

http://reboot.pro/topic/22232-a1ives-grub2-and-file-manager-has-great-uefi-support/page-4#entry214031

A user's system sometimes detects an ENTER key scancode and so the default menu entry is immediately selected - this is when UEFI booting.

The usual cause is that a call to soak up key presses is not done in the code just before waiting for the ENTER key to be pressed during the timeout period. ???

steve6375 avatar Mar 06 '20 13:03 steve6375

I didn't get it

a1ive avatar Mar 06 '20 14:03 a1ive

It is probably dependant on BIOS, but nevertheless, the grub2 code should absorb any key-presses if 'timeout' is used in the menu.

steve6375 avatar Mar 06 '20 14:03 steve6375