News for hackers. Stuff that matters.
Re:Better-initramfs: initramfs supporting SSH, lvm, luks, ra... by sprash on Tuesday January 28, 2020 @06:42AM (#22168465)
How about no initramfs? The Kernel can even boot from encrypted raid volumes as EFISTUB or even more complicated setups without any further need for user space software.

On non-critical devices which can be booted via USB in a case of emergency (like laptops or desktops) initramfss are kind of pointless and just unnecessarily prolong the boot time.

As long as you statically compile in the ext4 (or whatever FS) support every needed kernel module can then be loaded regular boot.

Re:Better-initramfs: initramfs supporting SSH, lvm, luks, ra... by piotrkarbowski on Tuesday January 28, 2020 @07:09AM (#22168608)
Even if you boot kernel with EFISTUB or whatever way you decide, you still need something that will mount encrypted storage before you can switch to /sbin/init.
Re:Better-initramfs: initramfs supporting SSH, lvm, luks, ra... by bepvte on Tuesday January 28, 2020 @09:56AM (#22169914)
For one, the kernel cant ask for the password of the hard drive without userspace software. LUKS header is actually all parsed in userspace and the device mapper is setup based on it.