From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- public/run-9front-in-qemu.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 public/run-9front-in-qemu.html (limited to 'public/run-9front-in-qemu.html') diff --git a/public/run-9front-in-qemu.html b/public/run-9front-in-qemu.html new file mode 100755 index 0000000..eea451a --- /dev/null +++ b/public/run-9front-in-qemu.html @@ -0,0 +1,23 @@ +Run 9front in Qemu

Run 9front in Qemu

May 5, 2023

Run 9front in Qemu. This applies to Plan9 and +9front.

Download from here http://9front.org/iso/.

# Create a qcow2 image.
+qemu-img create -f qcow2 $HOME/VM/9front.qcow2.img 30G
+
+# Run the VM.
+qemu-system-x86_64 -cpu host -enable-kvm -m 1024 \
+    -net nic,model=virtio,macaddr=52:54:00:00:EE:03 -net user \
+    -device virtio-scsi-pci,id=scsi \
+    -drive if=none,id=vd0,file=$HOME/VM/9front.qcow2.img \
+    -device scsi-hd,drive=vd0 \
+    -drive if=none,id=vd1,file=$HOME/VM/ISO/9front.386.iso \
+    -device scsi-cd,drive=vd1,bootindex=0
+
\ No newline at end of file -- cgit v1.2.3