Add cpio commands to notes

This commit is contained in:
Rodrigo Arias 2024-03-07 16:55:01 +01:00
parent bd0869dfc3
commit 0a771f0ccd

View File

@ -3,3 +3,11 @@ Wed, 06 Mar 2024 11:38:08 +0100
Only /dev/console seems to output anything. We need to patch stage1 so it
doesn't use the console from bootcmd. Or specify boot.debug1 before the
console=hvc0 argument.
Thu, 07 Mar 2024 16:53:28 +0100
To patch the initrd disk (typically a cpio file compressed with gzip) use the
following commands:
$ cpio -idv < ../initrd.cpio
$ find . | cpio -o -H newc > ../initrd2.cpio