В Sat, 26 Oct 2013 10:59:23 +0200
Per Jessen
Jan Engelhardt wrote:
On Saturday 2013-10-26 10:35, Per Jessen wrote:
Interesting:
# file -bL initrd-3.11.6-1-pae.dracut ASCII cpio archive (SVR4 with no CRC)
# cpio --extract -d
# find . . ./kernel ./kernel/x86 ./kernel/x86/microcode
I guess the dracut initrd format is quite different to that of mkinitrd?
How big is your dracut-generated file, anyway? It looks more like there are no files at all in there.
It's about 5Mb:
# l /boot/initrd-3.11.6-1-pae.dracut -rw-r--r-- 1 root root 5379420 Oct 25 10:45 /boot/initrd-3.11.6-1-pae.dracut
The other guess I can make is that there may be multiple cpio archives in that file (in the style of cpio ... >x.cpio; cpio ... >>x.cpio)
Do you know how to separate/extract those?
Good question. The first part is microcode archive, the second part - compressed initrd. I do not think you can easily get size of cpio archive from header, you would need to actually parse cpio stream to find EOF. Try "dracut --no-early-microcode". It will skip separate microcode archive then. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org