X-Git-Url: https://code.delx.au/refind/blobdiff_plain/69ed07437a519caffe15692f527f47cc2297f0b5..1dde20f5fa424bacf15aa215e7df2be69a2bdd36:/docs/man/mkrlconf.8 diff --git a/docs/man/mkrlconf.8 b/docs/man/mkrlconf.8 new file mode 100644 index 0000000..6b6ee81 --- /dev/null +++ b/docs/man/mkrlconf.8 @@ -0,0 +1,51 @@ +.\" Copyright 2015 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" May be distributed under the GNU General Public License version 3 or +any later version +.TH "MKRLCONF" "8" "0.10.0" "Roderick W. Smith" "rEFInd Manual" +.SH "NAME" +mkrlconf \- Create a Linux kernel configuration file for rEFInd +.SH "SYNOPSIS" +.BI "mkrlconf " +[ \-\-force ] + +.SH "DESCRIPTION" + +To boot a Linux kernel directly, rEFInd must normally pass system-specific +parameters to help the kernel locate its initial RAM disk (initrd) file, +the installation's root filesystem, and so on. rEFInd stores this +information in a file called \fIrefind_linux.conf\fR, which is stored in +the same directory as the kernel(s) to which it applies. The \fImkrlconf\fR +script creates this configuration file in \fI/boot\fR, using the current +boot options (from \fI/proc/cmdline\fR) to populate +\fI/boot/refind_linux.conf\fR with boot options that are probably (but not +certainly) correct. + +The file created in this way has three lines, which correspond to three +entries on the rEFInd suboptions menu. The first entry boots using the +options found in \fI/proc/cmdline\fR. The second entry boots using the same +options as the first, but with \fBsingle\fR added. The third entry boots +with minimal options of \fBro root={CURRENT_ROOT_DEVICE}\fR, where +\fB{CURRENT_ROOT_DEVICE}\fR identifies the current root (\fI/\fR) +filesystem. Users may manually edit the \fIrefind_linux.conf\fR file to +suit their needs, of course. + +.SH "OPTIONS" + +.TP +.B \-\-force +Ordinarily, if \fImkrlconf\fR finds an existing +\fI/boot/refind_linux.conf\fR file, it refuses to replace it. The +\fB\-\-force\fR option causes \fImkrlconf\fR to replace the existing file +in favor of one it generates. + +.SH "AUTHORS" +Primary author: Roderick W. Smith (rodsmith@rodsbooks.com) + +.SH "SEE ALSO" +\fBmvrefind (8)\fR + +\fIhttp://www.rodsbooks.com/refind/\fR + +.SH "AVAILABILITY" +The \fBmkrlconf\fR command is part of the \fIrEFInd\fR package and is +available from Roderick W. Smith.