When doing a
update-initramfs -u that will eventually call
__TMPEARLYCPIO variable will point to data that is prepended to the final initramfs. For an AMD system it seems to consist of an uncompressed cpio archive with only one file
kernel/x86/microcode/AuthenticAMD.bin in. After the first cpio section the real initramfs starts, however because of the prepended section the simple
zcat /boot/initramfsfile | cpio --extract now doesnt work any more.
- how can I strip ofer the first prepended cpio? How can I calculate the size of one cpio archive?