From mboxrd@z Thu Jan 1 00:00:00 1970 From: g_patrickb@yahoo.com (G B) Date: Mon, 7 Mar 2016 12:38:55 +0000 Subject: [9fans] Inferno (native) References: <1411119258.4897563.1457354335571.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1411119258.4897563.1457354335571.JavaMail.yahoo@mail.yahoo.com> Topicbox-Message-UUID: 8aa9d988-ead9-11e9-9d60-3106f5b1d025 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! -------------- next part -------------- An HTML attachment was scrubbed... URL: