diff options
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.md | 29 |
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 | --- | ||
| 2 | title: Run 9front in Qemu | ||
| 3 | permalink: /run-9front-in-qemu.html | ||
| 4 | date: 2023-05-05T12:00:00+02:00 | ||
| 5 | layout: post | ||
| 6 | type: note | ||
| 7 | draft: false | ||
| 8 | tags: [plan9, qemu] | ||
| 9 | --- | ||
| 10 | |||
| 11 | Run 9front in Qemu. This applies to [Plan9](https://9p.io/plan9/) and | ||
| 12 | [9front](https://9front.org/). | ||
| 13 | |||
| 14 | Download from here http://9front.org/iso/. | ||
| 15 | |||
| 16 | ```sh | ||
| 17 | # Create a qcow2 image. | ||
| 18 | qemu-img create -f qcow2 $HOME/VM/9front.qcow2.img 30G | ||
| 19 | |||
| 20 | # Run the VM. | ||
| 21 | qemu-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 | |||
