This Arch wiki page says:
If you are using a systemd based initrd, you must pass:
rd.luks.options=discard
How do I query the initrd
mini-shell to find out if I am running a systemd
-based initrd
?
What are the other possible types of initrd
?
systemd
hook when creating yourinitramfs
withmkinitcpio
that will install a basicsystemd
setup in yourinitramfs
- that is asystemd
-basedinitramfs
(orinitrd
). As to how you determine that from the minimalist shell - I have no arch setup here right now, I guess if thesystemctl
binary is present then you're on asystemd
-basedinitrd
– don_crissti Feb 03 '17 at 22:26