ref: 4f618bf2be8c5b8ee401db4e1787c4d41a7c59f8
parent: 12f53a4fac92560dd5db7f1a945532acee655644
author: joe9 <joe9mail@gmail.com>
date: Thu Jul 29 01:14:45 EDT 2021
more comments to /dis/init
--- a/dis/init
+++ b/dis/init
@@ -7,16 +7,25 @@
disk/fdisk -p /dev/sdG0/data >/dev/sdG0/ctl
disk/prep -p /dev/sdG0/plan9 > /dev/sdG0/ctl
-## for installing to disk
+## for using the cd
#9660srv /dev/sdF0/data /n/cd
#bind -b /n/cd/dis /dis
#bind -b /n/cd/Inferno/386 /
-## for some reason, this mount hangs the vm
+
+## for formatting the disk
+## bind -a '#S' /dev # simple.b does this
+#disk/mbr -m mbr /dev/sdG0/data
+#disk/fdisk -baw /dev/sdG0/data
+#disk/prep -bw -a^(9fat fs) /dev/sdG0/plan9
+#disk/format -b pbs -d -r 2 /dev/sdG0/9fat 9bootfat /n/cd/cfg/plan9.ini
+
+## for installing to a formatted disk
#mount -c { disk/kfs -r -n root /dev/sdG0/fs } /n/local # reams
-##disk/kfscmd -n root sync
+#disk/kfscmd -n root sync
#disk/mkfs -v -r -s /n/cd/ -d /n/local/ <{ echo + }
+#disk/kfscmd -n root sync
-# with inferno installed to a disk
+# starting inferno already installed to a disk
mount -c { disk/kfs -n root /dev/sdG0/fs } /n/local
disk/kfscmd -n root sync
bind -b /n/local/dis /dis