X-Git-Url: https://code.delx.au/refind/blobdiff_plain/a9f6601d6e5b85fb50ae214718a00064dc5a9143..e0f6b77e5692ec112bb803202ae27f8c5d55de50:/refind.conf-sample diff --git a/refind.conf-sample b/refind.conf-sample index a0f19de..f9720b8 100644 --- a/refind.conf-sample +++ b/refind.conf-sample @@ -87,16 +87,19 @@ timeout 20 # Which non-bootloader tools to show on the tools line, and in what # order to display them: -# shell - the EFI shell (requires external program; see rEFInd -# documentation for details) -# gptsync - the (dangerous) gptsync.efi utility (requires external -# program; see rEFInd documentation for details) -# about - an "about this program" option -# exit - a tag to exit from rEFInd -# shutdown - shuts down the computer (a bug causes this to reboot EFI -# systems) -# reboot - a tag to reboot the computer -# Default is shell,about,shutdown,reboot +# shell - the EFI shell (requires external program; see rEFInd +# documentation for details) +# gptsync - the (dangerous) gptsync.efi utility (requires external +# program; see rEFInd documentation for details) +# apple_recovery - boots the Apple Recovery HD partition, if present +# mok_tool - makes available the Machine Owner Key (MOK) maintenance +# tool, MokManager.efi, used on Secure Boot systems +# about - an "about this program" option +# exit - a tag to exit from rEFInd +# shutdown - shuts down the computer (a bug causes this to reboot +# EFI systems) +# reboot - a tag to reboot the computer +# Default is shell,apple_recovery,mok_tool,about,shutdown,reboot # #showtools shell, about, reboot @@ -105,8 +108,9 @@ timeout 20 # controllers, etc. In most cases none are needed, but if you add # EFI drivers and you want rEFInd to automatically load them, you # should specify one or more paths here. rEFInd always scans the -# "drivers" subdirectory of its own installation directory; this -# option specifies ADDITIONAL directories to scan. +# "drivers" and "drivers_{arch}" subdirectories of its own installation +# directory (where "{arch}" is your architecture code); this option +# specifies ADDITIONAL directories to scan. # Default is to scan no additional directories for EFI drivers # #scan_driver_dirs EFI/tools/drivers,drivers @@ -193,17 +197,6 @@ timeout 20 # #default_selection 1 -# Enable or disable the usual adding of a space after the boot options -# when launching an EFI binary. Ordinarily rEFInd adds a space at the -# end of the options line, since rEFIt's code indicated this was -# required on some Macs. I've heard of problems on some systems when -# these spaces are added, though, so this option enables you to set -# the option explicitly. Setting it to anything but "true" causes the -# trailing space to be omitted. -# Default value is "true". -# -#space_after_boot_options false - # Sample manual configuration stanzas. Each begins with the "menuentry" # keyword followed by a name that's to appear in the menu (use quotes # if you want the name to contain a space) and an open curly brace @@ -294,3 +287,16 @@ menuentry "Windows via shell script" { options "fs0:\EFI\tools\launch_windows.nsh" disabled } + +# Mac OS is normally detected and run automatically; however, +# if you want to do something unusual, a manual boot stanza may +# be the way to do it. This one does nothing very unusual, but +# it may serve as a starting point. Note that you'll almost +# certainly need to change the "volume" line for this example +# to work. +menuentry "My Mac OS X" { + icon \EFI\refind\icons\os_mac.icns + volume "OS X boot" + loader \System\Library\CoreServices\boot.efi + disabled +}