Skip to content

Commit 3e7e573

Browse files
committed
example record the boot up process
1 parent 665929c commit 3e7e573

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-qemu.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
set -eux
44

5-
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
5+
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
6+
7+
# Example: Record the output terminal of the bootup:
8+
# timeout --preserve-status 20 script -c ./run-qemu.sh output.log

0 commit comments

Comments
 (0)