Skip to content

Commit

Permalink
example record the boot up process
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Dec 22, 2024
1 parent 665929c commit 3e7e573
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion run-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

set -eux

qemu-system-x86_64 -kernel ./build-dir/linux-kernel/linux-6.9/arch/x86/boot/bzImage -initrd rootfs.cpio.gz --append "console=ttyS0 init=/init" -nographic # -icount 10,align=on
qemu-system-x86_64 -kernel ./build-dir/linux-kernel/linux-6.9/arch/x86/boot/bzImage -initrd rootfs.cpio.gz --append "console=ttyS0 init=/init" -nographic # -icount 10,align=on

# Example: Record the output terminal of the bootup:
# timeout --preserve-status 20 script -c ./run-qemu.sh output.log

0 comments on commit 3e7e573

Please sign in to comment.