'\" t .\" Title: mkinitrd .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2018-08-30 .\" Manual: dracut .\" Source: dracut .\" Language: English .\" .TH "MKINITRD" "8" "2018\-08\-30" "dracut" "dracut" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mkinitrd-suse \- is a compat wrapper, which calls dracut to generate an initramfs .SH "SYNOPSIS" .sp \fBmkinitrd\fR [\fIOPTION\&...\fR] .SH "DESCRIPTION" .sp \fBmkinitrd\fR creates an initramfs image for the kernel with version by calling \fBdracut\fR\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBImportant\fR .ps -1 .br .sp This version of mkinitrd is provided for compatibility with older versions of mkinitrd\&. If a more fine grained control over the resulting image is needed, \fBdracut\fR should be called directly\&. .sp .5v .RE .SH "OPTIONS" .PP \fB\-R, \-\-version\fR .RS 4 print info about the version .RE .PP \fB\-k\fR\ \&\fI\fR .RS 4 List of kernel images for which initrd files are created (relative to \fIboot_dir\fR), Image name should begin with the following string, defaults to \fIvmlinux\fR on ppc/ppc64, \fIimage\fR on s390/s390x and \fIvmlinuz\fR for everything else\&. .RE .PP \fB\-i\fR\ \&\fI\fR .RS 4 List of file names (relative to \fIboot_dir\fR) for the initrd; positions have to match the \fIkernel_list\fR\&. Defaults to \fIinitrd\fR\&. .RE .PP \fB\-m\fR\ \&\fI\fR .RS 4 Modules to include in initrd, defaults to \fIINITRD_MODULES\fR variable in \fB/etc/sysconfig/kernel\fR\&. .RE .PP \fB\-f\fR\ \&\fI\fR .RS 4 Features to be enabled for the initrd\&. In general mkinitrd configures the initrd for the root device it is started from\&. With this option additional feature can be enabled\&. .RE .PP \fB\-b\fR\ \&\fI\fR .RS 4 Boot directory, defaults to \fB/boot\fR, where the initrd is created\&. .RE .PP \fB\-d\fR\ \&\fI\fR .RS 4 Root device, defaults to the device from which the root_dir is mounted; overwrites the rootdev environment variable if set .RE .PP \fB\-s\fR\ \&\fI\fR .RS 4 Add splash animation and bootscreen to initrd\&. .RE .PP \fB\-D\fR\ \&_ .RS 4 Run dhcp on the specified interface (for example "eth0")\&. .RE .PP \fB\-I\fR\ \&_ .RS 4 Configure the specified interface statically\&. .RE .PP \fB\-a\fR\ \&_ .RS 4 Attach compiled ACPI DSDT (Differentiated System Description Table) to initrd\&. This replaces the DSDT of the BIOS\&. Defaults to the \fIACPI_DSDT\fR variable in \fB/etc/sysconfig/kernel\fR\&. .RE .PP \fB\-M\fR\ \&_ .RS 4 System\&.map file to use\&. .RE .PP \fB\-B\fR .RS 4 Don\(cqt run the \fBupdate\-bootloader(8)\fR script after the initrd(s) have been created\&. This is useful if you call mkinitrd(8) for anything else than the running system\&. .RE .PP \fB\-A\fR .RS 4 Create a so called "monster initrd" which includes all available features and modules\&. This calls dracut with \-\-no\-hostonly and \-\-no\-hostonly\-cmdline parameters internally, instead of the default \-\-hostonly and \-\-hostonly\-cmdline\&. .RE .PP \fB\-v, \-\-verbose\fR .RS 4 increase verbosity level .RE .PP \fB\-L\fR .RS 4 Disable logging to \fI/var/log/YaST2/mkinitrd\&.log\fR\&. This is useful for testing if you don\(cqt want to clutter the system log\&. .RE .PP \fB\-\-help\fR .RS 4 print a help message and exit\&. .RE .SH "AVAILABILITY" .sp The mkinitrd command is part of the dracut package and is available from \m[blue]\fBhttps://dracut\&.wiki\&.kernel\&.org\fR\m[] .SH "AUTHORS" .sp Harald Hoyer, Hannes Reinecke .SH "SEE ALSO" .sp \fBdracut\fR(8) \fBupdate\-bootloader\fR(8)