Booting from network

1. install and prepare DHCP server


  in PLD you have only to add:
next-server <server_ip>;
in /etc/dhcpd.conf

2. install and prepare tftp (tftp-hpa) server

3. mount ppcrcd image and execute boot/prep-tftp-files.sh


  for help try:
$ prep-tftp-files.sh --help
Remember you need write permisions to tftp dir.

4. reboot your PPC to Open Firmware


  to do it press Command+Option+O+F (Apple+Alt+O+F) when booting, should work on most Mac's, then type:
> boot enet:,\ppc\bootinfo.txt


  And wait until yaboot boots, in yaboot you should select ' tomem ' image.

Booting by pressing 'N'


  It's hard to configure DHCP for booting Mac by pressing 'N', or from multiboot menu. But it isn't impossible. You need new DHCP server, and some options in config I don't really understand. Here goes working example:
ddns-update-style		none;

option domain-name		"domain.here";
option domain-name-servers	192.168.0.1;

authoritative;

# Mac NetBoot Options
#  (these require dhcpd 3.0+)
option mac-nc-client-unknown code 220 = string;
option mac-nc-client-id code 221 = string;
option mac-version code 230 = string;
option mac-username code 232 = text;
option mac-password code 233 = text;
option mac-nb-img code 234 = string;
option mac-apps-img code 235 = string;
option mac-machine-name code 237 = text;
option mac-client-nb-img code 238 = string;

subnet 192.168.0.0 netmask 255.255.255.0 {
	option routers			192.168.0.1;
	option subnet-mask		255.255.255.0;
	
	option nis-domain		"domain.name";
	
	option time-offset		-1;
	option ntp-servers		some.time.server;
	
	default-lease-time 21600;
	max-lease-time 43200;
	
	host mymac {
		filename "/ppc/bootinfo.txt";
		server-name "server";
		next-server 192.168.0.1;
		
		hardware ethernet 00:11:24:00:00:00;
		fixed-address 192.168.0.2;
		
		option dhcp-max-message-size 576;
		option dhcp-parameter-request-list
			1, # subnet mask
			3, # routers
			220, 221, 230, 232, 233, 234,
			235, 236, 237, 238; # mac options
		
		option mac-version 0:0:0:0;
	}
}