Subject: success in netbooting an iMac
To: None <port-macppc@netbsd.org>
From: leo <leonardo.disanto@gmail.com>
List: port-macppc
Date: 08/15/2005 12:57:45
Hi there

I just got my iMac (rev c 333 Mhz) to netboot NetBSD 2.0.2, the
procedure I used is nearly the same described at
http://www.enchantedlearning.com/tech/netbsd_imac.shtml. This email is
to let you know the (small) defferences between the guide and what i
have done just in case this can be usefull to someone trying to do the
same thing.

the server i made the boot from is an i386 linux box (a debian testing
if anyone cares)

I used dhcp instead of bootp, mainly because i had already dhcpd on
the server, this is an extract of the relevant part of dhcpd.conf

     host imac {
     filename "ofwboot.xcf";
     option root-path "/mnt/imac/root";
     server-name "192.168.1.1";
     next-server 192.168.1.1;
     hardware ethernet 00:50:E2:E0:3E:74;
     fixed-address  192.168.1.99;
    }

/mnt/imac/root is the nfs export of the iMac's root filesystem

It was not possible load directly the kernel image, i guess that the
problem is the size of the kernel binary (and/or some bug in
openfirmware) so i used ofwboot to load a compressed version of the
kernel (I gizipped the kernel image)

with this setup i was even able to netboot simply by holding the "n"
key on the iMac keyboard

the machine has been running flawlessly for the last four hours,  the
only problem right now is the fact that X11 does not start, but this
will be the subject of another post to port-macppc :)

Leonardo