Forrest logo
back to context overview

mkinitcpio

List of commands for mkinitcpio:

  • mkinitcpio:tldr:1acba mkinitcpio: Generate an initramfs image using an alternative configuration file.
    $ mkinitcpio --config ${path-to-mkinitcpio-conf} --generate ${path-to-initramfs-img}
    try on your machine
    explain this command
  • mkinitcpio:tldr:3f653 mkinitcpio: Display help for a specific hook.
    $ mkinitcpio --hookhelp ${hook_name}
    try on your machine
    explain this command
  • mkinitcpio:tldr:4304c mkinitcpio: List all available hooks.
    $ mkinitcpio --listhooks
    try on your machine
    explain this command
  • mkinitcpio:tldr:67ce4 mkinitcpio: Perform a dry run (print what would be done without actually doing it).
    $ mkinitcpio
    try on your machine
    explain this command
  • mkinitcpio:tldr:82e9b mkinitcpio: Generate an initramfs image for a kernel other than the one currently running (the installed kernel releases can be found in `/usr/lib/modules/`).
    $ mkinitcpio --kernel ${kernel_version} --generate ${path-to-initramfs-img}
    try on your machine
    explain this command
  • mkinitcpio:tldr:e3b1f mkinitcpio: Generate a ramdisk environment based on the `linux` preset.
    $ mkinitcpio --preset ${linux}
    try on your machine
    explain this command
  • mkinitcpio:tldr:f72e6 mkinitcpio: Generate ramdisk environments based on all existing presets (used to regenerate all the initramfs images after a change in `/etc/mkinitcpio.conf`).
    $ mkinitcpio --allpresets
    try on your machine
    explain this command
back to context overview