Showing posts from November, 2009

How to edit initial ram disk at Linux server

This steps will be general procedures to edit initial ram disk Create temporary directory. For this case, i will create /boot/img mkdir /boot/img Change initrd file name mv /boot/initrd.xx.img /boot/img/initrd.xx.img.gz Unzip and extract image cd /boot/img gunzip initrd.xx.img.gz cpio -idumv < initrd.xx.img.gz You will have extracted directory. Now you can edit or add necessary drivers. This will be how to repackage Go to your extracted temporary directory. For my case, /boot/img find . | cpio -o -H newc | gzip -11 > ../initrd.xx.img