To create the .cpio archive that will be loaded by the bootloader, we do:
- cd /tmp/initramfs
- find . | cpio --quiet -c -o > /tmp/initramfs.cpio
- cat /tmp/initramfs.cpio | gzip > /tmp/initramfs.cpio.gz
- An voilà, /tmp/initramfs.cpio.gz can now be passed to the bootloader to be your root file system
No comments:
Post a Comment