[Bug 1178618] Re: --hotkey option does not work when the menu is hidden

Launchpad Bug Tracker 1178618 at bugs.launchpad.net
Mon Dec 23 12:56:24 UTC 2013


This bug was fixed in the package grub2 - 1.99-21ubuntu3.14

---------------
grub2 (1.99-21ubuntu3.14) precise; urgency=low

  * Handle FAT filesystems on non-512B disks (LP: #1065281).
  * Probe FusionIO devices (LP: #1237519).
  * On Linux, read partition start offsets from sysfs if possible
    (LP: #1237519).

grub2 (1.99-21ubuntu3.13) precise; urgency=low

  * Revamp hidden timeout handling by adding a new timeout_style environment
    variable and a corresponding GRUB_TIMEOUT_STYLE configuration key for
    grub-mkconfig.  This controls hidden-timeout handling more simply than
    the previous arrangements, and pressing any hotkeys associated with menu
    entries during the hidden timeout will now boot the corresponding menu
    entry immediately (LP: #1178618).  As part of merging this, radically
    simplify /etc/grub.d/30_os-prober; if it finds other OSes it can now
    just set timeout_style=menu and make sure the timeout is non-zero.
  * Fix mismerge of GRUB_RECOVERY_TITLE option in 1.99-21ubuntu3.12.

grub2 (1.99-21ubuntu3.12) precise; urgency=low

  * debian/build-efi-images: Where possible, make use of the device path
    derived from the EFI Loaded Image Protocol to compute the prefix
    (LP: #1097570).
  * Add GRUB_RECOVERY_TITLE option, to allow the controversial "recovery
    mode" text to be customised (LP: #1240360).
 -- Colin Watson <cjwatson at ubuntu.com>   Thu, 05 Dec 2013 16:53:48 +0000

** Changed in: grub2 (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1178618

Title:
  --hotkey option does not work when the menu is hidden

Status in GRand Unified Bootloader:
  New
Status in OEM Priority Project:
  Confirmed
Status in OEM Priority Project precise series:
  Confirmed
Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Precise:
  Fix Released

Bug description:
  
  Grub2 can detect key modifier status in 'sleep --interruptible', 
  so that you can interrupt the sleep by pressing Shift.
  (src: grub-core/commands/sleep.c)

  It will be useful if grub2 can also detect function key status,
  so user can boot to pre-defined grub menu entry by press specified
  function key.

  Here is a proposed command name and usage.

  - getfunctionkey -i {sec} {keyname}

  Here is an example of configuration that user can start memory test
  whiling he is pressing F9.

  ```
  if ! getfunctionkey -i 3 f9 ; then
  menuentry "Memory test (memtest86+)" {                                                                                                                                                                           
          insmod part_msdos
          insmod ext2
          set root='(hd0,msdos1)'
          search --no-floppy --fs-uuid --set=root d458babc-81f0-4dd7-ac88-410407141e2c
          linux16 /boot/memtest86+.bin
  }
  fi
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1178618/+subscriptions



More information about the foundations-bugs mailing list