]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* docs/grub.texi (Simple configuration): Explain some of the
authorColin Watson <cjwatson@ubuntu.com>
Wed, 30 Mar 2011 02:20:09 +0000 (03:20 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 30 Mar 2011 02:20:09 +0000 (03:20 +0100)
current limitations of grub-mkconfig.

ChangeLog
docs/grub.texi

index 661f085027bb63bd6cc976388934f2a4bad6d294..35fd04154a9a0135255c30a150cca296e390e520 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-30  Colin Watson  <cjwatson@debian.org>
+
+       * docs/grub.texi (Simple configuration): Explain some of the
+       current limitations of grub-mkconfig.
+
 2011-03-29  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Old macs search for boot.efi rather than for bootia32.efi.
index 368d21f1d4c196f1864af7e56030c49f9f4192f6..9ff72798ba9cb652ff7f9d81a3fa3e3490ecaba5 100644 (file)
@@ -1066,6 +1066,16 @@ generates @file{grub.cfg} files suitable for most cases.  It is suitable for
 use when upgrading a distribution, and will discover available kernels and
 attempt to generate menu entries for them.
 
+@command{grub-mkconfig} does have some limitations.  While adding extra
+custom menu entries to the end of the list can be done by editing
+@file{/etc/grub.d/40_custom} or creating @file{/boot/grub/custom.cfg},
+changing the order of menu entries or changing their titles may require
+making complex changes to shell scripts stored in @file{/etc/grub.d/}.  This
+may be improved in the future.  In the meantime, those who feel that it
+would be easier to write @file{grub.cfg} directly are encouraged to do so
+(@pxref{Booting}, and @ref{Shell-like scripting}), and to disable any system
+provided by their distribution to automatically run @command{grub-mkconfig}.
+
 The file @file{/etc/default/grub} controls the operation of
 @command{grub-mkconfig}.  It is sourced by a shell script, and so must be
 valid POSIX shell input; normally, it will just be a sequence of