]> code.delx.au - refind/blobdiff - refind.conf-sample
Further tweaks to spoof_osx_version code, including writing
[refind] / refind.conf-sample
index b4ee9e6cbe11dd35b497ac51b15bdce29535b5b5..d4e242bcd6ba386835f394c3ce4e9faf64847397 100644 (file)
@@ -134,6 +134,7 @@ timeout 20
 # Default is "0 0" (use the system default resolution, usually 800x600).
 #
 #resolution 1024 768
+#resolution 1440 900
 #resolution 3
 
 # Launch specified OSes in graphics mode. By default, rEFInd switches
@@ -309,6 +310,15 @@ timeout 20
 #
 #scan_all_linux_kernels false
 
+# Combine all Linux kernels in a given directory into a single entry.
+# When so set, the kernel with the most recent time stamp will be launched
+# by default, and its filename will appear in the entry's description.
+# To launch other kernels, the user must press F2 or Insert; alternate
+# kernels then appear as options on the sub-menu.
+# Default is "true" -- kernels are "folded" into a single menu entry.
+#
+#fold_linux_kernels false
+
 # Set the maximum number of tags that can be displayed on the screen at
 # any time. If more loaders are discovered than this value, rEFInd shows
 # a subset in a scrolling list. If this value is set too high for the
@@ -326,7 +336,8 @@ timeout 20
 #  - A "+" symbol at the start of the string, which refers to the most
 #    recently booted loader.
 #  - Any substring that corresponds to a portion of the loader's title
-#    (usually the OS's name or boot loader's path).
+#    (usually the OS's name, boot loader's path, or a volume or
+#    filesystem title).
 # You may also specify multiple selectors by separating them with commas
 # and enclosing the list in quotes. (The "+" option is only meaningful in
 # this context.)
@@ -358,6 +369,21 @@ timeout 20
 #
 #enable_and_lock_vmx false
 
+# Tell a Mac's EFI that OS X is about to be launched, even when it's not.
+# This option causes some Macs to initialize their hardware differently than
+# when a third-party OS is launched normally. In some cases (particularly on
+# Macs with multiple video cards), using this option can cause hardware to
+# work that would not otherwise work. On the other hand, using this option
+# when it is not necessary can cause hardware (such as keyboards and mice) to
+# become inaccessible. Therefore, you should not enable this option if your
+# non-Apple OSes work correctly; enable it only if you have problems with
+# some hardware devices. When needed, a value of "10.9" usually works, but
+# you can experiment with other values. This feature has no effect on
+# non-Apple computers.
+# The default is inactive (no OS X spoofing is done).
+#
+#spoof_osx_version "10.9"
+
 # Include a secondary configuration file within this one. This secondary
 # file is loaded as if its options appeared at the point of the "include"
 # token itself, so if you want to override a setting in the main file,
@@ -413,35 +439,35 @@ timeout 20
 # of an initial RAM disk. Note uses of Linux-style forward slashes.
 # Also note that a leading slash is optional in file specifications.
 menuentry Linux {
-       icon EFI/refind/icons/os_linux.png
-       volume 904404F8-B481-440C-A1E3-11A5A954E601
-       loader bzImage-3.3.0-rc7
-       initrd initrd-3.3.0.img
-       options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
-       disabled
+    icon EFI/refind/icons/os_linux.png
+    volume 904404F8-B481-440C-A1E3-11A5A954E601
+    loader bzImage-3.3.0-rc7
+    initrd initrd-3.3.0.img
+    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
+    disabled
 }
 
 # A sample entry for loading Ubuntu using its standard name for
 # its GRUB 2 boot loader. Note uses of Linux-style forward slashes
 menuentry Ubuntu {
-       loader /EFI/ubuntu/grubx64.efi
-       icon /EFI/refind/icons/os_linux.png
-       disabled
+    loader /EFI/ubuntu/grubx64.efi
+    icon /EFI/refind/icons/os_linux.png
+    disabled
 }
 
 # A minimal ELILO entry, which probably offers nothing that
 # auto-detection can't accomplish.
 menuentry "ELILO" {
-       loader \EFI\elilo\elilo.efi
-       disabled
+    loader \EFI\elilo\elilo.efi
+    disabled
 }
 
 # Like the ELILO entry, this one offers nothing that auto-detection
 # can't do; but you might use it if you want to disable auto-detection
 # but still boot Windows....
 menuentry "Windows 7" {
-       loader \EFI\Microsoft\Boot\bootmgfw.efi
-       disabled
+    loader \EFI\Microsoft\Boot\bootmgfw.efi
+    disabled
 }
 
 # EFI shells are programs just like boot loaders, and can be
@@ -450,10 +476,10 @@ menuentry "Windows 7" {
 # could initialize hardware and then launch an OS, or it could
 # do something entirely different.
 menuentry "Windows via shell script" {
-       icon \EFI\refind\icons\os_win.png
-       loader \EFI\tools\shell.efi
-       options "fs0:\EFI\tools\launch_windows.nsh"
-       disabled
+    icon \EFI\refind\icons\os_win.png
+    loader \EFI\tools\shell.efi
+    options "fs0:\EFI\tools\launch_windows.nsh"
+    disabled
 }
 
 # Mac OS is normally detected and run automatically; however,
@@ -463,8 +489,8 @@ menuentry "Windows via shell script" {
 # certainly need to change the "volume" line for this example
 # to work.
 menuentry "My Mac OS X" {
-       icon \EFI\refind\icons\os_mac.png
-       volume "OS X boot"
-       loader \System\Library\CoreServices\boot.efi
-       disabled
+    icon \EFI\refind\icons\os_mac.png
+    volume "OS X boot"
+    loader \System\Library\CoreServices\boot.efi
+    disabled
 }