1MKRLCONF(8) rEFInd Manual MKRLCONF(8)
2
3
4
5any later version
6
8 mkrlconf - Create a Linux kernel configuration file for rEFInd
9
11 mkrlconf [ --force ]
12
13
15 To boot a Linux kernel directly, rEFInd must normally pass system-spe‐
16 cific parameters to help the kernel locate its initial RAM disk (ini‐
17 trd) file, the installation's root filesystem, and so on. rEFInd stores
18 this information in a file called refind_linux.conf, which is stored in
19 the same directory as the kernel(s) to which it applies. The mkrlconf
20 script creates this configuration file in /boot, using the current boot
21 options (from /proc/cmdline) to populate /boot/refind_linux.conf with
22 boot options that are probably (but not certainly) correct.
23
24 The file created in this way has three lines, which correspond to three
25 entries on the rEFInd suboptions menu. The first entry boots using the
26 options found in /proc/cmdline. The second entry boots using the same
27 options as the first, but with single added. The third entry boots with
28 minimal options of ro root={CURRENT_ROOT_DEVICE}, where {CUR‐
29 RENT_ROOT_DEVICE} identifies the current root (/) filesystem. Users may
30 manually edit the refind_linux.conf file to suit their needs, of
31 course.
32
33
35 --force
36 Ordinarily, if mkrlconf finds an existing /boot/re‐
37 find_linux.conf file, it refuses to replace it. The --force op‐
38 tion causes mkrlconf to replace the existing file in favor of
39 one it generates.
40
41
43 Primary author: Roderick W. Smith (rodsmith@rodsbooks.com)
44
45
47 mvrefind(8), refind-install(8).
48
49 https://www.rodsbooks.com/refind/
50
51
53 The mkrlconf command is part of the rEFInd package and is available
54 from Roderick W. Smith.
55
56
57
58Roderick W. Smith 0.13.3 MKRLCONF(8)