At the moment this is a brief rundown. It will be tidied up later and screenshots will be added. It might even be broken! So use at your own risk.
You should be familiar with the Terminal and Workgroup Manager’s Insepctor. This also assumes that you have a separate active DHCP server.
First, take a 10.5 or 10.6 machine, give it a unique name and a fixed IP address on the network (e.g. NetBoot Server).
Open Directory Utility, /Applications/Utilities in 10.5 and /System/Library/CoreServices in 10.6. Enable the root user.
Login as the root user.
Create the following directories on the hard drive, using the following terminal commands:
mkdir /Library/NetBoot/NetBootSP0
mkdir /Library/NetBoot/NetBootClients0
mkdir /private/tftpboot
Now create links (aliases) in order for NFS, NetBoot/TFTP to function:
ln -s NetBootSP0 .sharepoint
ln -s NetBootClients0 .clients
ln -s /Library/NetBoot/NetBootSP0 /private/tftpboot/NetBoot
In Terminal, edit the /etc/exports file with nano, add the line
/LibraryNetBoot/NetBootSP0 -ro
In Sharing System Preferences, share following folders:
/Library/NetBoot/NetBootSP0 (if you want access from the network to update NetBoot images…)
/Library/NetBoot/NetBootClients0
Make sure “Everyone” is set to read only
Download the Server Admin tools from Apple and install the approriate one for you OS (10.5 = 10.5.7, 10.6 = 10.6.2)
• Open Workgroup Manager
• Authenticate to the server “localhost” with the root name and password
• Select Preferences in the Workgroup Manager menu
• Tick the “Show all records” and Inspector check box
• Click the small globe next to “Authenticated as…” and choose “Local” in the menu that pops up
• Below that, click the newly visible “Target” All records tab. It should be the fifth tab along after Computer Groups
• Select Config in the popup menu
• Create two new records with the New Record button, give them the rcord names of “dhcp” and “NetBootServer”
• Choose the “dhcp” record and create a New attribute of “netboot_enabled” with a value of “en0″
/\
(…conflicting? not needed?…)
\/
With nano in the Terminal, create a file /etc/bootpd.plist and insert the following contents:
< ?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
NetBoot
bootp_enabled
detect_other_dhcp_server
dhcp_enabled
netboot_enabled
en0
old_netboot_enabled
relay_enabled
relay_ip_list
reply_threshold_seconds
0
ENSURE THAT NO OTHER NETBOOT SERVERS ARE RUNNING ON YOUR NETWORK
All being correct above, your mac should be ready to serve NetBoot images. Create or copy a .nbi file to the /Library/NetBoot/NetBootSP0 folder.
Execute the following command in Terminal:
/usr/libexec/bootpd
Now you can NetBoot all day every day!
To check that everything is configured, you can log in to a machine that can boot the OS in your .nbi and check its Startup Disk System Preference for the ability to select the .nbi as a Startup Disk.