9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: g_patrickb@yahoo.com (G B)
Subject: [9fans] Inferno (native)
Date: Mon,  7 Mar 2016 12:38:55 +0000	[thread overview]
Message-ID: <1411119258.4897563.1457354335571.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <1411119258.4897563.1457354335571.JavaMail.yahoo.ref@mail.yahoo.com>

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: <http://mail.9fans.net/private/9fans/attachments/20160307/bd109b05/attachment.html>


       reply	other threads:[~2016-03-07 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1411119258.4897563.1457354335571.JavaMail.yahoo.ref@mail.yahoo.com>
2016-03-07 12:38 ` G B [this message]
2016-03-12  5:37   ` cigar562hfsp952fans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411119258.4897563.1457354335571.JavaMail.yahoo@mail.yahoo.com \
    --to=g_patrickb@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).