Please note: this page applies only to NetBSD-1.3 and later releases of NetBSD/pmax. For earlier revisions the console and second stage bootstraps and the kernel load are the same, but the kernel will then use RARP and bootparams to determine its IP address and NFS root and swap locations. For more information on this, see the diskless(8) manual page.
The biggest hurdle with diskless booting is that the PROMs of each model of DECstation come in a variety of different versions, with bugs that break diskless booting in various ways. Some versions of PROMs only boot reliably with MOP, others only boot reliably with tftp. Experimentally, smaller kernels seem to boot where bigger kernels fail. (The generic installation kernel counts as "bigger" in this context).
The long-term solution is probably to write a small, secondary bootloader, boot that via the PROMS, and use it to download a real kernel. No-one has yet written such a bootloader.
Here is a list of known PROM versions.
There's a new Diskless NetBSD HOW-TO available that has NetBSD/pmax specific information in it.
1. Setting Up the Server
You will need to set up your server to serve BOOTP, TFTP and NFS.
The NFS setup is quite simple. Untar the NetBSD snapshot or distribution into a directory on your server and NFS export that directory to the client. You'll probably want to map root to `root' (rather than the default `nobody') when you export it. A typical /etc/exports line on a NetBSD system would be:
/usr/export/pmax -maproot=0 myclient.mydom.comFor the TFTP setup, copy the ECOFF format kernel netbsd.ecoff from the extracted snapshot into an appropriately named file (I use netbsd.hostname) in the directory used by your TFTP server.
For the BOOTP server you need to specify the:
Here's an example for a Unix system running bootpd:
myhost.mydom.com:\ :ht=ethernet:ha=08002b123456:\ :ip=192.168.1.2:sm=255.255.255.0:\ :sa=192.168.1.1:bf=netbsd.myhost:rp=/usr/export/pmax:2. The PMAX PROM
This section incomplete!
The only Ethernet device the PROM on most PMAX systems knows how to boot from is the onboard Ethernet interface. The PROM knows how to boot from a FDDI card with tftp, but there is no known reports of this actually working with NetBSD/pmax. How about an extra PMAD-A??.
Notes on various models' problems TFTP booting... Refer to the PROM list for more info
|5000/xx, 5000/1xx, 5000/240, 5000/260||boot 3/tftp|
|2100, 3100||boot -f tftp()|
3. The Kernel
Once loaded, the kernel will probe and configure devices. It will then send out another BOOTP request to get its IP address and the path to mount its root filesystem.
If you specified the n flag on boot, the kernel prompt on the console for a root device, dump device and file system type. You may reply to these with a question mark (?) to get a list of valid options. Currently there is no support for crash dumps on a system without a disk.
This page was based on the NetBSD/alpha Netbooting page written by Curt Sampson <cjs@NetBSD.org>.