Solaris 10 8/07 Installation Guide: Network-Based Installations

Chapter 7 Installing Over the Network (Examples)

This chapter provides examples that illustrate how to use DVD or CD media to install the Solaris OS over the network.

All examples in this chapter have the following conditions.

Choose an example from one of the following additional options.

Network Installation Over the Same Subnet (Examples)

This section includes the following examples.


Example 7–1 SPARC: Install Over the Same Subnet (With DVD Media)

This example creates a SPARC install server with SPARC DVD media.

This example has the following conditions:

  1. Create and set up a SPARC install server.

    This example creates an install server by copying the Solaris DVD to the install server's /export/home/dvdsparc directory.

    1. Insert the Solaris DVD in the SPARC system's drive.

    2. Use the following command to create a directory to contain the DVD image. This command also changes to the Tools directory on the mounted disc. Then the command copies the DVD image in the drive to the install server's hard disk.


      # mkdir -p /export/home/dvdsparc
      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      # ./setup_install_server /export/home/dvdsparc
      
  2. Install the system with a network installation image.

    In this example, you install with the Solaris interactive installation GUI.

    1. Boot the system from the network.

    2. To install with the Solaris interactive installation GUI, type the following command.


      ok bootnet - install
      

      The system installs from the network.

    3. If you are prompted, answer the system configuration questions. If you preconfigured all of the system information, the installation program does not prompt you to enter any configuration information.

      After you confirm the system configuration information, the Welcome to Solaris panel appears. The installation is complete.

For a more detailed explanation about the network installation procedures that are used in this example, see Chapter 5, Installing From the Network With DVD Media (Tasks).



Example 7–2 SPARC: Install Over the Same Subnet (With CD Media)

This example creates a SPARC install server with SPARC CD media.

This example has the following conditions:

  1. Create and set up a SPARC install Server.

    The following example illustrates how to create an install server by copying the CD media to the install server's /export/home/cdsparc directory.

    1. Insert the Solaris Software for SPARC Platforms - 1 CD in the system's CD-ROM drive.

    2. Use the following command to create a directory for the CD image. This command also changes to the Tools directory on the mounted disc, and copies the image in the drive to the install server's hard disk.


      # mkdir -p /export/home/cdsparc
      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      # ./setup_install_server /export/home/cdsparc
      # cd /
      
  2. Add systems to be installed from the network.

    1. Insert the Solaris Software for SPARC Platforms - 2 CD in the CD-ROM drive.

    2. Use the following command. This command changes to the Tools directory on the mounted CD. The command copies the CD in the CD-ROM drive to the install server's hard disk. Then the command changes to the root (/) directory.


      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      # ./add_to_install_server /export/home/cdsparc
      # cd /
      
    3. Repeat the previous commands for each Solaris Software CD that you want to install.

    4. Insert the Solaris Languages for SPARC Platforms CD in the CD-ROM drive.


      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      # ./add_to_install_server /export/home/cdsparc
      
  3. Install the system with a network installation image.

    1. Boot the system from the network.

    2. To install with the Solaris interactive installation GUI, type the following command.


      ok boot net
      

      The system installs from the network.

    3. If you are prompted, answer the system configuration questions.

      After you confirm the system configuration information, the Welcome to Solaris panel appears. The installation is complete.

For a more detailed explanation about the network installation procedures that are used in this example, see Chapter 6, Installing From the Network With CD Media (Tasks).



Example 7–3 x86: Install Over the Same Subnet (With DVD Media)

This example creates an x86 install server with x86 DVD media.

This example has the following conditions:

  1. Create and set up an x86 install server.

    The following examples illustrate how to create an x86 install server by copying the Solaris Operating System for x86 Platforms DVD to the install server's /export/home/dvdx86 directory.

    1. Insert the Solaris DVD into the system's drive.

    2. Use the following command. This command creates a directory to contain the boot image. Then this command changes to the Tools directory on the mounted disc. Also, the command copies the disc in the drive to the install server's hard disk by using the setup_install_server command:


      # mkdir -p /export/home/dvdx86
      # cd /cdrom/cdrom0/Solaris_10/Tools
      # ./setup_install_server /export/home/dvdx86
      
    3. Add the following path to the /etc/dfs/dfstab file:


      share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdx86
    4. Check if the nfsd daemon is online. If the nfsd daemon is not online, start it and share it.


      # svcs -l svc:/network/nfs/server:default
      # svcadm enable svc:/network/nfs/server 
      # shareall 
      # cd /
      

    Note –

    If the install server was running the Solaris 9 OS, or compatible version, you would type the following command instead.


    # ps -ef | grep nfsd
    

    For this older release, if the nfsd daemon was running, you would continue to the next step. If the nfsd daemon was not running, you would start it.


    # /etc/init.d/nfs.server start
    

  2. Add systems to be installed from the network.

      The file system /export/home/dvdx86/ contains the add_install_client command. The install client is named basil, which is an x86 system.

    1. Add the client to the install server's /etc/ethers file.

      On the client, find the ethers address. The /etc/ethers map is taken from the local file.


      # ifconfig -a grep ether
      ether 8:0:20:b3:39:1d

      On the install server, open the /etc/ethers file in an editor. Add the address to the list.

    2. Use the following command. This command changes to the Tools directory on the Solaris DVD image. Then, this command sets up the client system so that it can be installed from the network.


      install_server# cd /export/home/dvdx86/Solaris_10/Tools
      install_server# ./add_install_client basil i86pc
      
  3. Install the system with a network installation image.

    The Solaris installation programs for x86 based systems use the GRUB boot loader. This example installs an x86 based system over the network with the GRUB boot loader.

    1. In the system BIOS, instruct the system to boot from the network.

      After you exit BIOS, the system installs from the network. The GRUB menu is displayed.

    2. To install the Solaris OS from the network, select the appropriate Solaris entry on the menu, then press Enter.

      The installation selection screen is displayed.

    3. To install with the Solaris interactive installation GUI, type 1, then press Enter.

      The installation program begins.

    4. If you are prompted, answer the system configuration questions.

      After you confirm the system configuration information, the Welcome to Solaris panel appears.

      After the system boots and installs over the network, instruct the system to boot from the disk drive on subsequent boots.


      Note –

      When you boot the system after the installation, a GRUB menu lists the operating systems that are installed, including the newly-installed Solaris OS. Select which operating system you want to boot. The default selection loads if you do not make another selection.


For further information, see the following references.

Procedure 

Reference 

For a more detailed explanation about the network installation procedures that are used in this example 

Chapter 5, Installing From the Network With DVD Media (Tasks)

For information about how to complete an interactive installation with the Solaris installation GUI 

To Install or Upgrade With the Solaris Installation Program With GRUB in Solaris 10 8/07 Installation Guide: Basic Installations

For overview information about the GRUB boot loader 

Chapter 6, GRUB Based Booting for Solaris Installation, in Solaris 10 8/07 Installation Guide: Planning for Installation and Upgrade



Example 7–4 x86: Install Over the Same Subnet (With CD Media)

This example creates an x86 install server with x86 CD media.

This example has the following conditions:

  1. Create and set up an x86 install server.

      The following steps create an install server by copying the following CDs to the install server's /export/home/cdx86 directory.

    1. Insert the Solaris Software - 1 CD in the system's drive.

    2. Use the following command. This command creates a directory for the CD image and changes to the Tools directory on the mounted disc. This command then copies the image in the drive to the install server's hard disk.


      # mkdir -p /export/home/dvdx86
      # cd /cdrom/cdrom0/Solaris_10/Tools
      # ./setup_install_server /export/home/cdx86
      
    3. Insert the Solaris Software - 2 CD in the system's CD-ROM drive.

    4. Use the following command. This command changes to the Tools directory on the mounted CD. Then this command copies the CD in the CD-ROM drive to the install server's hard disk and changes to the root (/) directory.


      # cd /cdrom/cdrom0/Solaris_10/Tools
      # ./add_to_install_server /export/home/cdx86
      # cd /
      
    5. Repeat the previous commands for each Solaris Software CD that you want to install.

    6. Insert the Solaris Languages CD in the system's CD-ROM drive.

    7. Use the following command. This command changes to the Tools directory on the mounted CD. This command then copies the CD in the CD-ROM drive to the install server's hard disk.


      # cd /cdrom/cdrom0/Solaris_10/Tools
      # ./add_to_install_server /export/home/cdx86
      
  2. Add systems to be installed from the network.

    In this example, the install client is named basil, which is an x86 system. The file system /export/home/cdx86/Solaris_10/Tools contains the add_install_client command.

    1. Add the client to the install server's /etc/ethers file. On the client, find the ethers address. The /etc/ethers map is taken from the local file.


      # ifconfig -a grep ether
      ether 8:0:20:b3:39:1d
    2. On the install server, open the /etc/ethers file in an editor. Add the address to the list.

    3. Use the following command. This command changes to the Tools directory on the current Solaris release CD image on the install server. Then this command adds the client system to be installed from the network.


      install_server# cd /export/home/cdx86/Solaris_10/Tools
      install_server# ./add_install_client basil i86pc
      
  3. Install the system with a network installation image.

    This step describes how to install an x86 based system over the network with the GRUB boot loader.

    1. In the system BIOS, instruct the system to boot from the network.

      After you exit BIOS, the system installs from the network. The GRUB menu is displayed.

    2. To install the Solaris OS from the network, select the appropriate Solaris entry on the menu, then press Enter.

      The installation selection screen is displayed.

    3. To install with the Solaris interactive installation GUI, type 1, then press Enter.

      The installation program begins.

    4. If you are prompted, answer the system configuration questions.

      After you confirm the system configuration information, the Welcome to Solaris panel appears.

    5. After the system boots and installs over the network, instruct the system to boot from the disk drive on subsequent boots.


      Note –

      When you boot the system after the installation, a GRUB menu lists the operating systems that are installed, including the newly-installed Solaris OS. Select which operating system you want to boot. The default selection loads if you do not make another selection.


For further information, see the following references.

Procedure 

Reference 

For a more detailed explanation about the network installation procedures that are used in this example 

Chapter 6, Installing From the Network With CD Media (Tasks)

For information about how to complete an interactive installation with the Solaris installation GUI 

To Install or Upgrade With the Solaris Installation Program With GRUB in Solaris 10 8/07 Installation Guide: Basic Installations

For overview information about the GRUB boot loader 

Chapter 6, GRUB Based Booting for Solaris Installation, in Solaris 10 8/07 Installation Guide: Planning for Installation and Upgrade