aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2023-05-05-run-9front-in-qemu.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 10:35:22 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 10:35:22 +0100
commit4abcce013c9ee3053badf2abda77190233066676 (patch)
tree450de7e8fed3c3c7501a9d2e2eb60a676bdfa09e /_posts/notes/2023-05-05-run-9front-in-qemu.md
parentcdf50cb2e3051200c6ea0628c318d66220b7d1a1 (diff)
downloadmitjafelicijan.com-4abcce013c9ee3053badf2abda77190233066676.tar.gz
Testing thoughts page
Diffstat (limited to '_posts/notes/2023-05-05-run-9front-in-qemu.md')
-rw-r--r--_posts/notes/2023-05-05-run-9front-in-qemu.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/_posts/notes/2023-05-05-run-9front-in-qemu.md b/_posts/notes/2023-05-05-run-9front-in-qemu.md
new file mode 100644
index 0000000..853b2c1
--- /dev/null
+++ b/_posts/notes/2023-05-05-run-9front-in-qemu.md
@@ -0,0 +1,29 @@
1---
2title: Run 9front in Qemu
3permalink: /run-9front-in-qemu.html
4date: 2023-05-05T12:00:00+02:00
5layout: post
6type: note
7draft: false
8tags: [plan9, qemu]
9---
10
11Run 9front in Qemu. This applies to [Plan9](https://9p.io/plan9/) and
12[9front](https://9front.org/).
13
14Download from here http://9front.org/iso/.
15
16```sh
17# Create a qcow2 image.
18qemu-img create -f qcow2 $HOME/VM/9front.qcow2.img 30G
19
20# Run the VM.
21qemu-system-x86_64 -cpu host -enable-kvm -m 1024 \
22 -net nic,model=virtio,macaddr=52:54:00:00:EE:03 -net user \
23 -device virtio-scsi-pci,id=scsi \
24 -drive if=none,id=vd0,file=$HOME/VM/9front.qcow2.img \
25 -device scsi-hd,drive=vd0 \
26 -drive if=none,id=vd1,file=$HOME/VM/ISO/9front.386.iso \
27 -device scsi-cd,drive=vd1,bootindex=0
28```
29