Hi all. I'm setting up this post because I'm tired of Googling around every time I want to dual boot NetBSD and OS X on my iBook G4. Here are the steps I'm using. Adapt it to your needs. Your mileage may vary.
That's all!
	
		
			
		
		
	
				
			Preparation
- Boot from some an OS X install disk
 - Run disk utility
 - Create 3 partitions. Use the default file systems. The NetBSD ones will be dealt with later.
- OS X
 - NetBSD root
 - NetBSD swap
 
 - Install OS X to the OS X partition you created.
 - Boot into OS X and insert the NetBSD CD.
 - Copy ofwboot.xcf from the root of the CD to the root of the OS X drive.
 - Copy macppc/binary/kernel/netbsd-GENERIC.gz from the CD to the root of the OS X drive. Rename it to netbsd.gz.
 
Installation
- Boot from the NetBSD CD.
- Reboot into Open Firmware with Cmd-Option-O-F.
 - Type boot cd:,ofwboot.xcf netbsd.macppc and press enter.
 
 - Drop to the shell
 - Run pdisk /dev/wd0
 - Change the types for partitions 3 & 5 to Apple_UNIX_SVR2, using one for root, and swap for the other. Be sure to name the partitions "root" and "swap" as well respectively.
 - Save a quit the partitioner then exit the shell.
 - When asked about terminal type accept the default.
 - Enter "I" for install
 - Select "Install NetBSD to hard disk"
 - Follow the prompts until you get to "Available disks". Choose wd0.
 - Next, select a: Use existing disklabel partitions
 - Select the partition that has FS type: FFS. Press enter and set newfs to, mount to "yes", and mount point to "/".
 - Select Partition sizes ok then Yes.
 - Got through the rest of the netbsd install and then reboot into open firmware again. Then enter these commands to get NetBSD to boot by default.
Code:setenv boot-device hd:,\ofwboot.xcf setenv boot-file netbsd.gz setenv boot-command ." hello" cr " screen" output boot reset-all 
OS Switching
To boot into OS X instead, hold option on boot and select it. Otherwise, let it boot into NetBSD by default.That's all!