summaryrefslogtreecommitdiff
path: root/create_installroot/boot_qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_installroot/boot_qemu.sh')
-rwxr-xr-xcreate_installroot/boot_qemu.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/create_installroot/boot_qemu.sh b/create_installroot/boot_qemu.sh
new file mode 100755
index 0000000..d7f527b
--- /dev/null
+++ b/create_installroot/boot_qemu.sh
@@ -0,0 +1,16 @@
+#!/bin/dash
+qemu-system-x86_64 \
+ -kernel bootfs/vmlinuz-xos \
+ -hda xos_image.img \
+ -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \
+ -serial stdio -display none \
+ -m 256
+
+#qemu-system-x86_64 -drive format=raw,file=xos_image.img -m 128
+#qemu-system-x86_64 \
+# -kernel bootfs/vmlinuz-xos \
+# -hda xos_image.img \
+# -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \
+# -serial stdio -display none \
+# -m 256 \
+# -vga qxl