.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "mkosi\-initrd" "1" "" "" "" .SH NAME mkosi\-initrd \[em] Build initrds or unified kernel images for the current system using mkosi .SH SYNOPSIS \f[CR]mkosi\-initrd [options\&...]\f[R] .SH DESCRIPTION \f[CR]mkosi\-initrd\f[R] is wrapper on top of \f[CR]mkosi\f[R] to simplify the generation of initrds and Unified Kernel Images for the current running system. .SH OPTIONS .TP \f[CR]\-\-kernel\-version=\f[R] Kernel version where to look for the kernel modules to include. Defaults to the kernel version of the running system (\f[CR]uname \-r\f[R]). .TP \f[CR]\-\-format=\f[R], \f[CR]\-t\f[R] Output format. One of \f[CR]cpio\f[R] (CPIO archive), \f[CR]uki\f[R] (a unified kernel image with the image in the \f[CR].initrd\f[R] PE section) or \f[CR]directory\f[R] (for generating an image directly in a local directory). Defaults to \f[CR]cpio\f[R]. .TP \f[CR]\-\-output=\f[R], \f[CR]\-o\f[R] Name to use for the generated output image file or directory. Defaults to \f[CR]initrd\f[R]. .TP \f[CR]\-\-output\-dir=\f[R], \f[CR]\-O\f[R] Path to a directory where to place all generated artifacts. Defaults to the current working directory. .TP \f[CR]\-\-debug=\f[R] Enable additional debugging output. .TP \f[CR]\-\-debug\-shell=\f[R] Spawn debug shell in sandbox if a sandboxed command fails. .TP \f[CR]\-\-version\f[R] Show package version. .TP \f[CR]\-\-help\f[R], \f[CR]\-h\f[R] Show brief usage information. .SH SEE ALSO \f[CR]mkosi(1)\f[R]