Archive

Posts Tagged ‘initramfs’

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 ^^

Share

linux , ,

Switch to our mobile site