News for hackers. Stuff that matters.
Re:Linux Boot Partitions by oxplot on Thursday November 03, 2022 @08:19PM (#33459953)
uh - you just specify the location of your initramfs in the kernel boot params and that's it, no need for all the above
Re:Linux Boot Partitions by csdvrx on Thursday November 03, 2022 @08:31PM (#33460071)
You hadn't specified it at first, so I thought it might be helpful to provide a more complete example with different parts (like the initrd) and offsets, with a gummiboot stub
Re:Linux Boot Partitions by still_grokking on Thursday November 03, 2022 @10:40PM (#33461325)
Having kernel and initrd separate makes things more complicated and brittle.

Also a secure boot setup is much more difficult this way.

I for my part love the UKI. Never had a simpler boot setup!

Re:Linux Boot Partitions by qu4z-2 on Friday November 04, 2022 @05:21AM (#33463822)
> a secure boot setup is much more difficult this way.

Is it? Don't you just sign the bootable kernel image that already has the initrd and command-line built in?

Oh, I guess if you're using Microsoft as a CA I can see why that would be tricky.

Re:Linux Boot Partitions by still_grokking on Friday November 04, 2022 @11:21AM (#33468218)
I think this is a misunderstanding. I've said secure boot is much more difficult in case kernel and initrd are separate.

In case of a UKI it's very simple of course. Just sign the boot image.

That's why I love the UKI. :-)