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