OptionsOn mkinitcpio itself
--help-h
Show help for mkinitcpio
--version-V
Display version information
--addhooks-A
Add additional hooks to the image <hooks>
--config-c
Use config file to generate the ramdisk <config>
--generatedir-d
Set directory as the location where the initramfs is built <directory>
--hookdir-D
Set directory as the location where hooks will be searched for when generating the image <directory>
--generate-g
Generate a CPIO image as filename <filename>
--hookhelp-H
Output help for hookname <hookname>
--kernel-k
Use kernelversion, instead of the current running kernel <kernelversion>
--listhooks-L
List all available hooks
--automods-M
Display modules found via autodetection
--nocolor-n
Disable color output
--uefi-U
Generate a UEFI executable as filename <filename>
--allpresets-P
Process all presets contained in /etc/mkinitcpio.d
--preset-p
Build initramfs image(s) according to specified preset <preset>
--moduleroot-r
Specifies the root directory to find modules in <root>
--skiphooks-S
Skip hooks when generating the image <hooks>
--save-s
Saves the build directory for the initial ramdisk
--builddir-t
Use tmpdir as the temporary build directory instead of /tmp <tmpdir>
--verbose-v
Verbose output
--compress-z
Override the compression method with the compress program <compress>
--cmdline
Use kernel command line with UEFI executable <filename>
--splash
UEFI executables can show a bitmap file on boot <filename>
--uefistub
UEFI stub image used for UEFI executable generation <filename>
--kernelimage
Include a kernel image for the UEFI executable <filename>
--microcode
Include microcode into the UEFI executable <filename>
--osrelease
Include a os-release file for the UEFI executable <filename>