Specifications
/sbin/ipfw add 1000 deny udp from any to any dst-port 5353 out
/sbin/ip6fw add 1001 deny udp from any to any 5353 out
Disable Safe Sleep
Safe Sleep keeps a large file (the size of physical RAM) on the boot volume to
allow for hibernation. This is a huge performance hit, so we disable it for our
repair image.
Add the following to /etc/rc.local
pmset -a hibernatemode 0
”Reserved” Space
Under 10.6, System Image Utility shrinks the avilable netboot image size to be
only slightly (1GB) larger than the amount of space required by the files on the
image. This can cause ”out of disk space” warnings.
To combat this, we create a large file on the hard drive (10GB):
dd if=/dev/zero of=/private/var/vm/suffield-reserved-space bs=1g count=10
Then, we add the following to /etc/rc.local:
rm -f /private/var/vm/suffield-reserved-space
This has the effect of building the image with 10GB of space that will be freed
up immediately on boot.
System Font Replacement
For some reason, our Netboot systems think the system fonts are ”damaged”
after System Image Utility has worked from a master machine. To prevent this
issue from happening, open Font Book and go to its preference screen. There,
uncheck the ”Alert me when system fonts change” checkbox.
Then, rename the following directory to ”ProtectedFonts.backup” (the lines
below should be typed all on one line as a single path):
/System/Library/System/Library/Frameworks/ \
ApplicationServices.framework/Versions/A/Frameworks/ \
ATS.framework/Versions/A/Resources/ProtectedFonts/
11