1Use ./run-qemu.sh to boot system image to a shell prompt, "exit" when done. 2 3Additional arguments to run-qemu.sh are QEMU arguments, 4$KARGS contains additional linux kernel arguments. For example: 5 6 KARGS=quiet ./run-qemu.sh -hda docs/linux-fullconfig 7 # cat /dev/?da 8 # exit 9 10To extract the root filesystem from cpio.gz and chroot into it 11 12 ( mkdir fs && cd fs && zcat ../initramfs.cpio.gz | cpio -i -d -H newc ) 13 chroot fs /init 14 15To recreate the initramfs.cpio.gz from fs directory 16 17 ( cd fs && find . -printf '%P\n' | cpio -o -H newc -R +0:+0 | gzip ) \ 18 > initramfs.cpio.gz 19