How to create a bootable xrdiags CD
Requirements:
- Mac OS X 10.3 or Mac OS X Server 10.3.3 or later
- Apple Developer Tools
Note: This was tested on version 1.0.4 of the Xserve Remote Diagnostics
Method 1
- Download and mount the XserveRemoteDiag104.dmg disc image
- Install the Xserve Remote Diagnostics
- Use Disk Utility to create a "Disk Image from Folder" of the folder '/private/tftpboot/xrdiags' using the Image Format of "read/write"
- Mount the disk image
- Run the following terminal commands (replacing with the absolute path the the mounted disk image)
- /Developer/Tools/SetFile -t "tbxi" /<Volume path>/diags
- sudo bless --folder /<Volume path>
- unmount and burn the disk image
Method 2
- Download and mount the XserveRemoteDiag104.dmg disc image
- run the following terminal commands (replacing with the absolute path the the mounted disk image)
- gzip -cd /Volumes/Xserve\ Remote\ Diagnostics/XserveRemoteDiagnostics.pkg/Contents/Archive.pax.gz | pax -r -s ',./private/tftpboot/,./,' './private/tftpboot/*'
- hdiutil create -srcfolder ./xrdiags -format UDRW xrdiagscd.dmg
- hdiutil mount xrdiagscd.dmg
- /Developer/Tools/SetFile -t "tbxi" /<Volume path>/diags
- sudo bless --folder /<Volume path>
- Unmount and burn the disk image