Mac OS X Server 10.2: How to Select a Startup Disk via SSH

You may need to change the startup volume via SSH in certain scenarios, such as when remotely installing Mac OS X Server. This document explains how to do so.
You can use this method any time you prefer to use SSH, but a particularly useful example is when the computer does not start up from the desired volume after installation from CD, or when you wish to select a different volume immediately after remote installation (before restarting the target computer).

If the target computer is currently started up from CD and you don't already know its IP address, see technical document 51846, "Mac OS X Server for Xserve: How to Find a Server on the Network".

The following procedure uses the "bless" command to choose a startup disk for a remote Mac OS X Server.

Your ssh connection will be closed, and the server will restart to the volume selected in step 5.
Published Date: Feb 17, 2012