aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2023-05-05-run-9front-in-qemu.md
diff options
context:
space:
mode:
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, 0 insertions, 29 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
deleted file mode 100644
index 853b2c1..0000000
--- a/_posts/notes/2023-05-05-run-9front-in-qemu.md
+++ /dev/null
@@ -1,29 +0,0 @@
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