ref: 3e90c5e08960e0fd88d17f0094d80fd76bfa83fd
parent: a60d1719ef20ddb877a6543245f73478180704eb
author: jrmu <jrmu@inter9>
date: Sun Jun 16 01:14:49 EDT 2024
Updating 9front version
--- a/install.ms
+++ b/install.ms
@@ -1,61 +1,46 @@
# Install
-please see <http://cloud9p.org/doc/vmm.html> instead of this document.
+In this guide, we explain how to install 9front as a virtual machine inside OpenBSD's vmm. See also <http://cloud9p.org/doc/vmm.html>.
+https://wiki.ircnow.org/uploads/9/plan9-desktop.png
-
-![][1]
-
In /etc/vm.conf:
-
-
- vm "username-plan9" {
- owner username
- memory 1024M
- cdrom "/home/iso/9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso"
- disk /home/username/username-plan9.qcow2
- interface {
- locked lladdr aa:bb:cc:dd:ee:ff
- switch "switch0"
- }
+vm "username-plan9" {
+ owner username
+ memory 2048M
+ cdrom "/home/iso/9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso"
+ disk /home/username/username-plan9.qcow2
+ interface {
+ locked lladdr aa:bb:cc:dd:ee:ff
+ switch "switch0"
}
-
+}
-Download the plan9 ISO:
+Download the 9front ISO:
+$ ftp https://9front.org/iso/9front-10522.amd64.qcow2.gz
+$ doas mv 9front-10522.amd64.qcow2.gz /home/iso/
+$ cd /home/iso
+$ sha256 9front-10522.amd64.qcow2.gz
+SHA256 (9front-10522.amd64.qcow2.gz) = 54550d09d83aa8223c043ab1e95d3f6d08b781c089ac0d684848c69a4e03e347
+54550d09d83aa8223c043ab1e95d3f6d08b781c089ac0d684848c69a4e03e347 9front-10522.amd64.qcow2.gz
+$ gunzip 9front-10522.amd64.qcow2.gz
+$ doas chown -R iso:iso /home/iso/
-
- $ ftp http://9front.org/iso/9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso.gz
- $ doas mv 9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso.gz /home/iso/
- $ doas chown -R iso:iso /home/iso/
- $ cd /home/iso
- $ sha256 9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso.gz
- SHA256 (9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso.gz) = af6dfae894dcb1e43f1e7e3d085b50f6d1dcf396e09a37d23c174ea94d8bf244
- $ gunzip 9front-8593.acc504c319a4b4188479cfa602e40cb6851c0528.amd64.iso.gz
-
-
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:
- $ doas chmod -R go-rx ~/
- $ doas su username
-
+$ vmctl create -s 20G $USER.qcow2
-In the home folder:
-
-
-
- $ vmctl create -s 20G ~/username-plan9.qcow2
-
-
Then log out of the user with ^D, then as admin user in group wheel:
-
-
- $ doas vmctl reload
- $ doas vmctl start -c username-plan9
+$ doas vmctl reload
+$ vmctl start -c $USER
Connected to /dev/ttypr (speed 115200)
Boot failed: not a bootable disk
@@ -594,5 +579,3 @@
# vncs -A /bin/rio -s
-
- [1]: https://wiki.ircnow.org/uploads/9/plan9-desktop.png
\ No newline at end of file