1. 16 Mar, 2018 2 commits
    • Colin Watson's avatar
      Add GRUB_RECOVERY_TITLE option · 0adc9d7d
      Colin Watson authored
      This allows the controversial "recovery mode" text to be customised.
      Bug-Ubuntu: https://bugs.launchpad.net/bugs/1240360
      Forwarded: no
      Last-Update: 2013-12-25
      Patch-Name: mkconfig_recovery_title.patch
    • Colin Watson's avatar
      Add configure option to bypass boot menu if possible · 82480176
      Colin Watson authored
      If other operating systems are installed, then automatically unhide the
      menu.  Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
      available to check whether Shift is pressed.  If it is, show the menu,
      otherwise boot immediately.  If keystatus is not available, then fall
      back to a short delay interruptible with Escape.
      This may or may not remain Ubuntu-specific, although it's not obviously
      wanted upstream.  It implements a requirement of
      If the previous boot failed (defined as failing to get to the end of one
      of the normal runlevels), then show the boot menu regardless.
      Author: Richard Laager <rlaager@wiktel.com>
      Author: Robie Basak <robie.basak@ubuntu.com>
      Forwarded: no
      Last-Update: 2015-09-04
      Patch-Name: quick_boot.patch
  2. 03 Feb, 2017 1 commit
    • Daniel Kahn Gillmor's avatar
      documentation: Clarify documentation for special environment variable "default". · bf94ef7f
      Daniel Kahn Gillmor authored
      The current documentation for the special environment variable
      "default" is confusing and unclear.  This patch attempts to clean it
      In particular, the current documentation refers to the "number or
      title", but then in the example it gives, the menu entries and
      submenus all have numbers *in* their title; furthermore, there is no
      example given about how to choose the number, or any indication about
      whether counting is zero-indexed or 1-indexed.
      Having a cleaner example and presenting all variants (numeric, title,
      and id) should make it clearer to the user.
      Signed-off-by: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor <dkg@fifthhorseman.net>
  3. 22 Nov, 2016 1 commit
    • Andrei Borzenkov's avatar
      bootp: export next server IP as environment variable · f8c3af3b
      Andrei Borzenkov authored
      Network boot autoconfiguration sets default server to next server IP
      (siaddr) from BOOTP/DHCP reply, but manual configuration using net_bootp
      exports only server name. Unfortunately semantic of server name is not
      clearly defined. BOOTP RFC 951 defines it only for client request, and
      DHCP RFC 1541 only mentions it, without any implied usage. It looks like
      this field is mostly empty in server replies.
      Export next server IP as net_<interface>_next_server variable. This allows
      grub configuration script to set $root/$prefix based on information obtained
      by net_bootp.
      Reported and tested by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
      Cc: nikunj@linux.vnet.ibm.com
      v2: change variable name to net_<interface>_next_server as discussed on the list
  4. 12 Feb, 2016 1 commit
  5. 22 Jan, 2016 2 commits
  6. 14 Dec, 2015 1 commit
  7. 12 Nov, 2015 1 commit
  8. 07 Nov, 2015 1 commit
  9. 30 May, 2015 1 commit
  10. 17 May, 2015 1 commit
    • Andrei Borzenkov's avatar
      bootp: ignore gateway_ip (relay) field. · a666c8bd
      Andrei Borzenkov authored
      From RFC1542:
         The 'giaddr' field is rather poorly named.  It exists to facilitate
         the transfer of BOOTREQUEST messages from a client, through BOOTP
         relay agents, to servers on different networks than the client.
         Similarly, it facilitates the delivery of BOOTREPLY messages from the
         servers, through BOOTP relay agents, back to the client.  In no case
         does it represent a general IP router to be used by the client.  A
         BOOTP client MUST set the 'giaddr' field to zero ( in all
         BOOTREQUEST messages it generates.
         A BOOTP client MUST NOT interpret the 'giaddr' field of a BOOTREPLY
         message to be the IP address of an IP router.  A BOOTP client SHOULD
         completely ignore the contents of the 'giaddr' field in BOOTREPLY
      Leave code ifdef'd out for the time being in case we see regression.
      Suggested by: Rink Springer <rink@rink.nu>
      Closes: 43396
  11. 12 Apr, 2015 1 commit
  12. 23 Dec, 2013 1 commit
  13. 10 Dec, 2013 1 commit
  14. 07 Dec, 2013 1 commit
  15. 30 Nov, 2013 1 commit
  16. 29 Nov, 2013 4 commits
  17. 28 Nov, 2013 3 commits
    • Francesco Lavra's avatar
    • Colin Watson's avatar
      Fix documentation of timeout expiry. · 827d87e9
      Colin Watson authored
    • Colin Watson's avatar
      Revamp hidden timeout handling · 8f236c14
      Colin Watson authored
      Add 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
      GRUB_HIDDEN_TIMEOUT=<non-empty> + GRUB_TIMEOUT=<non-zero> now
      generates a warning, and if it shows the menu it will do so as if
      the second timeout were not present.  Other combinations are
      translated into reasonable equivalents.
  18. 19 Nov, 2013 1 commit
  19. 16 Nov, 2013 1 commit
  20. 13 Nov, 2013 1 commit
  21. 10 Nov, 2013 2 commits
  22. 09 Nov, 2013 1 commit
  23. 04 Nov, 2013 3 commits
  24. 03 Nov, 2013 1 commit
  25. 28 Oct, 2013 1 commit
  26. 25 Oct, 2013 1 commit
    • Jon McCune's avatar
      Documentation cleanup in response to ML discussion. · c16535a8
      Jon McCune authored
       [v0] Accepted with modifications by phcoder@
       [v1] Introduce subsections within Security
       [v1] Correct errors regarding public key files not being automatically signature-checked in trust and verify_detached
       [v1] Replace check_signatures=enforce with check_signatures set to enforce
       [v1] Move detailed discussion of using signatures out of check_signatures environment variable description
       [v1] Use long form for option flags to security-relevant commands
       [v2] Explain the key fingerprint format for distrust and list_trusted.
       [v2] Eliminates references to grub-mkimage and UEFI Secure Boot.
       [v3] Updates in response to addition of --skip-sig to trust and verify_detached
       [  ] Restore @xref for cross-references at the start of sentences
  27. 23 Oct, 2013 1 commit
  28. 17 Oct, 2013 2 commits
  29. 16 Oct, 2013 1 commit