aboutsummaryrefslogtreecommitdiff
path: root/_posts/2023-05-05-run-9front-in-qemu.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-01 22:54:27 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-01 22:54:27 +0100
commit2417a6b7603524dc5cd30d29b153f91024b9443d (patch)
tree9be5ea8e5baba96dd9159217da6badf6157fb595 /_posts/2023-05-05-run-9front-in-qemu.md
parent89ba3497f07a8ea43d209b583f39fcc286acc923 (diff)
downloadmitjafelicijan.com-2417a6b7603524dc5cd30d29b153f91024b9443d.tar.gz
Move to Jekyll
Diffstat (limited to '_posts/2023-05-05-run-9front-in-qemu.md')
-rw-r--r--_posts/2023-05-05-run-9front-in-qemu.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/_posts/2023-05-05-run-9front-in-qemu.md b/_posts/2023-05-05-run-9front-in-qemu.md
new file mode 100644
index 0000000..853b2c1
--- /dev/null
+++ b/_posts/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