mkosi-initrd(1) mkosi-initrd(1)

mkosi-initrd — Build initrds or unified kernel images for the current system using mkosi

mkosi-initrd [options...]

mkosi-initrd is wrapper on top of mkosi to simplify the generation of initrds and Unified Kernel Images for the current running system.

Kernel version where to look for the kernel modules to include. Defaults to the kernel version of the running system (uname -r).
Output format. One of cpio (CPIO archive), uki (a unified kernel image with the image in the .initrd PE section) or directory (for generating an image directly in a local directory). Defaults to cpio.
Name to use for the generated output image file or directory. Defaults to initrd.
Path to a directory where to place all generated artifacts. Defaults to the current working directory.
Enable additional debugging output.
Spawn debug shell in sandbox if a sandboxed command fails.
Show package version.
Show brief usage information.

mkosi(1)