Skip to content

Commit

Permalink
added make-iso.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Dec 26, 2024
1 parent 3e7e573 commit 42bd681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion run-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

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 -enable-kvm -kernel ./build-dir/linux-kernel/linux-6.9/arch/x86/boot/bzImage -initrd rootfs.cpio.gz --append "console=ttyS0 init=/init ip=192.168.10.2:192.168.10.1:192.168.10.1:255.255.255.0::eth0:off" -nographic \
-netdev tap,id=net0,ifname=tap-ssh-node-0,script=no,downscript=no\
-device e1000,netdev=net0

# -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 42bd681

Please sign in to comment.