ref: a2a6ea1005f53c48fb931a38cad75c2f565e18c7
dir: /vmm.ms/
.TL
Install 9front in OpenBSD VMM
.AU
jrmu (jrmu@cloud9p.org)
.AB
This guide explains how to install 9front as a virtual machine inside
.LN https://wiki.ircnow.org/Vmm.Intro
OpenBSD's vmm
.LN
.AE
.SH
Install
.LP
.ihtml img <img src="https://wiki.ircnow.org/uploads/9/plan9-desktop.png">
.ihtml img
This installation assumes you have
.LN vmm.html
configured vmm
.LN
properly.
Download the 9front ISO:
# ftp https://9front.org/iso/9front-10522.amd64.iso.gz
# mv 9front-10522.amd64.iso.gz /home/iso/
# cd /home/iso
# sha256 9front-10522.amd64.iso.gz
SHA256 (9front-10522.amd64.iso.gz) = 89f1e35bf735bfc9aeca38286a9a6607f3a40292befa4a30133157790f2edbcc
89f1e35bf735bfc9aeca38286a9a6607f3a40292befa4a30133157790f2edbcc 9front-10522.amd64.iso.gz
$ gunzip 9front-10522.amd64.iso.gz
$ doas chown -R iso:iso /home/iso/
.LP
In /etc/vm.conf, specify 9front as the ISO:
.CW
vm "$USER" {
owner $USER
memory 2048M
cdrom "/home/$USER/$USER.iso"
disk /home/$USER/$USER.qcow2
interface {
locked lladdr aa:bb:cc:dd:ee:ff
switch "switch0"
}
}
.R
Create a user account and make sure to set the folder as go-rx:
$ doas su $USER
$ doas chmod -R go-rx /home/$USER
In the home folder:
$ vmctl create -s 20G $USER.qcow2
Then log out of the user with ^D, then as admin user in group wheel:
$ doas vmctl reload
$ vmctl start -c $USER