Pages

Monday, July 30, 2012

Create Custom Linux Initrd

Extract from Initrd
gunzip < initrd.img | cpio -i --make-directories

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




Create Initrd from System Folder
mkinitrd /boot/initrd.$(uname -r).img $(uname -r) 

No comments:

Post a Comment