In case of many an SUN servers, if the CD-ROM drive of one server is broken, it is unlikely to install the operation system. In this case, the Solaris operation system can be installed by running the CD-ROM drive of another server online.
The FAQ is applicable to Solaris 8 and Solaris 10 in spite of the minor difference in some commands between the two versions. It is easy to understand the procedure by choosing the corresponding directories.
Take the machine with sound CD-ROM drive as the server:
Host name: server (/etc/hosts)
IP address: 10.71.62.222
The machine with a broken CD-ROM drive:
Host name: client (/etc/hosts)
IP address: 10.71.62.221 (Note: check the IP firstly to see whether it has been used)
Physical address: 8:0:20:f0:45:62 (acquisition of mac address: input ifconfig-a under the command prompt, or input the banner command under the OK prompt to query the mac address of the machine)
Configuration on the machine with a sound CD-ROM drive: (referring to the following for details)
The server of the host:
1. #vi /etc/hosts (Add the configuration condition of the client following the opened file)
10.71.62.221 client (Note: the space between IP address and the machine name refer to a Tab key)
2. #vi /etc/ethers (the file is not existent as defaulted and shall be newly created)
8:0:20:f0:45:62 client (Note: the space between the IP address and the machine name is created by pressing the Tab key)
3. Taking the Solaris 10 for instance, (the DVD installation disk size of the Solaris 10 is about 3G)
4. Put the DVD of Solaris operation system into the CD-ROM drive
#./setup_install_server /abc (the commands are a bit different in different versions, but you can understand them without much effort)
The command is to copy the DVD installation disk to the /abc directory. The running time is considerably long, please wait patiently until the prompt # reappears (for about 1 hour, depending on the performance of the server)
5.# cd /usr/lib/nfs
#cd /abc/ Solaris_10/Tools
#share -F nfs -o ro,anon=0 /abc (note: the symbol between ro and anon is a comma)
The query result can be shared by the share command.
- /abc ro,anon=0 "" (referring to the result)
#./add_install_client -s 10.71.62.222:/abc client sun4u (Installing the system on the client terminal. The following 6 lines show the successful results)
cleaning up preexisting install client "client"
removing client1 from bootparams
removing /etc/bootparams, since it is empty
copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1
The configuration of the system on the server is completed now. Restart the system on the machine (with a broken CD-ROM drive) to be installed with the operation system.
Under the prompt of initialization:
Stop + A (under the prompt OK for installation)
Input the following contents under the prompt OK:
You should note that during installation the host name and IP address should be the same as the originally configured values such as "client" and "10.71.62.221" to avoid error. Any modification should be made after the system has been successfully installed.