Following the steps in the book "Principles of Operating Systems: Design and
Applications" I was able to build a native Inferno .iso image from a FreeBSD
9.3 i386 hosted Inferno.
I've booted the Inferno .iso successfully in VirtualBox and get a shell,
however it isn't complete, e.g., no Limbo, 8c, 8l, acme, sam or other tools and
utilities are available like they are in the hosted Inferno build.
This is what I use to create the image:
- In os/boot/pc in the Inferno tree, issue the command"mk pbs.install
9load.install" at a host OS prompt.
- Edit os/pc/pc to set up the kernel configuration.A simple/minimal set of
changes to get something thatyou can see working is:
- Change wminit to shell in the init section.
- Set the consoleprint variable in the code section to 1.
- Add the files /dis/lib/arg.dis and /dis/lib/filepat.disto the root
section.
- Create a file in os/pc called plan9.ini.If you're going to boot directly
from the floppy, it shouldinclude the line: "bootfile=fd0!ipc.gz".If you're
going to build a bootable CD, the line shouldbe "bootfile=sdD0!cdboot!ipc.gz".
# disk/format -b /Inferno/386/pbs -df inferno /Inferno/386/9load plan9.ini
ipc.gzHow do I get Limbo, a C compiler, etc., in my native build?
Thanks!