Difference between revisions of "How to unpack and pack an initrd"

From openQRM
(adding initrd)
 
Line 1: Line 1:
 +
[[Category:tutorial]]
 +
 
Breif instructions to unpack and repack an image as an initrd;
 
Breif instructions to unpack and repack an image as an initrd;
  

Revision as of 09:47, 27 November 2023


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