mkinitrd creates an initramfs image <initrd-image> for the kernel
with version <kernel-version> by calling dracut.
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, dracut should be called directly.
print info about the version
List of kernel images for which initrd files are created
(relative to boot_dir), Image name should begin with the
following string, defaults to vmlinux on ppc/ppc64, image on
s390/s390x and vmlinuz for everything else.
List of file names (relative to boot_dir) for the initrd;
positions have to match the kernel_list. Defaults to initrd.
Modules to include in initrd, defaults to INITRD_MODULES variable
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.
Boot directory, defaults to /boot, where the initrd is created.
Root device, defaults to the device from which the root_dir is
mounted; overwrites the rootdev environment variable if set
Add splash animation and bootscreen to initrd.
Run dhcp on the specified interface (for example "eth0").
Configure the specified interface statically.
Attach compiled ACPI DSDT (Differentiated System Description
Table) to initrd. This replaces the DSDT of the BIOS. Defaults to
the ACPI_DSDT variable in /etc/sysconfig/kernel.
System.map file to use.
Don’t run the update-bootloader(8) script after the initrd(s)
have been created. This is useful if you call mkinitrd(8) for
anything else than the running system.
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.
increase verbosity level
Disable logging to /var/log/YaST2/mkinitrd.log. This is useful
for testing if you don’t want to clutter the system log.
print a help message and exit.
This page is part of the dracut (event driven initramfs
infrastructure) project. Information about the project can be found
at ⟨https://dracut.wiki.kernel.org/index.php/Main_Page⟩. If you have
a bug report for this manual page, send it to
email@example.com. This page was obtained from the project's
upstream Git repository
⟨git://git.kernel.org/pub/scm/boot/dracut/dracut.git⟩ on 2020-06-09.
(At that time, the date of the most recent commit that was found in
the repository was 2020-03-04.) If you discover any rendering prob‐
lems in this HTML version of the page, or you believe there is a bet‐
ter or more up-to-date source for the page, or you have corrections
or improvements to the information in this COLOPHON (which is not
part of the original manual page), send a mail to firstname.lastname@example.org
dracut 05/16/2020 MKINITRD(8)