This is a collection of mkinitcpio
install hooks for systemd based
initramfs.
mkinitcpio is an Arch Linux specific tool to generate images for the initial ramdisk (initramfs) required during early boot of an Arch Linux installation. There are two options how this boot phase can be executed:
-
A bunch of shell scripts run by the busybox shell.
-
Systemd is started already in this initramfs environment and any initialization is performed by means of systemd units.
This repository provides so-called install hooks that can be used in
mkinitcpio
's configuration file mkinitcpio.conf
. They complement the set of
install hooks for a systemd based boot process provided by other packages like
e.g. systemd, mkinitcpio, cryptsetup, lvm2, ...
Caution
Tinkering with the boot process of your system is always risky. Make sure that you always have at least one option to back out.
mkinitcpio-systemd-extras is available as a
package in Arch
Linux' User Repository (AUR). Use makepkg
to build and pacman
to install
the package. (Alternatively you may use your favorite AUR
helper.)
See the short help available for each install hook, e.g.
mkinitcpio -H sd-tinyssh
For more details see the corresponding wiki pages.
You are welcome to provide additional hooks or improvements of the existing ones in the form of pull requests. Mind that all hooks must provide some degree of general usefulness.