Home > linux > Extract / remake initrd image

Extract / remake initrd image

November 13th, 2009

This is the command to to extract initrd image

To Extract

gunzip < /boot/initrd.img | cpio -i --make-directories

To Compress

find ./ | cpio -H newc -o > initrd.cpio
gzip initrd.cpio
mv initrd.cpio.gz initrd.img

Sering lupa sih, jadi masukin sini aja dech ^^


linux , ,

  1. No comments yet.
  1. No trackbacks yet.

Switch to our mobile site