Building a kernel-only 9front ISO
In situations where PXE booting is not possible it can be useful to have an ISO file containing just the 9front kernel for booting the machine and having it continue with TLS/TCP mount of the file server.
It is assumed that file and auth servers have already been set up.
Start with a
plan9.ini with parameters suitable for the target machine
proto(2) file describing the resultant ISO file tree:
Populate the source file tree. This could be done by copying only the
needed files into a temporary directory, but it is easier to reuse the
root filesystem, replacing any files that need replacing —
in this case:
bind /tmp/plan9.ini /root/cfg/plan9.ini
Finally, build the ISO file with
disk/mk9660 -c9j \
-B /386/9bootiso \
-s /root -p /tmp/9boottree \
-v 'Plan 9' kern.iso
Burn the resulting
kern.iso to a suitable drive.