]> code.delx.au - refind/blob - refind.conf-sample
New config file option: "also_scan_dirs".
[refind] / refind.conf-sample
1 #
2 # refind.conf
3 # Configuration file for the rEFInd boot menu
4 #
5
6 # Timeout in seconds for the main menu screen. Setting the timeout to 0
7 # disables automatic booting (i.e., no timeout).
8 #
9 timeout 20
10
11 # Hide user interface elements for personal preference or to increase
12 # security:
13 # banner - the rEFInd title banner
14 # label - text label in the menu
15 # singleuser - remove the submenu options to boot Mac OS X in single-user
16 # or verbose modes; affects ONLY MacOS X
17 # hwtest - the submenu option to run Apple's hardware test
18 # arrows - scroll arrows on the OS selection tag line
19 # all - all of the above
20 #
21 #hideui singleuser
22 #hideui all
23
24 # Use a custom title banner instead of the rEFInd icon and name. The file
25 # path is relative to the directory where refind.efi is located. The color
26 # in the top left corner of the image is used as the background color
27 # for the menu screens. Currently uncompressed BMP images with color
28 # depths of 24, 8, 4 or 1 bits are supported.
29 #
30 #banner hostname.bmp
31
32 # Custom images for the selection background. There is a big one (144 x 144)
33 # for the OS icons, and a small one (64 x 64) for the function icons in the
34 # second row. If only a small image is given, that one is also used for
35 # the big icons by stretching it in the middle. If only a big one is given,
36 # the built-in default will be used for the small icons.
37 #
38 # Like the banner option above, these options take a filename of
39 # an uncompressed BMP image file.
40 #
41 #selection_big selection-big.bmp
42 #selection_small selection-small.bmp
43
44 # Use text mode only. When enabled, this option forces rEFInd into text mode.
45 #
46 #textonly
47
48 # Which non-bootloader tools to show on the tools line, and in what
49 # order to display them:
50 # shell - the EFI shell
51 # gptsync - the (dangerous) gptsync.efi utility
52 # about - an "about this program" option
53 # exit - a tag to exit from rEFInd
54 # shutdown - shuts down the computer (a bug causes this to reboot EFI
55 # systems)
56 # reboot - a tag to reboot the computer
57 # Default is shell,about,shutdown,reboot
58 #
59 #showtools shell, about, reboot
60
61 # Which types of boot loaders to search, and in what order to display them:
62 # internal - internal EFI disk-based boot loaders
63 # external - external EFI disk-based boot loaders
64 # optical - EFI optical discs (CD, DVD, etc.)
65 # hdbios - BIOS disk-based boot loaders
66 # biosexternal - BIOS external boot loaders (USB, eSATA, etc.)
67 # cd - BIOS optical-disc boot loaders
68 # manual - use stanzas later in this configuration file
69 # Default is internal,external,optical
70 #
71 #scanfor internal,external,optical
72
73 # When scanning volumes for EFI boot loaders, rEFInd always looks for
74 # Mac OS X's and Microsoft Windows' boot loaders in their normal locations,
75 # and scans the root directory and every subdirectory of the /EFI directory
76 # for additional boot loaders, but it doesn't recurse into these directories.
77 # The also_scan_dirs token adds more directories to the scan list.
78 # Directories are specified relative to the volume's root directory. This
79 # option applies to ALL the volumes that rEFInd scans. If a specified
80 # directory doesn't exist, it's ignored (no error condition results).
81 # The default is to scan no additional directories.
82 #
83 #also_scan_dirs boot,EFI/linux/kernels
84
85 # Set the maximum number of tags that can be displayed on the screen at
86 # any time. If more loaders are discovered than this value, rEFInd shows
87 # a subset in a scrolling list. If this value is set too high for the
88 # screen to handle, it's reduced to the value that the screen can manage.
89 # If this value is set to 0 (the default), it's adjusted to the number
90 # that the screen can handle.
91 #
92 #max_tags 0
93
94 # Set the default menu selection. The available arguments match the
95 # keyboard accelerators available within rEFInd. You may select the
96 # default loader using:
97 # - A digit between 1 and 9, in which case the Nth loader in the menu
98 # will be the default.
99 # - Any substring that corresponds to a portion of the loader's title
100 # (usually the OS's name or boot loader's path).
101 #
102 #default_selection 1
103
104 # Sample manual configuration stanzas. Each begins with the "menuentry"
105 # keyword followed by a name that's to appear in the menu (use quotes
106 # if you want the name to contain a space) and an open curly brace
107 # ("{"). Each entry ends with a close curly brace ("}"). Common
108 # keywords within each stanza include:
109 #
110 # volume - identifies the filesystem from which subsequent files
111 # are loaded. You can specify the volume by label or by
112 # a number followed by a colon (as in "0:" for the first
113 # filesystem or "1:" for the second).
114 # loader - identifies the boot loader file
115 # initrd - Specifies an initial RAM disk file
116 # icon - specifies a custom boot loader icon
117 # ostype - OS type code to determine boot options available by
118 # pressing Insert. Valid values are "MacOS", "Linux",
119 # "Windows", and "XOM". Case-sensitive.
120 # graphics - set to "on" to enable graphics-mode boot (useful
121 # mainly for MacOS) or "off" for text-mode boot.
122 # Default is auto-detected from loader filename.
123 # options - sets options to be passed to the boot loader; use
124 # quotes if more than one option should be passed or
125 # if any options use characters that might be changed
126 # by rEFInd parsing procedures (=, /, #, or tab).
127 # disabled - use alone or set to "yes" to disable this entry.
128 #
129 # Note that you can use either DOS/Windows/EFI-style backslashes (\)
130 # or Unix-style forward slashes (/) as directory separators. Either
131 # way, all file references are on the ESP from which rEFInd was
132 # launched.
133 # Use of quotes around parameters causes them to be interpreted as
134 # one keyword, and for parsing of special characters (spaces, =, /,
135 # and #) to be disabled. This is useful mainly with the "options"
136 # keyword. Use of quotes around parameters that specify filenames is
137 # permissible, but you must then use backslashes instead of slashes,
138 # except when you must pass a forward slash to the loader, as when
139 # passing a root= option to a Linux kernel.
140
141 # Below are several sample boot stanzas. All are disabled by default.
142 # Find one similar to what you need, copy it, remove the "disabled" line,
143 # and adjust the entries to suit your needs.
144
145 # A sample entry for a Linux 3.3 kernel with its new EFI boot stub
146 # support on a filesystem called "KERNELS". This entry includes
147 # Linux-specific boot options and specification of an initial RAM disk.
148 # Note uses of Linux-style forward slashes, even in the initrd
149 # specification. Also note that a leading slash is optional in file
150 # specifications.
151 menuentry Linux {
152 icon EFI/refind/icons/os_linux.icns
153 volume KERNELS
154 loader bzImage-3.3.0-rc7
155 initrd initrd-3.3.0.img
156 options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
157 disabled
158 }
159
160 # A sample entry for loading Ubuntu using its standard name for
161 # its GRUB 2 boot loader. Note uses of Linux-style forward slashes
162 menuentry Ubuntu {
163 loader /EFI/ubuntu/grubx64.efi
164 icon /EFI/refined/icons/os_linux.icns
165 disabled
166 }
167
168 # A minimal ELILO entry, which probably offers nothing that
169 # auto-detection can't accomplish.
170 menuentry "ELILO" {
171 loader \EFI\elilo\elilo.efi
172 disabled
173 }
174
175 # Like the ELILO entry, this one offers nothing that auto-detection
176 # can't do; but you might use it if you want to disable auto-detection
177 # but still boot Windows....
178 menuentry "Windows 7" {
179 loader \EFI\Microsoft\Boot\bootmgfw.efi
180 disabled
181 }
182