Modifying the Installation Startup Script
Consider a scenario in which the install client must be booted from a local CD-ROM, however, you want to use a standardized JumpStart installation from an existing JumpStart server. To achieve this behavior, perform the following tasks:
Copy the rcS script from the CD.
Make the necessary modifications to the rcS script.
Create a bootable CD that contains the modified rcS script.
The rcS script is located in the sbin directory of slice 1 of the Solaris Software 1 of 2 CD. Copy this file to a work area or /var/tmp to edit the file.
The location of the Solaris distribution is based on the value of two variables, Installtype and Network. Installtype specifies the type of media the product is on, such as High Sierra File System (hsfs) or nfs. Network is a boolean value that specifies that the install client is networked. The rcS script uses a switch statement to set the values of these variables based on the media from which it was booted.
To boot from a local CD-ROM and to locate the Solaris distribution from an nfs mounted file system, you must only change the setting of the Installtype and Network variables. For the rcS in slice 1 of the Solaris 9 12/03 CD, replace line 683 with two lines. Line 683 appears as follows.
Replace the preceding line with the following two lines.
Use the lofiadm command to copy the modified rcS to the slice 1 image and burn a bootable CD. This procedure is described in an article about the topic (available from: http://www.sun.com/blueprints/0802/816-7587-10.pdf), which is an excerpt from the Sun BluePrints book JumpStartTM Technology: Effective Use in the SolarisTM Operating Environment, by John S. Howard and Alex Noordergraaf (ISBN 0-13-062154-4).