Email or username:

Password:

Forgot your password?
Top-level
Lennart Poettering

… but that is not great for security.) With systemd v257, we provide a middle ground now: UKIs may now contain multiple "profiles": multiple sets of PE sections can be combined in different ways and then labelled as different profiles. Typically this would be used to build a single UKI that contains 1 kernel and 1 initrd, but 4 different kernel command lines, which would then be combined in 4 profiles, always combining the kernel/initrd and a different command line.

2 comments
Lennart Poettering

This way you could have one regular boot UKI profile, plus one that implements a recovery mode, another one that implements factory reset, and a fourth one that maybe boots into storage target mode.

systemd-boot has been updated to synthesize multiple menu items from a single UKI – one for each profile defined in the UKI.

While I'd expect that the primary use for multi-profile UKIs is to have a single set of kernel + initrd, plus a separate command line for each profile, …

Lennart Poettering

… the concept is actually ore flexible than that. You could also have a profile that picks a different initrd, or a different devicetree or a different boot splash or anything else that is embeddable into a UKI.

And that's it for today.

Go Up