Hello, does anyone know how to create an initrd image using cpio, instead of mkfs?
Now im doing it like this:
Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd
But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.
So, if anyone know please give me a small how-to.
Thanks in advance!