]> git.proxmox.com Git - grub2.git/commitdiff
document GRUB_DISABLE_SUBMENU
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 10 Nov 2013 13:40:47 +0000 (17:40 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 10 Nov 2013 13:40:47 +0000 (17:40 +0400)
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
docs/grub.texi

index ead8fbd55a64f2c602791a2dca44ea1c61b08985..58e04e288211f86797c5d85c1c40ddd230eae244 100644 (file)
@@ -1450,6 +1450,18 @@ Normally, @command{grub-mkconfig} will try to use the external
 systems installed on the same system and generate appropriate menu entries
 for them.  Set this option to @samp{true} to disable this.
 
+@item GRUB_DISABLE_SUBMENU
+Normally, @command{grub-mkconfig} will generate top level menu entry for
+the kernel with highest version number and put all other found kernels
+or alternative menu entries for recovery mode in submenu. For entries returned
+by @command{os-prober} first entry will be put on top level and all others
+in submenu. If this option is set to @samp{y}, flat menu with all entries
+on top level will be generated instead. Changing this option will require
+changing existing values of @samp{GRUB_DEFAULT}, @samp{fallback} (@pxref{fallback})
+and @samp{default} (@pxref{default}) environment variables as well as saved
+default entry using @command{grub-set-default} and value used with
+@command{grub-reboot}.
+
 @item GRUB_ENABLE_CRYPTODISK
 If set to @samp{y}, @command{grub-mkconfig} and @command{grub-install} will
 check for encrypted disks and generate additional commands needed to access