Subject: Re: PowerBook 2400 OF HD Boot Syntax
To: Bryan Vyhmeister <netbsd@bsdjournal.net>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 09/06/2006 03:09:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 5, 2006, at 23:22, Bryan Vyhmeister wrote:

> This is driving me crazy! I got NetBSD/macppc 3.0.1 installed using 
> the boot floppies and the CD on my PowerBook 2400. After the 
> installation completed, I rebooted and now I am trying to figure out 
> what the correct Open Firmware boot-file syntax is. I figured out that 
> the correct boot-device is:
>
> /bandit/ohare/ata/ata-disk@0:0

That looks wrong - what kind of error message do you get?

> I have tried a bunch of boot-file commands like:
>
> /bandit/ohare/ata/ata/disk@0:0,\netbsd
> /bandit/ohare/ata/ata/disk@0:1,\netbsd
> /bandit/ohare/ata/ata/disk@0:2,\netbsd
> etc.

Those won't work. OF can't load the kernel directly, you need to load a 
bootloader first, either from partition zero ( ...disk@0:0 ) or from a 
filesystem OF understands ( ...disk@0:,\ofwboot.xcf )

First figure out the right path. There's probably already a  devalias 
defined for your ide controller. Something like 'boot ide0/@0:0' might 
work.

If not you need to figure out where in the OF tree your disks are.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRP50OMpnzkX8Yg2nAQI4vwf8CIbTj4AnLUyWyIERHuPRL6CFBkKY6voJ
PkIguqzhEn9gWdAbPLC5PJlSqQGpObUvUVOfWDml5MO6LVCdNdi3bNJowl1i+a0p
fwkIKBwEl0dYnosMwLrcKWdflSKXFDC17kT5IV3kSBXaqeHr1zc2uNZHnbOCxaM8
V6kRGoIARut58/3Kz6giyjGI9orn/6pXrAGEzrXivITDAO3Ty9KbaZrLH60R8gIh
SurhC+Pf6TYIgkWP0hMDGe0j/Ki172OVH5regZJwCEu/U8SQuZhrbdRbvaHFB/wz
kiYVmxo6eu+zlafsoGtzrAUkMYxf2fWHe3dme1v/wGytdLyh19/BtQ==
=sRmH
-----END PGP SIGNATURE-----