How to unpack and pack an initrd

From openQRM
Revision as of 09:47, 27 November 2023 by Stvsyf (talk | contribs)


Breif instructions to unpack and repack an image as an initrd;


Unpack an initrd

unmkinitramfs initrd .


Pack an initrd

cd initrd

find . | cpio -o -H newc | gzip -9 > ../KERNEL_NAME.img