Subject: Re: Booting problem (newbie question)
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 01/12/2000 17:13:17
On Wed, 12 Jan 2000, Henry B. Hotz wrote:

> Sounds like you need to play a bit with the Open Firmware boot device/file.
> The general format is path/sd@i:p,file where i is the SCSI id, p is the
> partition number, and file is the path to the executable.
> 
> scsi/sd@0:0 means to boot from the raw disk assuming no MacOS partitioning,
> and does not specify the file path.  This has and is changing, but there
> was a program called installboot which wrote a fake Apple partition map on
> an otherwise NetBSD partitioned disk so you could specify a real partition
> number, like 1.  I don't remember the name of the booter interlude program,
> but it might help to include it.

Actually if you're using installboot (which is appropriate with a
NetBSD-disklabeled system), you want to use :0 . installboot installs a
driver which will be used by OF.

> Under -current you can use Apple partitioning just like the mac68k port.
> Find a copy of ofwboot.xcf and put it in an Apple HFS partition and the
> boot becomes something like scsi/sd@0:5,ofwboot.xcf.  It then looks for a
> NetBSD root partition on the same disk and tries to boot /netbsd from it
> (unless you gave it some options).  This is how I would do it, but I
> haven't yet as I said, and there may be some gotcha's.

One thing you need to do with the .xcf version I believe is to have set
loadbase right. It is 0x6c0000 in the current builds.

Take care,

Bill