Generate a ramdisk environment based on the linux-lts preset

mkinitcpio

  • Generates initial ramdisk environments for booting the Linux kernel based on the specified preset(s).
    More information: <https://man.archlinux.org/man/mkinitcpio.8>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

mkinitcpio --preset {{linux-lts}}

click the source code to copy install mkinitcpio on any operating system with command-not-found.com