-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Apr 28, 2007, at 04:02, Gyula Molnár 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
etc. to get some basic understanding how OF works and what
it takes to
get it to boot.
I have no idea if this method works on a b&w G3 - their
OF version is
somewhere between old and new world and I don't have such a
machine.
First try 'boot hd:ofwboot.xcf' - if that loads something
continue
here, if not skip ahead.
'boot hd:ofwboot.xcf' should tell OF to load ofwboot.xcf
from the first
partition it understands ( which should be hfs+ ). Then use
whatever
you used to set up the partitions - the partition numbers in
there
should coincide with OF's partition numbers. So to load your
kernel
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
few sectors of a disk - use installboot for that. Make sure
ofwboot is
in the root directory of whatever partition you want to use
as root.
Then boot using 'boot ide0/ 0:0 <kernel_name>' -
ide0 being the OF
device alias for the IDE controller your disk is connected
to -
probably different on your machine.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRjOKXspnzkX8Yg2nAQJNdQf/WGRO3s8Bd4wWRG+b/cMfLb3x0OR6
9Vny
jj5V39V2f4I9ncvCxHb57qq9nAznEWQMOGPQTVq4DFD7GfqnuaTsQf3rtpoS
4Enp
DtFHDDLyugeAResr3XqdMa31oTwgGIrGy5J5HbzEiOAtcQA13XjGLcUcDo10
o3CD
BWqCEwiso0Gh+1fMvFcaMt/zEJfJGS57J4ExLKEmT5MA97aDRtVf9GNUxPiN
0Rzt
bkHvVeqra6pAXGSV7DzTX+iTxFwHK7SBsHyz3agCHjfPor+jnaUVAKo7f6Ra
L6lR
r+QXRHmf1clGrOqVvOU/Frr/d/fwCBaUiVryZ6CFng6dsiZQxpFESw==
=mUne
-----END PGP SIGNATURE-----
|