Subject: Re: newbie question with a twist
To: Donald Lee <donlee_ppc@icompute.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 11/05/1999 10:34:41
On Fri, 5 Nov 1999, Donald Lee wrote:

> OK. Let me display my ignorance...
> 
> If I have beige G3 with OF 2.0.x, and an ide disk (HFS) and
> an external SCSI (with NetBSD 1.4), and I
> want to boot.  Let's assume that I have an ofwboot file in xcoff.
> (I don't)  Further assume that the owfboot file is 
> at the root level of the HFS filesystem on the ide.
> I can put ofwboot.xcoff on the ide and do:
> 
> 	boot hd:5,\ofwboot.xcoff

I don't think you need the backslash, but I think that'll work.

That's exactly why I've been working on making our build system spit out
an xcoff version of ofwboot (which I'm naming ofwboot.xcf, for CD-ROMs).
This in fact should work on OF 2.4 machines, which is why I'm doing it.
:-)

> (Please forgive the artistic license, the "hd" alias varies, but I just want
> to use this for an example)
> 
> I've done this on the B&W, and it gives me sysinst and the mini-root
> filesystem.  How do I tell the boot process that the root device
> is the external SCSI?

There are two ways to do it. One is to tell ofwboot to ask you, and the
other is to hard wire it into the kernel.

For asking, say:

boot wherever_ofwbbot_is -a

Then when it boots, ofwboot will ask you where the kernel is. Tell it, AND
add the -a option again. Then the kernel will ask you where to find the
root filesystem.

Take care,

Bill