Subject: Re: OF question for install on G4
To: None <>
From: Gregory Smith <>
List: port-macppc
Date: 09/25/2000 16:09:19
	I have one of the newer single processor AGP machines myself, and was
unable to get NetBSD booted on it. I tried just about everything, short of
netbooting the kernel.
	That having been said, a few suggestions:
	+ you should try a new snapshot; 1.4.2 definitely won't work with AGP
machines. 1.5_ALPHA might
	+ OF on the new machines (I'm dubious that your OF version is 1.2.2f1; I
think that's the apple firmware revision) should be able to boot an elf
kernel directly, no need for ofwboot. Of course, my OF won't (CLAIM
FAILED). But it should :-)
	+ ofwboot.elf doesn't work the way it's supposed to. It's supposed to look
on an HFS drive for netbsd, but it doesn't. The only way I've been able to
get it to see a kernel to boot from is if the kernel is on an FFS partition
or in an install image(!!). Then it would boot past the first two or three
magic numbers, and stop
	+ To get that far, I suntarred an install image onto a zip disk, put
ofwboot.elf on my hard drive, and typed boot:ultra0,ofwboot.elf (I think)
and then Boot: zip,netbsd (I think)
	+ if you do manage to boot the install kernel, please let me know what you
did :-) Also, I'm not sure how well the installer / netbsd read the Apple
partition map, so you may have trouble getting it to coexist with MacOS on
the same hard drive.


--On Monday, September 25, 2000, 2:24 PM -0500 Rene Salmon
<> wrote:

> Hello all,
>	 I just bought a G4 the one with only one processor.  I am trying
> to get Netbsd installed on it and I have some questions that maybe some of
> you can help me with.
> OF version 1.2.2f1
> I think the mac I have is a Sawtooth G4 450(AGP)
> I am trying to install netbsd-1.4.2 
> I have partitioned the 20GB drive into 5 parts using macos disk utility
> partition 8 = mac HFS+ for macOS9
> partition 9 = A/UX Swap (Apple_UNIX_SVR2) partition for NetBSD swap
> partition 10= A/UX Root (Apple_UNIX_SVR2) partition for NetBSD /
> partition 11=hfs +
> partition 12=hfs+
> now I copied ofwboot.elf and netbsd-GENERIC_MD.gz to the root of patition
> 8 the macos9 partition.
> at the OF prompt I type 
>	 0> boot hd:8,ofwboot.elf
> this is what I get 
>	 0> boot hd:8,ofwboot.elf load-size=e738 adler32=31799a9
>	 Loadin ELF
>	 >>NetBSD/macppc OpenFirmware Boot, Revision 1.1
>	 >>(, Wed Mar 15 23:55:57 PST 2000)
>	 open /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0/netbsd: No such
> file or directory
>	 Boot:
> I tryed typing
>	 Boot: netbsd-GENERIC_MD.gz 
> I get this
>	 open /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0/netbsd-GENERIC_MD.gz : 
> No such file or directory
> Can someone please e-mail me a clue as to what to do from here.
> Thank you for all or any help you can give me
> Rene