]> code.delx.au - refind/blobdiff - refind.conf-sample
Version 0.2.6; adds more options for "volume" token in config file
[refind] / refind.conf-sample
index 573844a1c386cc570107c98b0785a57038f6c43b..7e3cb2cdff61ecb28e96d5b219aaa551f7e5a9fd 100644 (file)
@@ -78,13 +78,12 @@ scanfor internal,external,optical
 #max_tags 0
 
 # Set the default menu selection.  The available arguments match the
-# keyboard accelerators available within rEFInd.  You may select the default
-# loader using a one-character abbreviation for the OS name ("M" = Mac OS X,
-# "L" = Linux, "W" = Windows).  You may also specify a digit between 1 and
-# 9, in which case the Nth loader in the menu will be the default.  You can
-# also select a rEFInd tool entry ("S" = EFI Shell, "P" = Partitioning Tool,
-# "U" = shutdown).  This is intended as a quick fix to change the default
-# boot choice until full configurability arrives.
+# keyboard accelerators available within rEFInd.  You may select the
+# default loader using:
+#  - A digit between 1 and 9, in which case the Nth loader in the menu
+#    will be the default. 
+#  - Any substring that corresponds to a portion of the loader's title
+#    (usually the OS's name or boot loader's path).
 #
 #default_selection 1
 
@@ -94,6 +93,10 @@ scanfor internal,external,optical
 # ("{"). Each entry ends with a close curly brace ("}"). Common
 # keywords within each stanza include:
 #
+#  volume    - identifies the filesystem from which subsequent files
+#              are loaded. You can specify the volume by label or by
+#              a number followed by a colon (as in "0:" for the first
+#              filesystem or "1:" for the second).
 #  loader    - identifies the boot loader file
 #  initrd    - Specifies an initial RAM disk file
 #  icon      - specifies a custom boot loader icon
@@ -126,14 +129,16 @@ scanfor internal,external,optical
 # and adjust the entries to suit your needs.
 
 # A sample entry for a Linux 3.3 kernel with its new EFI boot stub
-# support. This includes Linux-specific boot options and specification
-# of an initial RAM disk. Note uses of Linux-style forward slashes,
-# even in the initrd specification. Also note that a leading slash is
-# optional in file specifications.
+# support on a filesystem called "KERNELS". This entry includes
+# Linux-specific boot options and specification of an initial RAM disk.
+# Note uses of Linux-style forward slashes, even in the initrd
+# specification. Also note that a leading slash is optional in file
+# specifications.
 menuentry Linux {
-       loader EFI/Linux/bzImage-3.3.0-rc7
-       initrd EFI/Linux/initrd-3.3.0.img
        icon EFI/refind/icons/os_linux.icns
+       volume KERNELS
+       loader bzImage-3.3.0-rc7
+       initrd initrd-3.3.0.img
        options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
        disabled
 }