| ▲ | Calzifer 2 hours ago | |
> Because initramfs is just a (mostly) normal Linux system, that means it has its own init PID 1. On Arch, that PID is in fact just systemd. Debian has (or had; at least my Devuan still has) a simple shell script as first init. Was an interesting read and helped me understand were to add my remote rootfs decryption. https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/... | ||
| ▲ | Foxboron an hour ago | parent [-] | |
`mkinitcpio` supports both. The `base` hook installs the shell PID 1, the `systemd` hook installs systemd as PID1. The default hook setup was changed with the latest'ish release to default too the `systemd` hook setup. Shell `init`; https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio... | ||