On 14.09.23 19:27, Root Mailer wrote: > Hi, > > I created a unified-linux.efi according to > https://github.com/siemens/efibootguard/blob/master/docs/UNIFIED-KERNEL.md > > The documentation unfortunately does not tell me what to do with it. > > Do I have to put unified-linux.efi as the kernel image like this? > > bg_setenv -f /mnt -r 1 --kernel="C:KERNEL1:unified-linux.efi" > --args="root=/dev/sdX4" >
Yes, very close: This UKI image does indeed replace the kernel, but it also replaces the command line args EBG can pass to it. Your --args will be ignored by the UKI. Instead, if you set command line args while creating the UKI, those will be used, otherwise none. The concept is basically the same as in https://uapi-group.org/specifications/specs/unified_kernel_image/ (and the remaining delta is currently being resolved in systemd and there). Jan -- Siemens AG, Technology Linux Expert Center -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/b602d30a-8098-4ebe-ad5e-3aeb3e4cc627%40siemens.com.
