X-Git-Url: https://code.delx.au/refind/blobdiff_plain/6f26706bb54004d3b435c51f44fa17e996d82c68..cc569e417727dfb70b3f1271d1fa4454f8753716:/docs/refind/linux.html diff --git a/docs/refind/linux.html b/docs/refind/linux.html index 2741837..3f24002 100644 --- a/docs/refind/linux.html +++ b/docs/refind/linux.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/19/2012; last Web page update: -11/8/2015, referencing rEFInd 0.10.0

+3/4/2017, referencing rEFInd 0.10.5

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

@@ -43,7 +43,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -57,7 +57,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -72,7 +72,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -86,7 +86,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -100,7 +100,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -113,7 +113,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

- + @@ -366,30 +366,63 @@ extends it as follows:

-
  • rEFInd looks for an initial RAM disk in the same directory as the - kernel file. A matching initial RAM disk has a name that begins with +
  • rEFInd looks for an initial RAM disk in the same directory as the kernel + file. A matching initial RAM disk has a name that begins with init and that includes the same version string as the kernel. - The version string is defined as the part of the filename from the - first digit to the last digit, inclusive. Note that the version string - can include non-digits. For instance, the version string for + The version string is defined as the part of the filename from the first + digit to the last digit, inclusive. Note that the version string can + include non-digits. For instance, the version string for bzImage-3.19.0.efi is 3.19.0, which matches initramfs-3.19.0.bz; and vmlinuz-4.2.5-300.fc23.x86_64's version string is 4.2.5-300.fc23.x86_64, which matches - initrd-4.2.5-300.fc23.x86_64.img. Many other matches are - possible. If an initial RAM disk is identified, rEFInd passes a - suitable initrd= option to the kernel when it boots.
  • + initrd-4.2.5-300.fc23.x86_64.img. In order to support Arch Linux + kernel naming the strings linux and linux-lts are + treated as digits. So vmlinuz-linux-lts has version + linux-lts, which matches initramfs-linux-lts.img. + Many other matches are possible. If an initial RAM disk is identified, + rEFInd passes a suitable initrd= option to the kernel when it + boots. There are two variants on this rule: + +
  • rEFInd looks for a file called refind_linux.conf in the same - directory as the kernel file. It consists of a series of lines, - each of which consists of a label followed by a series of kernel - options. The first line sets default options, and subsequent lines set - options that are accessible from the main menu tag's submenu screen. If - you installed rEFInd with the refind-install - script, that script created a sample refind_linux.conf file, - customized for your computer, in /boot. This file will work - without changes on many installations, but you may need to tweak it for - some.
  • + directory as the kernel file. It consists of a series of lines, each of + which consists of a label followed by a series of kernel options. The + first line sets default options, and subsequent lines set options that + are accessible from the main menu tag's submenu screen. If you installed + rEFInd with the refind-install script, that script created a + sample refind_linux.conf file, customized for your computer, in + /boot. This file will work without changes on many + installations, but you may need to tweak it for some. If the kernel + options string includes the substring %v, rEFInd substitutes + the kernel version number for that string. (If you need the actual + string %v in your kernel options, use %%v instead; + rEFInd will change this to %v.) This feature can be used to + match an initial RAM disk file that requires special treatment, such as + if you have multiple numbered kernels, each of which has two initial RAM + disk files.
  • If rEFInd can't find a refind_linux.conf file in the directory that holds the kernel, the program looks for a file called @@ -408,7 +441,7 @@ extends it as follows:

  • If rEFInd can't find a refind_linux.conf file or an /etc/fstab file, it tries to identify the Linux root - (/ filesystem by looking for a partition with a GUID type code + (/) filesystem by looking for a partition with a GUID type code matching that specified for the root (/) filesystem in the Freedesktop.org Discoverable Partitions Specification. These type codes are as yet @@ -469,7 +502,8 @@ total 17943
  • All the kernels in a given directory use the same refind_linux.conf file. If you need to set different options for different kernels, you'll need to place those kernels in different - directories.
  • + directories. (A partial exception is the kernel version string, which + can be passed via the %v variable, as noted earlier.)
  • You must place your kernels in a directory other than the one that holds the main rEFInd .efi file. This is because rEFInd does @@ -489,7 +523,7 @@ total 17943
    -

    copyright © 2012–2015 by Roderick W. Smith

    +

    copyright © 2012–2017 by Roderick W. Smith

    This document is licensed under the terms of the GNU Free Documentation License (FDL), version 1.3.