Subject: Re: problems with the OF boot
To: Gyula_Moln=E1r <mogyula@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 04/28/2007 13:54:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 28, 2007, at 04:02, Gyula Moln=E1r wrote:

> Sorry for the lame question, but i can't do it myself.
> I've got a Power Mac G3 (B&W), and I've got only a 40GB hard drive in
> it. This drive has two partitions:
> A 4MB HFS+ partition for ofwboot.xcf , and a ~38GB UFS partition, with
> the kernel file on it ( something like this:
> NetBSD-boot-generic-MD.gz).
> I got to the Open Firmware, but i don't know, that how can i load the
> boot loader, what is the HFS+ partition's id... Another problem is
> that what to do  with  2 partitions...

First, read the installation documentation. INSTALL.txt, INSTALL.html=20
etc. to get some basic understanding how OF works and what it takes to=20=

get it to boot.

I have no idea if this method works on a b&w G3 - their OF version is=20
somewhere between old and new world and I don't have such a machine.=20
First try 'boot hd:ofwboot.xcf' - if that loads something continue=20
here, if not skip ahead.
'boot hd:ofwboot.xcf' should tell OF to load ofwboot.xcf from the first=20=

partition it understands ( which should be hfs+ ). Then use whatever=20
you used to set up the partitions - the partition numbers in there=20
should coincide with OF's partition numbers. So to load your kernel=20
you'd use 'boot hd:ofwboot.xcf hd:<partition_number>/<kernel_name>'

For the partition zero method you write the boot loader into the first=20=

few sectors of a disk - use installboot for that. Make sure ofwboot is=20=

in the root directory of whatever partition you want to use as root.=20
Then boot using 'boot ide0/@0:0 <kernel_name>' - ide0 being the OF=20
device alias for the IDE controller your disk is connected to -=20
probably different on your machine.

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

iQEVAwUBRjOKXspnzkX8Yg2nAQJNdQf/WGRO3s8Bd4wWRG+b/cMfLb3x0OR69Vny
jj5V39V2f4I9ncvCxHb57qq9nAznEWQMOGPQTVq4DFD7GfqnuaTsQf3rtpoS4Enp
DtFHDDLyugeAResr3XqdMa31oTwgGIrGy5J5HbzEiOAtcQA13XjGLcUcDo10o3CD
BWqCEwiso0Gh+1fMvFcaMt/zEJfJGS57J4ExLKEmT5MA97aDRtVf9GNUxPiN0Rzt
bkHvVeqra6pAXGSV7DzTX+iTxFwHK7SBsHyz3agCHjfPor+jnaUVAKo7f6RaL6lR
r+QXRHmf1clGrOqVvOU/Frr/d/fwCBaUiVryZ6CFng6dsiZQxpFESw=3D=3D
=3DmUne
-----END PGP SIGNATURE-----