Re: Multiple initrds in unified kernel images?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am not really sure if you are right and you can concatenate cpio
archives, just be ware! they may be compressed, and in this case you
would rather cat their uncompressed form... I think so at least.

W dniu 05.10.2018 o 09:10, David Anderson pisze:
> And of course, the law of asking questions on the internet is verified,
> and I find the answer minutes after asking a thousand people. A Linux
> initramfs is a concatenation of cpio archives, so I can just `cat
> microcode.img initrd.gz >initrd`, embed that in my unified image, and
> everything should just work.
> 
> Please let me know if I'm wrong, and otherwise - thanks for being my
> rubber ducks!
> 
> - Dave
> 
> On Fri, Oct 5, 2018 at 12:02 AM David Anderson <dave@xxxxxxxxxxx
> <mailto:dave@xxxxxxxxxxx>> wrote:
> 
>     Hi,
> 
>     I'm exploring systemd-boot and secure booting for an Arch Linux
>     install. To get secure boot working right, I need to build a unified
>     kernel image that I can sign. However, I also need to pass 2 initrd
>     images into the boot process (one for CPU microcode, and the proper
>     OS iniramfs).
> 
>     But, AFAICT from reading the EFI stub source code, I can only have
>     one ".initrd" section in my unified binary.
> 
>     Is it possible to have multiple initrds in a unified kernel image?
>     If so, how do I construct the unified image? If not, can you suggest
>     an alternative that gets me my microcode and my OS initramfs?
> 
>     Thanks!
>     - Dave
> 
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux