beautypg.com

Apple Mac OS X Server (Administrator’s Guide) User Manual

Page 560

background image

560

Chapter 17

2

Open Terminal on another Mac OS X Server or administrator computer and log in to the
server as root using SSH. For example, type:

ssh -l root

3

Mount volumes using the autodiskmount tool. To do this, type:

autodiskmount

4

List the volumes available to install the software on and specify the package you want to
install. For example, type:

/usr/sbin/installer -volinfo -pkg /System/Installation/Packages/

OSInstall.mpkg

and get a list. The information displayed reflects your particular environment, but here’s an
example:

/private/var/tmp/Mount01

/private/var/tmp/Mount1

/private/var/tmp/Mount02

5

Install the operating system on a volume from the list. For example, to use Mount01 in the
example in step 4, type:

/usr/sbin/installer -pkg /System/Installation/Packages/OSInstall.mpkg

-target /private/var/tmp/Mount01 -lang en -verbose

to get this result:

installer: Package name is Mac OS X

installer: Installing onto volume mounted at

/private/var/tmp/Mount01.

installer: The install was successful.

6

Type one of these commands to restart the server:

/sbin/reboot

/sbin/shutdown -r

Important

Don’t use the disk utility and installer applications after you use autodiskmount

to manually mount volumes until after you have restarted your server. Otherwise, you will
get unreliable results.

Important

Apple strongly recommends that you not store data on the hard disk or hard

disk partition where the operating system is installed. With this approach, you will not risk
losing data should you need to reinstall or upgrade system software.

This manual is related to the following products: