commit: d6d000aa0abc99f397110742b1aaeda0aafda202
parent f0959ba2f4452a3d19bd33f3f7c6864e13685f81
Author: fosslinux <fosslinux@aussies.space>
Date: Thu, 17 Dec 2020 11:20:22 +1100
Split QEMU command
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/rootfs.sh b/rootfs.sh
@@ -29,7 +29,13 @@ find tmp -name .git -exec rm -rf \;
# initramfs
cd tmp
find . | cpio -H newc -o | gzip > initramfs.igz
-qemu-system-x86_64 -enable-kvm -kernel ../kernel -initrd initramfs.igz -append console=ttyS0 -nographic -m 16G
+
+# Run
+qemu-system-x86_64 -enable-kvm \
+ -m 16G \
+ -nographic \
+ -no-reboot \
+ -kernel ../kernel -initrd initramfs.igz -append console=ttyS0,kernel.panic=2
# Cleanup
sudo umount tmp