Hi,
I’m trying to encrypt the root filesystem /
of a raspberry pi 4 device running under Devuan rpi ( custom kernel )
I’m following LUKS on Raspberry Pi 2021 guide
That explain step by step how achieve this.
But the guide use initramfs
and my distro seem to use initrd
So the question, is: should I migrate to initramfs
? and how check whats is inside my current initrd
or keep-up with initrd
but then how insert the necessary to enable LUKS drive to be mounted by it ( initrd ) ?
Thanks.
https://en.m.wikipedia.org/wiki/Initial_ramdisk
As i said 2 different things, initrd was used to create a ramdisk, a block device. Initramfs basically directly offers a filesystem instead of a block device.
systemd has now a interface called systemd-initrd: https://github.com/systemd/systemd/blob/main/docs/INITRD_INTERFACE.md
initrd was deprecated see here: https://lkml.org/lkml/2020/7/14/1508
Yes, sorry, you are correct. I’ve edited by other comments.