Initrd
From Linuxintro
Revision as of 17:25, 12 December 2012 by imported>ThorstenStaerk (Created page with "This is how you modify an initrd: mkdir tmp cd tmp cp ../initrd ./initrd.gz gunzip initrd.gz mkdir tmp2 cd tmp2 cpio -id < ../initrd Do the needed changes now in this...")
This is how you modify an initrd:
mkdir tmp cd tmp cp ../initrd ./initrd.gz gunzip initrd.gz mkdir tmp2 cd tmp2 cpio -id < ../initrd
Do the needed changes now in this folder. Then pack the initrd again:
find . | cpio --create --format='newc' > ../newinitrd cd .. gzip newinitrd
Your new initrd is now called newinitrd.gz.