by bastien2 · 2y ago · 0 comments
So you'll need a significant amount of code that isn't the permanently-resident kernel that has enough device support to access keys and decrypt and authenticate what holds the kernel that will launch the OS.
IOW, you'll just have to reinvent a bootloader anyway.
Or you can address the problems with GRUB, extend it to do what you need, and avoid doing the traditional linux folly of Yet Another Unnecessary Reinvention.
Or was systemd vendor lock-in not enough for your shareholders?
One can make a UKI image which glues the two together in a single file along with a tiny bit of code for booting it.