title: How can I repack initramfs image on RHEL7?
body: <p>On RHEL 7 the initramfs image file format changed. To unpack the image the skipcpio is needed. for example</p>
  
  <pre><code>/usr/lib/dracut/skipcpio /boot/initramfs-3.10.0-957.el7.x86_64.img | gunzip -c | cpio -idmv
  </code></pre>
  
  <p>I succeeded to unpack the image with the command above but I cannot pack it back.
  The old way (like it was on RHEL 6) is not working (</p>
  
  <pre><code>find . | cpio -o -c | gzip -9 &gt; /boot/new.img
  
  </code></pre>
  
  <p>Is it possible to pack the image back on RHEL7?</p>
  
  <p>Thanks</p>