[arch-general] Systemd boot

Lone_Wolf lone_wolf at klaas-de-kat.nl
Sun Nov 29 12:14:06 UTC 2020


On 28-11-2020 19:24, Riccardo Paolo Bestetti wrote:
> I'm informed on what the supported boot processed for Arch are, and I
> very well known which one I'm running, as I configured it. :)
>
> I'm grateful for your help, but you didn't really answer any of my
> questions, which are about some specifics of the systemd boot process
> that I'd like to better understand.
>
> Riccardo


It wasn't clear to me (and still is not) what initramfs environment your 
questions were about.


Do you want answers based on systemd manpages OR on a systemd initramfs 
as setup by mkinitcpio on archlinux ?

If the former I can't help further .


If the latter :

In folder /usr/lib/initcpio/install/ you'll find the systemd , 
sd-encrypt , sd-lvm2 , sd-shutdown and sd-vconsole hook scripts .

Look at their contents and notice they add specific services and targets.

Basic.target is NOT one of them, which suggests that it doesn't matter 
in the initramfs stage of a systemd initramfs boot on archlinux.


Since absence / presence of hooks in mkinitcpio.conf changes what 
happens in the initramfs stage,

you may want to use the lsinitcpio command to look directly in your 
mkinitcpio initramfs image(s).


LW


More information about the arch-general mailing list