Solaris 10 Installation Guide: Network-Based Installations

Part II Installing Over a Local Area Network

This part describes how to install a system that is on your local area network (LAN).

Chapter 7 Preparing to Install From the Network (Overview)

This chapter provides an introduction on how to set up your local area network and systems to install the Solaris software from the network instead of from DVD or CD media. This chapter provides overview information on the following topics.

For information on how to install a client over a wide area network, see Chapter 11, WAN Boot (Overview).

Planning for a Network Installation Introduction

This section provides you with information you need before you can perform an installation from the network. Network installations enable you to install the Solaris software from a system, called an install server, that has access to the Solaris 10 disc images. You copy the contents of the Solaris 10 DVD or CD media to the install server's hard disk. Then, you can install the Solaris software from the network by using any of the Solaris installation methods.

Required Servers for Network Installation

To install the Solaris OS from the network, the systems to be installed require the following servers to be present on the network.

Figure 7–1 illustrates the servers that are typically used for network installation. Note that this sample network does not include a DHCP server.

Figure 7–1 Network Installation Servers

This illustration depicts the servers that are typically
used for network installation.

x86: Overview of Booting and Installing Over the Network With PXE

This section provides an overview of the Preboot Execution Environment (PXE).

x86: What is PXE?

PXE network boot is a “direct” network boot. No boot media is required on the client system. With PXE, you can install an x86 based client over the network by using DHCP.

PXE network boot is available only for devices that implement the Intel Preboot Execution Environment specification. To determine if your system supports PXE network boot, see your hardware manufacturer's documentation.

In the Solaris 10 3/05 and earlier releases, the Solaris boot diskette is still available for systems that do not support PXE. The boot diskette image is available on the Solaris 10 Software for x86 Platforms - 2 CD. The Solaris boot diskette is not available in the Solaris 10 2/06 release.

x86: Guidelines for Booting With PXE

To boot over the network by using PXE, you need the following systems.

When you are preparing to use PXE to install a client over the network, consider the following issues.

Chapter 8 Preparing to Install From the Network With DVD Media (Tasks)

This chapter describes how to use DVD media to set up your network and systems to install the Solaris software from the network. Network installations enable you to install the Solaris software from a system that has access to the Solaris 10 disc images, called an install server, to other systems on the network. You copy the contents of the Solaris 10 DVD media to the install server's hard disk. Then, you can install the Solaris software from the network by using any of the Solaris installation methods. This chapter covers the following topics:

Task Map: Preparing to Install From the Network With DVD Media

Table 8–1 Task Map: Setting Up an Install Server With DVD Media

Task 

Description 

For Instructions 

(x86 only): Verify that your system supports PXE. 

If you want to install an x86 based system over the network, confirm that your machine can use PXE to boot without local boot media. 

If your x86 based system does not support PXE, you must boot the system from a local DVD , CD, or, for the Solaris 10 3/05 release, a boot diskette. 

Check your hardware manufacturer's documentation or the system BIOS. 

Choose an installation method. 

The Solaris OS provides several methods for installation or upgrade. Choose the installation method that is most appropriate for your environment. 

Choosing a Solaris Installation Method

Gather information about your system. 

Use the checklist and complete the worksheet to collect all of the information that you need to install or upgrade. 

Chapter 5, Gathering Information Before Installation or Upgrade (Planning)

(Optional) Preconfigure system information. 

You can preconfigure system information to avoid being prompted for the information during the installation or upgrade. 

Chapter 6, Preconfiguring System Configuration Information (Tasks)

Create an install server.

Use the setup_install_server(1M) command to copy the Solaris 10 DVD to the install server's hard disk.

Creating an Install Server With DVD Media

(Optional) Create boot servers.

If you want to install systems from the network that are not on the same subnet as the install server, you must create a boot server on the subnet to boot the systems. Use the setup_install_server command with the -b option to set up a boot server. If you are using Dynamic Host Configuration Protocol (DHCP), a boot server is not necessary.

Creating a Boot Server on a Subnet With a DVD Image

Add systems to be installed from the network.

Use the add_install_client command to set up each system that you want to install from the network. Each system that you want to install needs to find the install server, the boot server if required, and configuration information on the network.

Adding Systems to Be Installed From the Network With a DVD Image

(Optional) Configure the DHCP server.

If you want to use DHCP to provide system configuration and installation parameters, configure the DHCP server, then create the appropriate options and macros for your installation. 


Note –

If you want to install an x86 based system from the network with PXE, you must either configure a DHCP server, or, for the Solaris 10 3/05 release, create a boot diskette.


Chapter 13, Planning for DHCP Service (Tasks), in System Administration Guide: IP Services

Preconfiguring System Configuration Information With the DHCP Service (Tasks)

Solaris 10 3/05 for x86: Create a boot diskette.

If your system cannot boot from the network or from a local CD or DVD, you must create a boot diskette. 


Note –

The boot diskette is not included in the Solaris 10 1/06 release.


Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette

Install the system over the network. 

Begin the installation by booting the system from the network. 

Booting and Installing the System From the Network With a DVD Image

Creating an Install Server With DVD Media

The install server contains the installation image needed to install systems from the network. You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a boot server.


Note –

If you want use the Solaris DVD media to set up an install server on a system that is running the Solaris 7 OS, you must first apply one of the following patches.


ProcedureSPARC: To Create a SPARC Install Server With SPARC or x86 DVD Media


Note –

SPARC: You cannot use a system that is running a SunOS version that was released prior to the Solaris 2.3 release.



Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Steps
  1. On the SPARC system that is to become the install server, become superuser.

    The system must include a DVD-ROM drive and be part of the site's network and name service. If you use a name service, the system must already be in a service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Insert the Solaris 10 DVD in the SPARC system's drive.

  3. Create a directory to contain the DVD image.


    # mkdir -p install_dir_path
    
  4. Change to the Tools directory on the mounted disc.

    • For SPARC DVD media, type:


      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      
    • For x86 DVD media, type:


      # cd /cdrom/cdrom0/Solaris_10/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris OS DVD media.

  5. Copy the DVD image in the drive to the install server's hard disk.


    # ./setup_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the DVD image is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 7.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

      1. Verify that the path to the install server's image is shared appropriately.


        # share | grep install_dir_path
        
        install_dir_path

        Specifies the path to the installation image where the DVD image was copied

        • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 7.

        • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

      2. Make the install server available to the boot server by adding this entry to the /etc/dfs/dfstab file.


        share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
        
      3. Verify that the nfsd daemon is running.

        • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


          # svcs -l svc:/network/nfs/server:default
          

          If the nfsd daemon is online, continue to Step d. If the nfsd daemon is not online, start it.


          # svcadm enable svc:/network/nfs/server
          
        • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


          # ps -ef | grep nfsd
          

          If the nfsd daemon is running, continue to Step d. If the nfsd daemon is not running, start it.


          # /etc/init.d/nfs.server start
          
      4. Share the install server.


        # shareall
        
  7. Change directories to root (/).


    # cd /
    
  8. Eject the Solaris 10 DVD.

  9. (Optional) Patch the files that are located in the miniroot on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.

    • For the Solaris 10 SPARC and Solaris 10 3/05 x86 releases, use the patchadd -C command to patch the files that are located in the miniroot.


      # patchadd -C install_dir_path path-to-patch/patch-id
      
      install_dir_path

      Specifies the path to the network installation miniroot.

      path-to-patch

      Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

      patch-id

      Specifies the patch ID that you want to apply.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


    • Starting with the Solaris 10 1/06 for x86 release, follow these steps to patch an x86 network installation miniroot.


      Note –

      These steps assume that you have a system on your network that is running the Solaris 10 1/06 for x86 release, and that system is accessible over the network.


      1. On a system that is running the Solaris 10 1/06 for x86 release, log in as superuser.

      2. Change to the Tools directory of the installation image you created in Step 5.


        # cd install-server-path/install-dir-path/Solaris_10/Tools
        
        install-server-path

        Specifies the path to the install server system on your network, for example, /net/installserver-1.

      3. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


        # ./setup_install_server remote_install_dir_path
        
        remote_install_dir_path

        Specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

        This command creates a new installation image on the Solaris 10 1/06 for x86 system. In order to patch this image, you must temporarily place this image on a system that is running the Solaris 10 1/06 for x86 release.

      4. On the Solaris 10 1/06 for x86 system, unpack the network installation boot archive.


        # /boot/solaris/bin/root_archive unpackmedia remote_install_dir_path \
          destination_dir
        
        remote_install_dir_path

        Specifies the path to the x86 network installation image on the Solaris 10 1/06 for x86 system.

        destination_dir

        Specifies the path to the directory to contain the unpacked boot archive.

      5. On the Solaris 10 1/06 for x86 system, patch the unpacked boot archive.


        # patchadd -C destination_dir path-to-patch/patch-id
        
        path-to-patch

        Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

        patch-id

        Specifies the patch ID that you want to apply.

        You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).


        Caution – Caution –

        Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


      6. On the Solaris 10 1/06 for x86 system, pack the x86 boot archive.


        # /boot/solaris/bin/root_archive packmedia destination_dir \
          remote_install_dir_path
        
      7. Copy the patched miniroot to the installation image on the install server.


        # cp remote_install_dir_path/boot/x86.miniroot \
          install-server-path/install_dir_path/boot/x86.miniroot
        
  10. Decide if you need to create a boot server.


Example 8–1 SPARC: Creating a SPARC Install Server With a SPARC DVD

The following example illustrates how to create an install server by copying the Solaris 10 DVD to the install server's /export/home/dvdsparc directory. This example assumes that the install server is running the Solaris 10 OS.


# mkdir -p /export/home/dvdsparc
# cd /cdrom/cdrom0/s0/Solaris_10/Tools
# ./setup_install_server /export/home/dvdsparc

If you need a separate boot server, type these commands:

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdsparc

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 /


Example 8–2 x86: Creating a SPARC Install Server With an x86 DVD

The following example illustrates how to create an install server by copying the Solaris 10 DVD to the install server's /export/home/dvdx86 directory. This example assumes that the install server is running the Solaris 10 OS.


# mkdir -p /export/home/dvdx86
# cd /cdrom/cdrom0/Solaris_10/Tools
# ./setup_install_server /export/home/dvdx86

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdx86 

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 /

Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see To Add Systems to Be Installed From the Network With add_install_client (DVD).

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a DVD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

Procedurex86: To Create an x86 Install Server With SPARC or x86 DVD Media


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Steps
  1. On the x86 system that is to become the install server, become superuser.

    The system must include a DVD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Insert the Solaris 10 DVD into the system's drive.

  3. Create a directory to contain the boot image.


    # mkdir -p install_dir_path
    
    install_dir_path

    Specifies the directory where the DVD image is to be copied

  4. Change to the Tools directory on the mounted disc:

    • For the Solaris 10 3/05 for x86 release, type:


      # cd /cdrom/cdrom0/s2/Solaris_10/Tools
      
    • Starting with the Solaris 10 1/06 for x86 release, type:


      # cd /cdrom/cdrom0/Solaris_10/Tools
      
    • For SPARC DVD media, type:


      # cd /cdrom/cdrom0/Solaris_10/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris OS DVD media.

  5. Copy the disc in the drive to the install server's hard disk by using the setup_install_server command:


    # ./setup_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the DVD image is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 7.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

      1. Verify that the path to the install server's image is shared appropriately.


        # share | grep install_dir_path
        
        install_dir_path

        Specifies the installation image where the DVD image was copied

        • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 7.

        • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

      2. Make the install server available to the boot server by adding this entry to the /etc/dfs/dfstab file.


        share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
        
      3. Verify that the nfsd daemon is running.

        • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


          # svcs -l svc:/network/nfs/server:default
          

          If the nfsd daemon is online, continue to Step d. If the nfsd daemon is not online, start it.


          # svcadm enable svc:/network/nfs/server
          
        • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


          # ps -ef | grep nfsd
          

          If the nfsd daemon is running, continue to Step d. If the nfsd daemon is not running, start it.


          # /etc/init.d/nfs.server start
          
      4. Share the install server.


        # shareall
        
  7. Change directories to root (/).


    # cd /
    
  8. Eject the Solaris 10 DVD.

  9. (Optional) Patch the files that are located in the miniroot on the net install image that was created by setup_install_server.

    • For the Solaris 10 SPARC and Solaris 10 3/05 x86 releases, use the patchadd -C command to patch the files that are located in the miniroot.


      # patchadd -C install_dir_path path-to-patch/patch-id
      
      install_dir_path

      Specifies the path to the network installation miniroot.

      path-to-patch

      Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

      patch-id

      Specifies the patch ID that you want to apply.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


    • Starting with the Solaris 10 1/06 for x86 release, follow these steps to patch an x86 network installation miniroot.

      1. If the installation server is not running the Solaris 10 1/06 for x86 release, log in as superuser to another system on the network that is running the Solaris 10 1/06 for x86 release.

        To patch a Solaris 10 1/06 for x86 miniroot, your system must be running the Solaris 10 1/06 for x86 release.

        If your installation server is running the Solaris 10 1/06 for x86 release, go to Step d.

      2. Change to the Tools directory of the installation image you created in Step 5.


        # cd install-server-path/install-dir-path/Solaris_10/Tools
        
        install-server-path

        Specifies the path to the install server system on your network, for example, /net/installserver-1.

      3. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


        # ./setup_install_server remote_install_dir_path
        
        remote_install_dir_path

        Specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

        This command creates a new installation image on the Solaris 10 1/06 for x86 system. In order to patch this image, you must temporarily place this image on a system that is running the Solaris 10 1/06 for x86 release.

      4. Unpack the network installation boot archive.


        # /boot/solaris/bin/root_archive unpackmedia install_dir_path \
          destination_dir
        
        install_dir_path

        Specifies the path to the x86 network installation image. If you created a new installation image in Step c, specify the path to the new image on the Solaris 10 1/06 for x86 system.

        destination_dir

        Specifies the path to the directory to contain the unpacked boot archive.

      5. Patch the unpacked boot archive.


        # patchadd -C destination_dir path-to-patch/patch-id
        
        path-to-patch

        Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

        patch-id

        Specifies the patch ID that you want to apply.

        You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).


        Caution – Caution –

        Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


      6. Pack the x86 boot archive.


        # /boot/solaris/bin/root_archive packmedia destination_dir \
          install_dir_path
        
      7. If necessary, copy the patched miniroot to the installation image on the install server.

        If you patched the miniroot on a remote Solaris 10 1/06 for x86 system, you must copy the patched miniroot to the install server.


        # cp remote_install_dir_path/boot/x86.miniroot \
          install-server-path/install_dir_path/boot/x86.miniroot
        
  10. Decide if you need to create a boot server.


Example 8–3 x86: Creating an x86 Install Server With an x86 DVD

The following examples illustrate how to create an x86 install server by copying the Solaris 10 Operating System for x86 Platforms DVD to the install server's /export/home/dvdx86 directory. This example assumes that the install server is running the Solaris 10 OS.

Choose one of the following sets of commands to set up an install server.

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdx86 

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 /


Example 8–4 Creating an x86 Install Server With a SPARC DVD

The following example illustrates how to create an x86 install server by copying the Solaris 10 Operating System for SPARC Platforms DVD to the install server's /export/home/dvdsparc directory. This example assumes that the install server is running the Solaris 10 OS.


# mkdir -p /export/home/dvdscparc
# cd /cdrom/cdrom0/Solaris_10/Tools
# ./setup_install_server /export/home/dvdsparc

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdsparc 

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 /

Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see To Add Systems to Be Installed From the Network With add_install_client (DVD).

If you are not usingDHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

Creating a Boot Server on a Subnet With a DVD Image

You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a boot server. A boot server contains enough of the boot software to boot systems from the network, and then the install server completes the installation of the Solaris software.

ProcedureTo Create a Boot Server on a Subnet With a DVD Image

Steps
  1. On the system you intend to make the boot server for the subnet, log in and become superuser.

    The system must have access to a remote Solaris 10 disc image, which is normally the install server. If you use a name service, the system should also be in a name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Mount the Solaris 10 DVD from the install server.


    # mount -F nfs -o ro server_name:path /mnt
    
    server_name:path

    Is the install server name and absolute path to the disc image

  3. Create a directory for the boot image.


    # mkdir -p boot_dir_path
    
    boot_dir_path

    Specifies the directory where the boot software is to be copied

  4. Change to the Tools directory on the Solaris 10 DVD image.


    # cd /mnt/Solaris_10/Tools
    
  5. Copy the boot software to the boot server.


    # ./setup_install_server -b boot_dir_path
    
    -b

    Specifies to set up the system as a boot server

    boot_dir_path

    Specifies the directory where the boot software is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the images. To determine available disk space, use the df -kl command.


  6. Change directories to root (/).


    # cd /
    
  7. Unmount the installation image.


    # umount /mnt
    

    You are now ready to set up systems to be installed from the network. See Adding Systems to Be Installed From the Network With a DVD Image.


Example 8–5 Creating a Boot Server on a Subnet (DVD)

The following example illustrates how to create a boot server on a subnet. These commands copy the boot software from the Solaris 10 DVD image to /export/home/dvdsparc on the local disk of a boot server named crystal.


# mount -F nfs -o ro crystal:/export/home/dvdsparc /mnt 
# mkdir -p  /export/home/dvdsparc
# cd /mnt/Solaris_10/Tools
# ./setup_install_server -b /export/home/dvdsparc
# cd /
# umount /mnt

Continuing the Installation

After you set up the boot server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a DVD Image.

See Also

For additional information about the setup_install_server command, see install_scripts(1M).

Adding Systems to Be Installed From the Network With a DVD Image

After you create an install server and, if necessary, a boot server, you must set up each system that you want to install from the network. Each system that you want to install needs to find the following:

Use the following add_install_client procedure for setting up install servers and clients. Also, see the example procedures for the following:

For more options to use with this command, see the man page, add_install_client(1M).

ProcedureTo Add Systems to Be Installed From the Network With add_install_client (DVD)

After you create an install server, you must set up each system that you want to install from the network.

Use the following add_install_client procedure for set up an x86 client to install from the network.

Before You Begin

If you have a boot server, make sure you have shared the install server installation image and started the appropriate services. See “To Create a SPARC Install Server With SPARC or x86 DVD Media” Step 6.

Each system that you want to install needs to find the following items.

Steps
  1. On the install server or boot server, become superuser.

  2. If you use the NIS, NIS+, DNS, or LDAP name service, verify that the following information about the system to be installed has been added to the name service.

    • Host name

    • IP address

    • Ethernet address

    For more information on name services, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

  3. Change to the Tools directory on the Solaris 10 DVD image:


    # cd /install_dir_path/Solaris_10/Tools
    
    install_dir_path

    Specifies the path to the Tools directory

  4. Set up the client system so it can be installed from the network.


    # ./add_install_client -d -s install_server:install_dir_path \
    -c jumpstart_server:jumpstart_dir_path  -p sysid_server:path \
    -t boot_image_path -b "boot-property=value" \
    -e ethernet_address client_name platform_group
    
    -d

    Specifies that the client is to use DHCP to obtain the network install parameters. If you use the -d only, the add_install_client command sets up the installation information for client systems of the same class, for example, all SPARC client machines. To set up the installation information for a specific client, use the -d with the -e option.

    For x86 clients, use this option to boot the systems from the network by using PXE network boot. The output of this option lists the DHCP options you need to create on the DHCP server.

    For more information about class-specific installations by using DHCP, see Creating DHCP Options and Macros for Solaris Installation Parameters.

    -s install_server:install_dir_path

    Specifies the name and path to the install server.

    • install_server is the host name of the install server.

    • install_dir_path is the absolute path to the Solaris 10 DVD image.

    -c jumpstart_server:jumpstart_dir_path

    Specifies a JumpStart directory for custom JumpStart installations. jumpstart_server is the host name of the server on which the JumpStart directory is located. jumpstart_dir_path is the absolute path to the JumpStart directory.

    -p sysid_server:path

    Specifies the path to the sysidcfg file for preconfiguring system information. sysid_server is either a valid host name or an IP address for the server that contains the file. path is the absolute path to the directory containing the sysidcfg file.

    -t boot_image_path

    Specifies the path to an alternate boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 10 net installation image, CD, or DVD.

    -bboot-property=value

    x86 based systems only: Enables you to set the value of a boot property variable that you want to use to boot the client from the network. The -b option must be used with the -e option.

    See the eeprom(1M) man page for descriptions of boot properties.

    -e ethernet_address

    Specifies the Ethernet address of the client that you want to install. This option enables you to set up the installation information to use for a specific client, including a boot file for that client.

    For the Solaris 10 3/05 release, and compatible versions, the -e option creates a boot file with the prefix nbp.. For example, if you specify -e 00:07:e9:04:4a:bf for an x86 based client, the command creates the boot file nbp.010007E9044ABF.i86pc.

    Starting with the Solaris 10 1/06 for x86 release, the nbp. prefix is not used in boot file names. For example, if you specify -e 00:07:e9:04:4a:bf for an x86 based client, the command creates the boot file 010007E9044ABF.i86pc in the /tftpboot directory. However, the Solaris 10 1/06 release supports the use of legacy boot files with the nbp. prefix.

    For more information about client-specific installations by using DHCP, see Creating DHCP Options and Macros for Solaris Installation Parameters.

    client_name

    Is the name of the system to be installed from the network. This name is not the host name of the install server.

    platform_group

    Is the platform group of the system to be installed. For more information, see Platform Names and Groups.


Example 8–6 SPARC: Adding a SPARC Install Client on a SPARC Install Server When Using DHCP (DVD)

The following example illustrates how to add an install client when you are using DHCP to set installation parameters on the network. The install client is named basil, which is an UltraTM 5 system. The file system /export/home/dvdsparc/Solaris_10/Tools contains the add_install_client command.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).


sparc_install_server# cd /export/home/dvdsparc/Solaris_10/Tools
sparc_install_server# ./add_install_client -d basil sun4u


Example 8–7 Adding an Install Client That Is On the Same Subnet As Its Server (DVD)

The following example illustrates how to add an install client that is on the same subnet as the install server. The install client is named basil, which is an Ultra 5 system. The file system /export/home/dvdsparc/ contains the add_install_client command.


install_server# cd /export/home/dvdsparc/Solaris_10/Tools
install_server# ./add_install_client basil sun4u


Example 8–8 Adding an Install Client to a Boot Server (DVD)

The following example illustrates how to add an install client to a boot server. The install client is named rose, which is an Ultra 5 system. Run the command on the boot server. The -s option is used to specify an install server that is named rosemary, which contains a Solaris 10 Operating System for SPARC Platforms DVD image in /export/home/dvdsparc.


boot_server# cd /export/home/dvdsparc/Solaris_10/Tools
boot_server# ./add_install_client -s rosemary:/export/home/dvdsparc rose sun4u


Example 8–9 Solaris 10 3/05 for x86: Adding an x86 Install Client on an x86 Install Server When Using DHCP (DVD)

For the Solaris 10 3/05 release, you need to specify the SUNW.i86pc class name when you add an x86 based system as a DHCP install client. The following example illustrates how to add an x86 install client to an install server when you are using DHCP to set installation parameters on the network. The -d option is used to specify that clients are to use the DHCP protocol for configuration. If you plan to use PXE network boot, you must use the DHCP protocol. The DHCP class name SUNW.i86pc indicates that this command applies to all Solaris x86 network boot clients, not just a single client. The -s option is used to specify that the clients are to be installed from the install server that is named rosemary. This server contains a Solaris 10 Operating System for x86 Platforms DVD image in /export/home/dvdx86.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).


x86_install_server# cd /export/boot/dvdx86/Solaris_10/Tools
x86_install_server# ./add_install_client -d -s rosemary:/export/home/dvdx86 \
SUNW.i86pc i86pc


Example 8–10 x86: Adding a Single x86 Install Client on an x86 Install Server When Using DHCP (DVD)

Starting with the Solaris 10 1/06 release, the GRUB bootloader does not use the SUNW.i86pc DHCP class name. The following example illustrates how to add an x86 install client to an install server when you are using DHCP to set installation parameters on the network. The -d option is used to specify that clients are to use the DHCP protocol for configuration. If you plan to use PXE network boot, you must use the DHCP protocol. The -e option indicates that this installation will only occur on the client with the Ethernet address 00:07:e9:04:4a:bf . The -s option is used to specify that the clients are to be installed from the install server that is named rosemary. This server contains a Solaris 10 Operating System for x86 Platforms DVD image in /export/home/dvdx86.


x86_install_server# cd /export/boot/dvdx86/Solaris_10/Tools
x86_install_server# ./add_install_client -d -e 00:07:e9:04:4a:bf \ 
-s rosemary:/export/home/dvdx86 i86pc

The previous commands set up the client with the Ethernet address 00:07:e9:04:4a:bf as an installation client. The boot file 010007E9044ABF.i86pc is created on the installation server. In previous releases, this boot file was named nbp.010007E9044ABF.i86pc.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).



Example 8–11 x86: Specifying a Serial Console to Use During a Network Installation (DVD)

The following example illustrates how to add an x86 install client to an install server and specify a serial console to use during the installation. This example sets up the install client in the following manner.

Choose one of the following sets of commands to add the client.

For a complete description of the boot property variables and values you can use with the -b option, see the eeprom(1M) man page.



Example 8–12 Solaris 10 3/05 for x86: Specifying a Boot Device to Use During a Network Installation (DVD)

For the Solaris 10 3/05 release, you can specify the boot device to use during the installation of x86 client systems. The following example illustrates how to add an x86 install client to an install server and specify a boot device to use during the installation. If you specify the boot device when you set up the install client, you are not prompted for this information by the Device Configuration Assistant during the installation.

This example sets up the install client in the following manner.


install server# cd /export/boot/dvdx86/Solaris_10/Tools
install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \
-b "input-device=ttya" -b "output-device=ttya" \
-b "bootpath=/pci@0,0/pci108e,16a8@8" i86pc

For a complete description of the boot property variables and values you can use with the -b option, see the eeprom(1M) man page.


Continuing the Installation

If you are using a DHCP server to install the x86 based client over the network, configure the DHCP server and create the options and macros that are listed in the output of the add_install_client -d command. For instructions about how to configure a DHCP server to support network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).

x86 based systems: If you are not using a DHCP server, you must boot the system from a local Solaris OS DVD or , CD, or, for the Solaris 10 3/05 release, a boot diskette. For instructions about how to create a boot diskette, see Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette.

See Also

For additional information about the add_install_client command, see install_scripts(1M).

Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette

For the Solaris 10 3/05 release, the Solaris 10 3/05 Device Configuration Assistant enables you to perform various hardware configuration and booting tasks. The Solaris 10 3/05 Device Configuration Assistant image is found in the Tools directory of either the Solaris 10 Operating System for x86 Platforms DVD or the Solaris 10 Software for x86 Platforms - 2 CD.


Note –

Starting with the Solaris 10 1/06 release, the Solaris 10 3/05 Device Configuration Assistant is not included with the Solaris OS.


You must create a boot diskette under either the following circumstances.

Use the following procedure to copy the boot image to a 3.5 diskette.


Note –

You can boot directly from DVD or CD media or by using a net image with PXE. For information on these methods of booting, see x86: Overview of Booting and Installing Over the Network With PXE.


Procedurex86: To Copy the Boot Software to a Diskette


Note –

This procedure assumes that the system is running Volume Manager. If you are not using Volume Manager to manage diskettes and discs, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without Volume Manager.


Steps
  1. Log in as superuser on an x86 based system to which a diskette drive is attached.

  2. On the system with the DVD-ROM or CD-ROM drive, insert the Solaris 10 Operating System for x86 Platforms DVD or the Solaris 10 Software for x86 Platforms - 2 CD in the drive.

    The Volume Manager mounts the disc.

  3. Change to the directory that contains the boot image.

    • For DVD media, type:


      # cd /cdrom/sol_10_x86/s2/Solaris_10/Tools
      
    • For CD media, type:


      # cd /cdrom/sol_10_x86/Solaris_10/Tools
      
  4. Insert a blank diskette or a diskette that can be overwritten in the diskette drive.

  5. Notify Volume Manager to check for new media.


    # volcheck
    
  6. Format the diskette:


    Caution – Caution –

    Formatting erases all data on the diskette.



    # fdformat -d -U
    
  7. Copy the file to the diskette.


    # dd if=d1_image of=/vol/dev/aliases/floppy0 bs=36k
    
  8. Eject the diskette by typing eject floppy at the command line, and then manually ejecting the diskette from the drive.

Continuing the Installation

To install the Solaris OS over the network, see Solaris 10 3/05 for x86: To Boot the Client Over the Network (DVD).

Booting and Installing the System From the Network With a DVD Image

After you add the system as an installation client, you can install the client from the network. This section describes the following tasks.

ProcedureSPARC: To Boot the Client Over the Network (DVD)

Before You Begin

This procedure assumes that you have completed the following tasks.

Steps
  1. Turn on the client system.

    If the system is currently running, bring the system to run level 0.

    The ok prompt is displayed.

  2. Boot the system from the network.

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


      ok boot net - install
      
    • To install with the Solaris interactive text installer in a desktop session, type the following command.


      ok boot net - text
      
    • To install with the Solaris interactive text installer in a console session, type the following command.


      ok boot net - nowin
      

    The system boots from the network.

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

    If you are using the GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

  4. If you are prompted, answer any additional questions to complete your installation.

    • If you preconfigured all of the installation options, the installation program does not prompt you to enter any installation information. See Chapter 6, Preconfiguring System Configuration Information (Tasks) for more information.

    • If you did not preconfigure all the installation options, use the Checklist for Installation to help you answer the installation questions.

    • If you are upgrading a system that has non-global zones installed, follow these steps.

      1. When you are prompted to select initial installation or upgrade, choose Upgrade. Click Next.

      2. If your system has multiple root (/) partitions, select the partition that you want to upgrade on the Select Version to Upgrade panel.

        The Solaris installation program displays a message that indicates that you cannot customize your upgrade. The Solaris installation program analyzes your system to determine if the system can be upgraded. The Ready to Upgrade panel is displayed.

        If your system has only one root partition, the Solaris installation program does not prompt you to select a partition to upgrade. The partition is automatically selected.

      3. If you want to continue the upgrade, click Install Now on the Ready to Upgrade panel.

        The Solaris installation program begins to upgrade your system.

        If you do not want to continue the upgrade, click Back to perform an initial installation.

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

ProcedureSolaris 10 3/05 for x86: To Boot the Client Over the Network (DVD)

For the Solaris 10 3/05 release, follow this procedure to install an x86 based system over the network.

Starting with the Solaris 10 1/06 release, the Solaris installation programs for x86 based systems use the GRUB boot loader. For instructions about how to install the Solaris OS over the network with GRUB, see x86: To Boot the Client Over the Network With GRUB (DVD).

To install the system over the network, you must instruct the client system to boot over the network. Enable network boot on the client system by using the BIOS setup program in the system BIOS, the network adapter BIOS, or both. On some systems, you must also adjust the boot device priority list so that network boot is attempted before booting from other devices. See the manufacturer's documentation for each setup program, or watch for setup program instructions during boot.

Before You Begin

This procedure assumes that you have completed the following tasks.

This procedure also assumes that your system can boot from the network. If your system cannot boot from the network, you must create a boot diskette to install over the network. See Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette for information about how to create a boot diskette.

Steps
  1. Turn on the system.

  2. Type the appropriate keystroke combination to enter the system BIOS.

    Some PXE-capable network adapters have a feature that enables PXE boot if you type a particular keystroke in response to a brief boot-time prompt.

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

    See your hardware documentation for information about how to set the boot priority in the BIOS.

  4. Exit the BIOS.

    The system boots from the network.

  5. When prompted, select an installation type.

    • To install with the Solaris interactive installation GUI, type 1 and Enter.

    • To perform a custom JumpStart installation, type 2 and Enter.

    • To install with the Solaris interactive text installer in a desktop session, type 3 and Enter.

    • To install with the Solaris interactive text installer in a console session, type 4 and Enter.

    The installation program begins.

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

    If you are using the installation GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

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

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

Procedurex86: To Boot the Client Over the Network With GRUB (DVD)

Starting with the Solaris 10 1/06 release, the Solaris installation programs for x86 based systems use the GRUB boot loader. This procedure describes how to install an x86 based system over the network with the GRUB boot loader. For overview information about the GRUB boot loader, see Chapter 4, x86: GRUB Based Booting For Solaris Installation.

For the Solaris 10 3/05 release, see Solaris 10 3/05 for x86: To Boot the Client Over the Network (DVD) for instructions about how to install the Solaris OS over the network.

To install the system over the network, you must instruct the client system to boot over the network. Enable network boot on the client system by using the BIOS setup program in the system BIOS, the network adapter BIOS, or both. On some systems, you must also adjust the boot device priority list so that network boot is attempted before booting from other devices. See the manufacturer's documentation for each setup program, or watch for setup program instructions during boot.

Before You Begin

This procedure assumes that you have completed the following tasks.

This procedure also assumes that your system can boot from the network.


Note –

If you are upgrading a system that has non-global zones installed, you cannot customize your upgrade.


Steps
  1. Turn on the system.

  2. Type the appropriate keystroke combination to enter the system BIOS.

    Some PXE-capable network adapters have a feature that enables PXE boot if you type a particular keystroke in response to a brief boot-time prompt.

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

    See your hardware documentation for information about how to set the boot priority in the BIOS.

  4. Exit the BIOS.

    The system boots from the network. The GRUB menu is displayed.


    Note –

    The GRUB menu that is displayed on your system might vary from the following sample, depending on the configuration of your network installation server.



    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris 10 /sol_10_x86                                                  |
    |                                                                         |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.
  5. Select the appropriate installation option.

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

      Select this entry if you want to install from the network installation server you set up in x86: To Create an x86 Install Server With SPARC or x86 DVD Media.

    • To install the Solaris OS from the network with specific boot arguments, follow these steps.

      You might need to set specific boot arguments if you want to modify the device configuration during the installation, and did not set these boot arguments previously with the add_install_client command as described in To Add Systems to Be Installed From the Network With add_install_client (DVD).

      1. On the GRUB menu, select the installation option you want to edit, then press e.

        Boot commands that are similar to the following text are displayed in the GRUB menu.


        kernel /I86pc.Solaris_10/multiboot kernel/unix \
        -B install_media=192.168.2.1:/export/sol_10_x86/boot \
        module /platform/i86pc/boot_archive
      2. Use the arrow keys to select the boot entry that you want to edit, then press e.

        The boot command that you want to edit is displayed in the GRUB edit window.

      3. Edit the command by typing the boot arguments or options you want to use.

        The command syntax for the Grub edit menu is as follows.


        grub edit>kernel /image_directory/multiboot kernel/unix/ \
        install [url|ask] -B options install_media=media_type
        

        For information about boot arguments and command syntax, see Table 10–1.

      4. To accept your edits and return to the GRUB menu, press Enter.

        The GRUB menu is displayed. The edits you made to the boot command are displayed.

      5. To begin the installation, type b in the GRUB menu.

    The Solaris installation program checks the default boot disk for the requirements to install or upgrade the system. If the Solaris installation cannot detect the system configuration, the program prompts you for any missing information.

    When the check is completed, the installation selection screen is displayed.

  6. Select an installation type.

    The installation selection screen displays the following options.


          Select the type of installation you want to perform:
    
             1 Solaris Interactive
             2 Custom JumpStart
             3 Solaris Interactive Text (Desktop session)
             4 Solaris Interactive Text (Console session)
             5 Apply driver updates
             6 Single user shell
    
             Enter the number of your choice followed by the <ENTER> key.
             Alternatively, enter custom boot arguments directly.
    
             If you wait 30 seconds without typing anything,
             an interactive installation will be started.
    • To install the Solaris OS, choose from the following options.

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

      • To install with the interactive text installer in a desktop session, type 3, then press Enter.

        Select this installation type to override the default GUI installer and run the text installer.

      • To install with the interactive text installer in a console session, type 4, then press Enter.

        Select this installation type to override the default GUI installer and run the text installer.

      If you want to perform an unattended custom JumpStart installation (option 2), see Solaris 10 Installation Guide: Custom JumpStart and Advanced Installations.

      For detailed information about the Solaris installation GUI and text installer, see System Requirements and Recommendations.

      The system configures the devices and interfaces, and searches for configuration files. The kdmconfig utility detects the drivers that are necessary to configure the keyboard, display, and mouse on your system. The installation program begins. Go to Step 7 to continue the installation.

    • To perform system administration tasks before your installation, choose from the following options.

      • To update drivers or install an install time update (ITU), insert the update media, type 5, then press Enter.

        You might need to update drivers or install an ITU to enable the Solaris OS to run on your system. Follow the instructions for your driver update or ITU to install the update.

      • To perform system administration tasks, type 6, then press Enter.

        You might want to launch a single user shell if you need to perform any system administration tasks on your system before you install. For information about system administration tasks you can perform prior to installation, see System Administration Guide: Basic Administration.

      After you perform these system administration tasks, the previous list of options is displayed. Select the appropriate option to continue the installation.

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

    If you are using the installation GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

  8. If you are prompted, answer any additional questions to complete your installation.

    • If you preconfigured all of the installation options, the installation program does not prompt you to enter any installation information. See Chapter 6, Preconfiguring System Configuration Information (Tasks) for more information.

    • If you did not preconfigure all the installation options, use the Checklist for Installation to help you answer the installation questions.

    • If you are upgrading a system that has non-global zones installed, follow these steps.

      1. When you are prompted to select initial installation or upgrade, choose Upgrade. Click Next.

      2. If your system has multiple root (/) partitions, select the partition that you want to upgrade on the Select Version to Upgrade panel.

        The Solaris installation program displays a message that indicates that you cannot customize your upgrade. The Solaris installation program analyzes your system to determine if the system can be upgraded. The Ready to Upgrade panel is displayed.

        If your system has only one root partition, the Solaris installation program does not prompt you to select a partition to upgrade. The partition is automatically selected.

      3. If you want to continue the upgrade, click Install Now on the Ready to Upgrade panel.

        The Solaris installation program begins to upgrade your system.

        If you do not want to continue the upgrade, click Back to perform an initial installation.

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

Next Steps

If you install multiple operating systems on your machine, you need to instruct the GRUB boot loader to recognize these operating systems in order to boot. For more information, see Modifying the Solaris Boot Behavior by Editing the GRUB Menu in System Administration Guide: Basic Administration.

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

Chapter 9 Preparing to Install From the Network With CD Media (Tasks)

This chapter describes how to use CD media to set up your network and systems to install the Solaris software from the network. Network installations enable you to install the Solaris software from a system that has access to the Solaris 10 disc images, called an install server, to other systems on the network. You copy the contents of the CD media to the install server's hard disk. Then, you can install the Solaris software from the network by using any of the Solaris installation methods. This chapter covers the following topics:

Task Map: Preparing to Install From the Network With CD Media

Table 9–1 Task Map: Setting Up an Install Server With CD Media

Task 

Description 

For Instructions 

(x86 only): Verify that your system supports PXE. 

If you want to install an x86 based system over the network, confirm that your machine can use PXE to boot without local boot media. 

If your x86 based system does not support PXE, you must boot the system from a local DVD,CD, or, for the Solaris 10 3/05 release, a boot diskette. 

Check your hardware manufacturer's documentation or the system BIOS. 

Choose an installation method. 

The Solaris OS provides several methods for installation or upgrade. Choose the installation method that is most appropriate for your environment. 

Choosing a Solaris Installation Method

Gather information about your system. 

Use the checklist and complete the worksheet to collect all of the information that you need to install or upgrade. 

Chapter 5, Gathering Information Before Installation or Upgrade (Planning)

(Optional) Preconfigure system information. 

You can preconfigure system information to avoid being prompted for the information during the installation or upgrade. 

Chapter 6, Preconfiguring System Configuration Information (Tasks)

Create an install server.

Use the setup_install_server(1M) command to copy the Solaris 10 Software - 1 CD to the install server's hard disk.

Use the add_to_install_server(1M) command to copy additional Solaris 10 Software CDs and the Solaris 10 Languages CD to the install server's hard disk.

(Optional) Create boot servers.

If you want to install systems from the network that are not on the same subnet as the install server, you must create a boot server on the subnet to boot the systems. Use the setup_install_server command with the -b option to set up a boot server.If you are using Dynamic Host Configuration Protocol (DHCP), a boot server is not necessary.

Creating a Boot Server on a Subnet With a CD Image

Add systems to be installed from the network.

Use the add_install_client command to set up each system that you want to install from the network. Each system that you want to install needs to find the install server, the boot server if required, and configuration information on the network.

Adding Systems to Be Installed From the Network With a CD Image

(Optional) Configure the DHCP server.

If you want to use DHCP to provide system configuration and installation parameters, configure the DHCP server, then create the appropriate options and macros for your installation. 


Note –

If you want to install an x86 based system from the network with PXE, you must either configure a DHCP server, or, for the Solaris 10 3/05release, create a boot diskette.


Chapter 13, Planning for DHCP Service (Tasks), in System Administration Guide: IP Services

Preconfiguring System Configuration Information With the DHCP Service (Tasks)

Solaris 10 3/05 for x86: Create a boot diskette.

If your system cannot boot from the network or from a local CD or DVD, you must create a boot diskette. 


Note –

The boot diskette is not included in the Solaris 10 1/06 release.


Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette

Install the system over the network. 

Begin the installation by booting the system from the network. 

Booting and Installing the System From the Network With a CD Image

SPARC: Creating a SPARC Install Server With CD Media

The install server contains the installation image needed to install systems from the network. You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a separate boot server.

ProcedureSPARC: To Create a SPARC Install Server With SPARC or x86 CD Media

For the Solaris 10 3/05 release, use this procedure to create a SPARC install server with SPARC CD media. If you want to create an install server by using media of a platform different from the install server, for example, a SPARC system with x86 CD media, see Creating a Cross-Platform Install Server for CD Media.

Starting with the Solaris 10 1/06 release, use this procedure to create a SPARC install server with SPARC or x86 CD media.


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Before You Begin

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).

Steps
  1. On the system that is to become the install server, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must already be in a name service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this system by following your site's policies.

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

  3. Create a directory for the CD image.


    # mkdir -p install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  4. Change to the Tools directory on the mounted disc.

    • If you are creating an installation image from the Solaris 10 Software for SPARC Platforms - 1 CD, type the following command


      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      
    • If you are creating an installation image from the Solaris 10 1/06 for x86 Platforms – 1 CD, type the following command.


      # cd /cdrom/cdrom0/Solaris_10/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris OS CD media.

  5. Copy the image in the drive to the install server's hard disk.


    # ./setup_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 7.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

      1. Verify that the path to the install server's image is shared appropriately.


        # share | grep install_dir_path
        
        install_dir_path

        Specifies the path to the installation image where the CD image was copied

        • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 7.

        • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

      2. Make the install server available by adding this entry to the /etc/dfs/dfstab file.


        share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
        
      3. Verify that the nfsd daemon is running.

        • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


          # svcs -l svc:/network/nfs/server:default
          

          If the nfsd daemon is online, continue to Step d. If the nfsd daemon is not online, start it.


          # svcadm enable svc:/network/nfs/server
          
        • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


          # ps -ef | grep nfsd
          

          If the nfsd daemon is running, continue to Step d. If the nfsd daemon is not running, start it.


          # /etc/init.d/nfs.server start
          
      4. Share the install server.


        # shareall
        
  7. Change directories to root (/).


    # cd /
    
  8. Eject the Solaris 10 Software - 1 CD.

  9. Insert the Solaris 10 Software - 2 CD in the system's CD-ROM drive.

  10. Change to the Tools directory on the mounted CD.

    1. If you are creating an installation image from the Solaris 10 Software for SPARC Platforms - 1 CD, type the following command


      # cd /cdrom/cdrom0/s0/Solaris_10/Tools
      
    2. If you are creating an installation image from the Solaris 10 1/06 for x86 Platforms – 1 CD, type the following command.


      # cd /cdrom/cdrom0/Solaris_10/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris OS CD media.

  11. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  12. Change directories to root (/).


    # cd /
    
  13. Eject the Solaris 10 Software - 2 CD.

  14. Repeat Step 9 through Step 13 for each Solaris 10 Software CD that you want to install.

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

  16. Change to the Tools directory on the mounted CD.


    # cd /cdrom/cdrom0/Tools
    
  17. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  18. Change directories to root (/).


    # cd /
    
  19. (Optional) Patch the files that are located in the miniroot on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.

    • For the Solaris 10 SPARC and Solaris 10 3/05 x86 releases, use the patchadd -C command to patch the files that are located in the miniroot.


      # patchadd -C install_dir_path path-to-patch/patch-id
      
      install_dir_path

      Specifies the path to the network installation miniroot.

      path-to-patch

      Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

      patch-id

      Specifies the patch ID that you want to apply.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


    • Starting with the Solaris 10 1/06 for x86 release, follow these steps to patch an x86 network installation miniroot.


      Note –

      These steps assume that you have a system on your network that is running the Solaris 10 1/06 for x86 release, and that system is accessible over the network.


      1. On a system that is running the Solaris 10 1/06 for x86 release, log in as superuser.

      2. Change to the Tools directory of the installation image you created in Step 4.


        # cd install-server-path/install-dir-path/Solaris_10/Tools
        
        install-server-path

        Specifies the path to the install server system on your network, for example, /net/installserver-1.

      3. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


        # ./setup_install_server remote_install_dir_path
        
        remote_install_dir_path

        Specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

        This command creates a new installation image on the Solaris 10 1/06 for x86 system. In order to patch this image, you must temporarily place this image on a system that is running the Solaris 10 1/06 for x86 release.

      4. On the Solaris 10 1/06 for x86 system, unpack the network installation boot archive.


        # /boot/solaris/bin/root_archive unpackmedia remote_install_dir_path \
          destination_dir
        
        remote_install_dir_path

        Specifies the path to the x86 network installation image on the Solaris 10 1/06 for x86 system.

        destination_dir

        Specifies the path to the directory to contain the unpacked boot archive.

      5. On the Solaris 10 1/06 for x86 system, patch the unpacked boot archive.


        # patchadd -C destination_dir path-to-patch/patch-id
        
        path-to-patch

        Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

        patch-id

        Specifies the patch ID that you want to apply.

        You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).


        Caution – Caution –

        Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


      6. On the Solaris 10 1/06 for x86 system, pack the x86 boot archive.


        # /boot/solaris/bin/root_archive packmedia destination_dir \
          remote_install_dir_path
        
      7. Copy the patched miniroot to the installation image on the install server.


        # cp remote_install_dir_path/boot/x86.miniroot \
          install-server-path/install_dir_path/boot/x86.miniroot
        
  20. Decide if you need to create a boot server.


Example 9–1 SPARC: Creating a SPARC Install Server With SPARC CD Media

The following example illustrates how to create an install server by copying the following CDs to the install server's /export/home/cdsparc directory. This example assumes that the install server is running the Solaris 10 OS.

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


# mkdir -p /export/home/cdsparc
# cd /cdrom/cdrom0/s0/Solaris_10/Tools
# ./setup_install_server /export/home/cdsparc

# cd /

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


# cd /cdrom/cdrom0/Solaris_10/Tools
# ./add_to_install_server /export/home/cdsparc
# cd /

Repeat the previous commands for each Solaris 10 Software CD that you want to install.

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


# cd /cdrom/cdrom0/Tools
# ./add_to_install_server /export/home/cdsparc


Example 9–2 Creating a SPARC Install Server With x86 CD Media

Starting with the Solaris 10 1/06 release, use the following example to create an x86 network installation image on a SPARC based install server. The following example illustrates how to create a cross platform install server by copying the Solaris 10 Software for x86 Platforms CDs to the install server's /export/home/cdx86 directory. This example assumes that the install server is running the Solaris 10 OS.

For the Solaris 10 3/05 release, see Creating a Cross-Platform Install Server for CD Media to create an x86 network installation image on a SPARC based server.

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


# mkdir -p /export/home/cdsparc
# cd /cdrom/cdrom0/Solaris_10/Tools
# ./setup_install_server /export/home/cdsparc

# cd /

Eject the Solaris 10 Software for x86 Platforms - 1 CD. Insert the Solaris 10 Software for x86 Platforms - 2 CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Solaris_10/Tools
# ./add_to_install_server /export/home/cdsparc
# cd /

Repeat the previous commands for each Solaris 10 Software for x86 Platforms CD that you want to install.

Insert the Solaris 10 Languages for x86 Platforms CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Tools
# ./add_to_install_server /export/home/cdsparc

Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

x86: Creating an x86 Install Server With CD Media

The install server contains the installation image needed to install systems from the network. You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a separate boot server.

Procedurex86: To Create an x86 Install Server With x86 CD Media

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

If you want to create an x86 network installation image on a SPARC based system, see the following topics..


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Before You Begin

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).

Steps
  1. On the system that is to become the install server, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must already be in a name service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this system by following your site's policies.

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

  3. Create a directory for the CD image.


    # mkdir -p install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  4. Change to the Tools directory on the mounted disc.

    • For the Solaris 10 3/05 release, type the following command.


      # cd /cdrom/cdrom0/s2/Solaris_10/Tools
      
    • Starting with the Solaris 10 1/06 release, type the following command.


      # cd /cdrom/cdrom0/Solaris_10/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris OS CD media.

  5. Copy the image in the drive to the install server's hard disk.


    # ./setup_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 7.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

      1. Verify that the path to the install server's image is shared appropriately.


        # share | grep install_dir_path
        
        install_dir_path

        Specifies the path to the installation image where the CD image was copied

        • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 7.

        • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

      2. Make the install server available by adding this entry to the /etc/dfs/dfstab file.


        share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
        
      3. Verify that the nfsd daemon is running.

        • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


          # svcs -l svc:/network/nfs/server:default
          

          If the nfsd daemon is online, continue to Step d. If the nfsd daemon is not online, start it.


          # svcadm enable svc:/network/nfs/server
          
        • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


          # ps -ef | grep nfsd
          

          If the nfsd daemon is running, continue to Step d. If the nfsd daemon is not running, start it.


          # /etc/init.d/nfs.server start
          
      4. Share the install server.


        # shareall
        
  7. Change directories to root (/).


    # cd /
    
  8. Eject the Solaris 10 Software - 1 CD.

  9. Insert the Solaris 10 Software - 2 CD in the system's CD-ROM drive.

  10. Change to the Tools directory on the mounted CD:


    # cd /cdrom/cdrom0/Solaris_10/Tools
    
  11. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  12. Change directories to root (/).


    # cd /
    
  13. Eject the Solaris 10 Software - 2 CD.

  14. Repeat Step 9 through Step 13 for each Solaris 10 Software CD that you want to install.

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

  16. Change to the Tools directory on the mounted CD:


    # cd /cdrom/cdrom0/Tools
    
  17. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  18. Change directories to root (/).


    # cd /
    
  19. Patch the files that are located in the miniroot on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.

    • For the Solaris 10 3/05 for x86 release, use the patchadd -C command to patch the files that are located in the miniroot.


      # patchadd -C install_dir_path path-to-patch/patch-id
      
      install_dir_path

      Specifies the path to the network installation miniroot.

      path-to-patch

      Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

      patch-id

      Specifies the patch ID that you want to apply.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


    • Starting with the Solaris 10 1/06 for x86 release, follow these steps to patch an x86 network installation miniroot.

      1. If the installation server is not running the Solaris 10 1/06 for x86 release, log in as superuser to another system on the network that is running the Solaris 10 1/06 for x86 release.

        To patch a Solaris 10 1/06 for x86 miniroot, your system must be running the Solaris 10 1/06 for x86 release.

        If your installation server is running the Solaris 10 1/06 for x86 release, go to Step d.

      2. Change to the Tools directory of the installation image you created in Step 5.


        # cd install-server-path/install-dir-path/Solaris_10/Tools
        
        install-server-path

        Specifies the path to the install server system on your network, for example, /net/installserver-1.

      3. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


        # ./setup_install_server remote_install_dir_path
        
        remote_install_dir_path

        Specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

        This command creates a new installation image on the Solaris 10 1/06 for x86 system. In order to patch this image, you must temporarily place this image on a system that is running the Solaris 10 1/06 for x86 release.

      4. Unpack the network installation boot archive.


        # /boot/solaris/bin/root_archive unpackmedia install_dir_path \
          destination_dir
        
        install_dir_path

        Specifies the path to the x86 network installation image. If you created a new installation image in Step c, specify the path to the new image on the Solaris 10 1/06 for x86 system.

        destination_dir

        Specifies the path to the directory to contain the unpacked boot archive.

      5. Patch the unpacked boot archive.


        # patchadd -C destination_dir path-to-patch/patch-id
        
        path-to-patch

        Specifies the path to the patch that you want to add, for example, /var/sadm/spool.

        patch-id

        Specifies the patch ID that you want to apply.

        You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).


        Caution – Caution –

        Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


      6. Pack the x86 boot archive.


        # /boot/solaris/bin/root_archive packmedia destination_dir \
          install_dir_path
        
      7. If necessary, copy the patched miniroot to the installation image on the install server.

        If you patched the miniroot on a remote Solaris 10 1/06 for x86 system, you must copy the patched miniroot to the install server.


        # cp remote_install_dir_path/boot/x86.miniroot \
          install-server-path/install_dir_path/boot/x86.miniroot
        
  20. Decide if you need to create a boot server.


Example 9–3 x86: Creating an x86 Install Server With x86 CD Media

The following examples illustrate how to create an install server by copying the following CDs to the install server's /export/home/cdx86 directory. This example assumes that the install server is running the Solaris 10 OS.

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

Choose one of the following sets of commands to set up an install server.


# cd /

Eject the Solaris 10 Software for x86 Platforms - 1 CD. Insert the Solaris 10 Software for x86 Platforms - 2 CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Solaris_10/Tools
# ./add_to_install_server /export/home/cdx86
# cd /

Repeat the previous commands for each Solaris 10 Software CD that you want to install.

Insert the Solaris 10 Languages for x86 Platforms CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Tools
# ./add_to_install_server /export/home/cdx86

Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

Creating a Cross-Platform Install Server for CD Media

For the Solaris 10 3/05 release, if you need to use a CD of a platform different from the install server, you cannot read the CD in the install server. You need a remote system to read the CD. For example, if you are setting up a SPARC install server and need to use x86 CD media, you need a remote x86 system to read the CDs.

Starting with the Solaris 10 1/06 release, a remote x86 system is not required to create a SPARC install server with x86 CD media. See SPARC: To Create a SPARC Install Server With SPARC or x86 CD Media for more information.

ProcedureTo Create an x86 Install Server on a SPARC System With x86 CD Media

For the Solaris 10 3/05 release, use this procedure to create an x86 install server on a SPARC system with x86 CD media.


Note –

Starting with the Solaris 10 1/06 release, a remote x86 system is not required to create a SPARC install server with x86 CD media. See SPARC: To Create a SPARC Install Server With SPARC or x86 CD Media for more information.


In this procedure, SPARC-system is the SPARC system that is to be the install server and remote-x86-system is the remote x86 system to be used with the x86 CD media.

Before You Begin

You need the following items to perform this task.

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Steps
  1. On the remote x86 system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote x86 system, insert the Solaris 10 Software for x86 Platforms - 1 CD into the system's drive.

  3. On the remote x86 system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
    
  4. On the remote x86 system, start the NFS daemon.

    • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


      remote-x86-system# svcadm enable svc:/network/nfs/server
      
    • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


      remote-x86-system# /etc/init.d/nfs.server start
      
  5. On the remote x86 system, verify that the CD is available to other systems by using the share command.


    remote-x86-system# share
    -   /cdrom/sol_10_x86/s0 ro,anon=0 " "
    -   /cdrom/sol_10_x86/s2 ro,anon=0 " "

    In the previous sample output, sol_10_x86 refers to the Solaris 10 OS on x86 based systems. This text string varies for each version of the Solaris OS.

  6. On the SPARC system that is to be the x86 install server, become superuser.

  7. Verify that the CD is properly exported on the remote x86 system.


    SPARC-system# showmount -e remote-x86-system
    export list for remote-x86-system:
    /cdrom/sol_10_x86/s0 (everyone)
    /cdrom/sol_10_x86/s2 (everyone)
  8. On the SPARC system, change to the Tools directory on the mounted disc:


    SPARC-system# cd \/net/remote-x86-system/cdrom/sol_10_x86/s2/Solaris_10/Tools
    
  9. On the SPARC system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    SPARC-system# ./setup_install_server  install_dir_path
    
    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty.


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  10. On the SPARC system, change to the top directory.


    SPARC-system# cd /
    
  11. On the SPARC system, unmount both directories.


    SPARC-system# umount /net/remote-x86-system/cdrom/sol_10_x86/s0
    

    SPARC-system# umount /net/remote-x86-system/cdrom/sol_10_x86/s2
    
  12. On the x86 system, unshare both CD-ROM slices.


    remote x86  system# unshare /cdrom/sol_10_x86/s0
    

    remote x86  system# unshare /cdrom/sol_10_x86/s2
    
  13. On the x86 system, eject the Solaris 10 Software for x86 Platforms - 1 CD.

  14. Insert the Solaris 10 Software for x86 Platforms - 2 CD into the SPARC system's CD-ROM drive.

  15. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC-system# cd /cdrom/cdrom0/Solaris_10/Tools
    
  16. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC-system# ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  17. Eject the Solaris 10 Software for x86 Platforms - 2 CD.

  18. Repeat Step 14 through Step 17 for each Solaris 10 Software CD you want to install.

  19. On the SPARC system, insert the Solaris 10 Languages for x86 Platforms CD into the SPARC system's CD-ROM drive and mount the CD.

  20. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC-system# cd /cdrom/cdrom0/Tools
    
  21. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC-system# ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  22. Decide if you want to patch the files that are located in the miniroot (Solaris_10/Tools/Boot) on the net installation image that was created by setup_install_server.

    • If no, proceed to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


  23. Decide if you need to create a boot server.


Example 9–4 Creating an x86 Install Server on a SPARC System With x86 CD Media

For the Solaris 10 3/05 release, use this example to create an x86 network installation image on a SPARC based system.

Starting with the Solaris 10 1/06 release, a remote x86 system is not required to create a SPARC install server with x86 CD media. See SPARC: To Create a SPARC Install Server With SPARC or x86 CD Media for more information.

The following example illustrates how to create an x86 install server on a SPARC system that is named rosemary. The following x86 CDs are copied from a remote x86 system that is named tadpole to the SPARC install server's /export/home/cdx86 directory.

This example assumes that the install server is running the Solaris 10 OS.

On the remote x86 system, insert the Solaris 10 Software for x86 Platforms - 1 CD, then type the following commands:


tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
tadpole (remote-x86-system)# svcadm enable svc:/network/nfs/server

On the SPARC system:


rosemary (SPARC-system)# cd /net/tadpole/cdrom/sol_10_x86/s2/Solaris_10/Tools
rosemary (SPARC-system)# ./setup_install_server  /export/home/cdx86
rosemary (SPARC-system)# cd /
rosemary (SPARC-system)# umount /net/tadpole/cdrom/sol_10_x86/s2/

On the remote x86 system:


tadpole (remote-x86-system) unshare /cdrom/cdrom0/s0
tadpole (remote-x86-system) unshare  /cdrom/cdrom0/s2

On the SPARC system:


rosemary (SPARC-system)# cd /cdrom/cdrom0/Solaris_10/Tools
rosemary (SPARC-system)# ./add_to_install_server /export/home/cdx86

Repeat the previous commands for each Solaris 10 Software CD that you want to install.


rosemary (SPARC-system)# cd /cdrom/cdrom0/Tools
rosemary (SPARC-system)# ./add_to_install_server /export/home/cdx86

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

ProcedureTo Create a SPARC Install Server on an x86 System With SPARC CD Media

Use this procedure to create a SPARC install server on an x86 system with SPARC CD media.

In this procedure, x86-system is the x86 system that is to be the install server and remote-SPARC-system is the remote SPARC system to be used with the SPARC CD media.

Before You Begin

You need the following items to perform this task.

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without the Volume Manager.


Steps
  1. On the remote SPARC system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote SPARC system, insert the Solaris 10 Software for SPARC Platforms - 1 CD into the system's drive.

  3. On the remote SPARC system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
    
  4. On the remote SPARC system, start the NFS daemon.

    • If the install server is running the Solaris 10 OS, or compatible version, type the following command.


      remote-SPARC-system# svcadm enable svc:/network/nfs/server
      
    • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


      remote-SPARC-system# /etc/init.d/nfs.server start
      
  5. On the remote SPARC system, verify that the CD is available to other systems by using the share command.


    remote-SPARC-system# share
    -   /cdrom/cdrom0/sol_10_sparc/s0 ro,anon=0 " "
    -   /cdrom/cdrom0/sol_10_sparc/s1 ro,anon=0 " "

    In the previous sample output, sol_10_sparc refers to the Solaris 10 OS on SPARC based systems. This text string varies for each version of the Solaris OS.

  6. On the x86 system that is to be the SPARC install server, become superuser.

  7. Verify that the CD is properly exported on the remote x86 system.


    x86-system# showmount -e remote-SPARC-system
    export list for remote-SPARC-system:
    /cdrom/sol_10_sparc/s0 (everyone)
    /cdrom/sol_10_sparc/s1 (everyone)
  8. On the x86 system, change to the Tools directory on the mounted disc:


    x86-system# cd /net/remote-SPARC-system/cdrom/sol_10_sparc/s0/Solaris_10/Tools
    
  9. On the x86 system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    x86-system# ./setup_install_server  install_dir_path
    
    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty.


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.


  10. On the x86 system, change to the top directory.


    x86-system# cd /
    
  11. On the x86 system, unmount both directories.


    x86-system# umount /net/remote-SPARC-system/cdrom/sol_10_sparc/s0
    
  12. On the SPARC system, unshare both CD-ROM slices.


    remote-SPARC-system# unshare /cdrom/cdrom0/s0
    

    remote-SPARC-system# unshare /cdrom/cdrom0/s2
    
  13. On the SPARC system, eject the Solaris 10 Software for SPARC Platforms - 1 CD.

  14. Insert the Solaris 10 Software for SPARC Platforms - 2 CD into the x86 system's CD-ROM drive.

  15. On the x86 system, change to the Tools directory on the mounted CD:


    x86-system# cd /cdrom/cdrom0/Solaris_10/Tools
    
  16. On the x86 system, copy the CD to the install server's hard disk:


    x86-system# ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  17. Eject the Solaris 10 Software for SPARC Platforms - 2 CD.

  18. Repeat Step 14 through Step 17 for each Solaris 10 Software CD you want to install.

  19. On the x86 system, insert the Solaris 10 Languages for SPARC Platforms CD into the x86 system's CD-ROM drive and mount the CD.

  20. On the x86 system, change to the Tools directory on the mounted CD:


    x86-system# cd /cdrom/cdrom0/Tools
    
  21. On the x86 system, copy the CD to the install server's hard disk:


    x86-system# ./add_to_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the CD image is to be copied

  22. Decide if you want to patch the files that are located in the miniroot (Solaris_10/Tools/Boot) on the net install image that was created by setup_install_server.

    • If no, proceed to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C unless you have read the Patch README instructions or have contacted your local Sun support office.


  23. Decide if you need to create a boot server.


Example 9–5 Creating a SPARC Install Server on an x86 System With SPARC CD Media

The following example illustrates how to create a SPARC install server on an x86 system that is named richards. The following SPARC CDs are copied from a remote SPARC system that is named simpson to the x86 install server's /export/home/cdsparc directory.

This example assumes that the install server is running the Solaris 10 OS.

On the remote SPARC system, insert the Solaris 10 Software for SPARC Platforms - 1 CD, then type the following commands:


simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote-SPARC-system)# svcadm enable svc:/network/nfs/server

On the x86 system:


richards (x86-system)# cd /net/simpson/cdrom/sol_10_sparc/s0//Solaris_10/Tools
richards (x86-system)# ./setup_install_server /export/home/cdsparc
richards (x86-system)# cd /
richards (x86-system)# umount /net/simpson/cdrom/sol_10_sparc/s0/

On the remote SPARC system:


simpson (remote-SPARC-system) unshare /cdrom/cdrom0/s0
simpson (remote-SPARC-system) unshare  /cdrom/cdrom0/s1

On the x86 system:


richards (x86-system)# cd /cdrom/cdrom0/Solaris_10/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc

Repeat the previous commands for each Solaris 10 Software for x86 Platforms CD that you want to install.


richards (x86-system)# cd /cdrom/cdrom0/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

Creating a Boot Server on a Subnet With a CD Image

You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a boot server. A boot server contains enough of the boot software to boot systems from the network, and then the install server completes the installation of the Solaris software.

ProcedureTo Create a Boot Server on a Subnet With a CD Image

Steps
  1. On the system you intend to make the boot server for the subnet, log in and become superuser.

    The system must include a local CD-ROM drive or have access to the remote Solaris 10 disc images, which are normally on the install server. If you use a name service, the system should be in the name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Mount the Solaris 10 Software - 1 CD image from the install server.


    # mount -F nfs -o ro server_name:path /mnt
    
    server_name:path

    Is the install server name and absolute path to the disc image

  3. Create a directory for the boot image.


    # mkdir -p boot_dir_path
    
    boot_dir_path

    Specifies the directory where the boot software is to be copied

  4. Change to the Tools directory on the Solaris 10 Software - 1 CD image.


    # cd /mnt/Solaris_10/Tools
    
  5. Copy the boot software to the boot server.


    # ./setup_install_server -b boot_dir_path
    
    -b

    Specifies to set up the system as a boot server

    boot_dir_path

    Specifies the directory where the boot software is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the images. To determine available disk space, use the df -kl command.


  6. Change directories to root (/).


    # cd /
    
  7. Unmount the installation image.


    # umount /mnt
    

Example 9–6 Creating a Boot Server on a Subnet With CD Media

The following example illustrates how to create a boot server on a subnet. These commands copy the boot software from the Solaris 10 Software for SPARC Platforms - 1 CD image to /export/install/boot on the system's local disk.


# mount -F nfs -o ro crystal:/export/install/boot /mnt 
# mkdir -p /export/install/boot 
# cd /mnt/Solaris_10/Tools
# ./setup_install_server -b /export/install/boot
# cd /
# umount /mnt

In this example, the disc is inserted and automatically mounted before the command. After the command, the disc is removed.


Continuing the Installation

After you set up the boot server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

See Also

For additional information about the setup_install_server command, see install_scripts(1M).

Adding Systems to Be Installed From the Network With a CD Image

After you create an install server and, if necessary, a boot server, you must set up each system that you want to install from the network. Each system that you want to install needs to find the following:

Use the following add_install_client procedure for setting up install servers and clients. Also, see the example procedures for the following:

For more options to use with this command, see the man page, add_install_client(1M).

ProcedureTo Add Systems to Be Installed From the Network With add_install_client (CDs)

After you create an install server, you must set up each system that you want to install from the network.

Use the following add_install_client procedure for set up an x86 client to install from the network.

Before You Begin

If you have a boot server, make sure you have shared the install server installation image. See the procedure “To Create an Install Server,” Step 6.

Each system that you want to install needs to find the following items.

Steps
  1. On the install server or boot server, become superuser.

  2. If you use the NIS, NIS+, DNS, or LDAP name service, verify that the following information about the system to be installed has been added to the name service:

    • Host name

    • IP address

    • Ethernet address

    For more information on name services, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

  3. Change to the Tools directory on the Solaris 10 CD image on the install server:


    # cd /install_dir_path/Solaris_10/Tools
    
    install_dir_path

    Specifies the path to the Tools directory

  4. Set up the client system to be installed from the network.


    # ./add_install_client -d -s install_server:install_dir_path \
    -c jumpstart_server:jumpstart_dir_path   -p sysid_server:path \
      -t boot_image_path -b "network_boot_variable=value" \
    -e ethernet_address client_name platform_group 
    
    -d

    Specifies that the client is to use DHCP to obtain the network install parameters. If you use the -d only, the add_install_client command sets up the installation information for client systems of the same class, for example, all SPARC client machines. To set up the installation information for a specific client, use the -d with the -e option.

    For x86 clients, use this option to boot the systems from the network by using PXE network boot. The output of this option lists the DHCP options you need to create on the DHCP server.

    For more information about class-specific installations by using DHCP, see Creating DHCP Options and Macros for Solaris Installation Parameters.

    -s install_server:install_dir_path

    Specifies the name and path to the install server.

    • install_server is the host name of the install server

    • install_dir_path is the absolute path to the Solaris 10 CD image

    -c jumpstart_server:jumpstart_dir_path

    Specifies a JumpStart directory for custom JumpStart installations. jumpstart_server is the host name of the server on which the JumpStart directory is located. jumpstart_dir_path is the absolute path to the JumpStart directory.

    -p sysid_server:path

    Specifies the path to the sysidcfg file for preconfiguring system information. sysid_server is either a valid host name or an IP address for the server that contains the file. path is the absolute path to the directory containing the sysidcfg file.

    -t boot_image_path

    Specifies the path to an alternate boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 10 net installation image, CD, or DVD.

    -bboot-property=value

    x86 based systems only: Enables you to set the value of a boot property variable that you want to use to boot the client from the network. The -b must be used with the -e option.

    See the eeprom(1M) man page for descriptions of boot properties.

    -e ethernet_address

    Specifies the Ethernet address of the client that you want to install. This option enables you to set up the installation information to use for a specific client, including a boot file for that client.

    For the Solaris 10 3/05 release, and compatible versions, the -e option creates a boot file with the prefix nbp.. For example, if you specify -e 00:07:e9:04:4a:bf for an x86 based client, the command creates the boot file nbp.010007E9044ABF.i86pc.

    Starting with the Solaris 10 1/06 for x86 release, the nbp. prefix is not used in boot file names. For example, if you specify -e 00:07:e9:04:4a:bf for an x86 based client, the command creates the boot file 010007E9044ABF.i86pc in the /tftpboot directory. However, the Solaris 10 1/06 release supports the use of legacy boot files with the nbp. prefix.

    For more information about client-specific installations by using DHCP, see Creating DHCP Options and Macros for Solaris Installation Parameters.

    client_name

    Is the name of the system to be installed from the network. This name is not the host name of the install server.

    platform_group

    Is the platform group of the system to be installed. A detailed list of platform groups appears in Platform Names and Groups.


Example 9–7 SPARC: Adding a SPARC Install Client on a SPARC Install Server When Using DHCP (CDs)

The following example illustrates how to add an install client when you are using DHCP to set installation parameters on the network. The install client is named basil, which is an Ultra 5 system. The file system /export/home/cdsparc/Solaris_10/Tools contains the add_install_client command.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).


sparc_install_server# cd /export/home/cdsparc/Solaris_10/Tools
sparc_install_server# ./add_install_client -d basil sun4u


Example 9–8 Adding an Install Client That Is on the Same Subnet as Its Server (CDs)

The following example illustrates how to add an install client that is on the same subnet as the install server. The install client is named basil, which is an Ultra 5 system. The file system /export/home/cdsparc/Solaris_10/Tools contains the add_install_client command.


install_server# cd /export/home/cdsparc/Solaris_10/Tools
install_server# ./add_install_client basil sun4u


Example 9–9 Adding an Install Client to a Boot Server (CDs)

The following example illustrates how to add an install client to a boot server. The install client is named rose, which is an Ultra 5 system. Run the command on the boot server. The -s option is used to specify an install server that is named rosemary, which contains a Solaris 10 CD image in /export/home/cdsparc.


boot_server# cd /export/home/cdsparc/Solaris_10/Tools
boot_server# ./add_install_client -s rosemary:/export/home/cdsparc rose sun4u


Example 9–10 Solaris 10 3/05 for x86: Adding an x86 Install Client on an x86 Install Server When Using DHCP (CDs)

For the Solaris 10 3/05 release, you need to specify the SUNW.i86pc class name when you add an x86 based system as a DHCP install client. The following example illustrates how to add an x86 install client to an install server when you are using DHCP to set installation parameters on the network. The -d option is used to specify that clients are to use the DHCP protocol for configuration. If you plan to use PXE network boot, you must use the DHCP protocol. The DHCP class name SUNW.i86pc indicates that this command applies to all Solaris x86 network boot clients, not just a single client. The -s option is used to specify that the clients are to be installed from the install server that is named rosemary. This server contains a Solaris 10 Software for x86 Platforms - 1 CD image in /export/home/cdx86.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).


install server# cd /export/boot/Solaris_10/Tools
install server# ./add_install_client -d -s rosemary:/export/home/cdx86 \SUNW.i86pc i86pc


Example 9–11 x86: Adding a Single x86 Install Client on an x86 Install Server When Using DHCP (CD)

Starting with the Solaris 10 1/06 release, the GRUB bootloader does not use the SUNW.i86pc DHCP class name. The following example illustrates how to add an x86 install client to an install server when you are using DHCP to set installation parameters on the network. The -d option is used to specify that clients are to use the DHCP protocol for configuration. If you plan to use PXE network boot, you must use the DHCP protocol. The -e option indicates that this installation will only occur on the client with the Ethernet address 00:07:e9:04:4a:bf . The -s option is used to specify that the clients are to be installed from the install server that is named rosemary. This server contains a Solaris 10 Operating System for x86 Platforms DVD image in /export/home/cdx86.


x86_install_server# cd /export/boot/cdx86/Solaris_10/Tools
x86_install_server# ./add_install_client -d -e 00:07:e9:04:4a:bf \ 
-s rosemary:/export/home/cdx86 i86pc

The previous commands set up the client with the Ethernet address 00:07:e9:04:4a:bf as an installation client. The boot file 010007E9044ABF.i86pc is created on the installation server. In previous releases, this boot file was named nbp.010007E9044ABF.i86pc.

For more information on how to use DHCP to set installation parameters for network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).



Example 9–12 x86: Specifying a Serial Console to Use During a Network Installation (CDs)

The following example illustrates how to add an x86 install client to an install server and specify a serial console to use during the installation. This example sets up the install client in the following manner.

Choose one of the following sets of commands to add the client.

For a complete description of the boot property variables and values you can use with the -b option, see the eeprom(1M) man page.



Example 9–13 Solaris 10 3/05 for x86: Specifying a Boot Device to Use During a Network Installation (CDs)

For the Solaris 10 3/05 release, you can specify the boot device to use during the installation of x86 client systems. The following example illustrates how to add an x86 install client to an install server and specify a boot device to use during the installation. If you specify the boot device when you set up the install client, you are not prompted for this information by the Device Configuration Assistant during the installation.

This example sets up the install client in the following manner.


install server# cd /export/boot/Solaris_10/Tools
install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \
-b "input-device=ttya" -b "output-device=ttya" \
-b "bootpath=/pci@0,0/pci108e,16a8@8" i86pc

For a complete description of the boot property variables and values you can use with the -b option, see the eeprom(1M) man page.


Continuing the Installation

If you are using a DHCP server to install the x86 based client over the network, configure the DHCP server and create the options and macros that are listed in the output of the add_install_client -d command. For instructions about how to configure a DHCP server to support network installations, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).

x86 based systems: If you are not using a DHCP server, you must boot the system from a local Solaris OS DVD or , CD, or a boot diskette. For instructions about how to create a boot diskette, see Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette.

See Also

For additional information about the add_install_client command, see install_scripts(1M).

Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette

For the Solaris 10 3/05 release, the Solaris 10 3/05 Device Configuration Assistant enables you to perform various hardware configuration and booting tasks. The Solaris 10 3/05 Device Configuration Assistant image is found in the Tools directory of either the Solaris 10 Operating System for x86 Platforms DVD or the Solaris 10 Software for x86 Platforms - 2 CD.


Note –

Starting with the Solaris 10 1/06 release, the Solaris 10 3/05 Device Configuration Assistant is not included with the Solaris OS.


You must create a boot diskette under either the following circumstances.

Use the following procedure to copy the boot image to a 3.5 diskette.


Note –

You can boot directly from DVD or CD media or by using a net image with PXE. For information on these methods of booting, see x86: Overview of Booting and Installing Over the Network With PXE.


Procedurex86: To Copy the Boot Software to a Diskette


Note –

This procedure assumes that the system is running Volume Manager. If you are not using Volume Manager to manage diskettes and discs, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without Volume Manager.


Steps
  1. Log in as superuser on an x86 based system to which a diskette drive is attached.

  2. On the system with the DVD-ROM or CD-ROM drive, insert the Solaris 10 Operating System for x86 Platforms DVD or the Solaris 10 Software for x86 Platforms - 2 CD in the drive.

    The Volume Manager mounts the disc.

  3. Change to the directory that contains the boot image.

    • For DVD media, type:


      # cd /cdrom/sol_10_x86/s2/Solaris_10/Tools
      
    • For CD media, type:


      # cd /cdrom/sol_10_x86/Solaris_10/Tools
      
  4. Insert a blank diskette or a diskette that can be overwritten in the diskette drive.

  5. Notify Volume Manager to check for new media.


    # volcheck
    
  6. Format the diskette:


    Caution – Caution –

    Formatting erases all data on the diskette.



    # fdformat -d -U
    
  7. Copy the file to the diskette.


    # dd if=d1_image of=/vol/dev/aliases/floppy0 bs=36k
    
  8. Eject the diskette by typing eject floppy at the command line, and then manually ejecting the diskette from the drive.

Continuing the Installation

To install the Solaris OS over the network, see Booting and Installing the System From the Network With a CD Image.

Booting and Installing the System From the Network With a CD Image

After you add the system as an installation client, you can install the client from the network. This section describes the following tasks.

ProcedureSPARC: To Boot the Client Over the Network (CDs)

Before You Begin

This procedure assumes that you have completed the following tasks.


Note –

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).


Steps
  1. Turn on the client system.

    If the system is currently running, bring the system to run level 0.

    The ok prompt is displayed.

  2. Boot the system from the network.

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


      ok boot net - install
      
    • To install with the Solaris interactive text installer in a desktop session, type the following command.


      ok boot net - text
      
    • To install with the Solaris interactive text installer in a console session, type the following command.


      ok boot net - nowin
      

    The system boots from the network.

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

    If you are using the GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

  4. If you are prompted, answer any additional questions to complete your installation.

    • If you preconfigured all of the installation options, the installation program does not prompt you to enter any installation information. See Chapter 6, Preconfiguring System Configuration Information (Tasks) for more information.

    • If you did not preconfigure all the installation options, use the Checklist for Installation to help you answer the installation questions.

    • If you are upgrading a system that has non-global zones installed, follow these steps.

      1. When you are prompted to select initial installation or upgrade, choose Upgrade. Click Next.

      2. If your system has multiple root (/) partitions, select the partition that you want to upgrade on the Select Version to Upgrade panel.

        The Solaris installation program displays a message that indicates that you cannot customize your upgrade. The Solaris installation program analyzes your system to determine if the system can be upgraded. The Ready to Upgrade panel is displayed.

        If your system has only one root partition, the Solaris installation program does not prompt you to select a partition to upgrade. The partition is automatically selected.

      3. If you want to continue the upgrade, click Install Now on the Ready to Upgrade panel.

        The Solaris installation program begins to upgrade your system.

        If you do not want to continue the upgrade, click Back to perform an initial installation.

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

ProcedureSolaris 10 3/05 for x86: To Boot the Client Over the Network (CDs)

To install the system over the network, you must instruct the client system to boot over the network. Enable network boot on the client system by using the BIOS setup program in the system BIOS, the network adapter BIOS, or both. On some systems, you must also adjust the boot device priority list so that network boot is attempted before booting from other devices. See the manufacturer's documentation for each setup program, or watch for setup program instructions during boot.

Before You Begin

This procedure assumes that you have completed the following tasks.

This procedure also assumes that your system can boot from the network. If your system cannot boot from the network, you must create a boot diskette to install over the network. See Solaris 10 3/05 for x86: Copying the Boot Software to a Diskette for information about how to create a boot diskette.

Steps
  1. Turn on the system.

  2. Type the appropriate keystroke combination to enter the system BIOS.

    Some PXE-capable network adapters have a feature that enables PXE boot if you type a particular keystroke in response to a brief boot-time prompt.

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

    See your hardware documentation for information about how to set the boot priority in the BIOS.

  4. Exit the BIOS.

    The system boots from the network.

  5. When prompted, select an installation type.

    • To install with the Solaris interactive installation GUI, type 1 and Enter.

    • To perform a custom JumpStart installation, type 2 and Enter.

    • To install with the Solaris interactive text installer in a desktop session, type 3 and Enter.

    • To install with the Solaris interactive text installer in a console session, type 4 and Enter.

    The installation program begins.

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

    If you are using the installation GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

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

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

Procedurex86: To Boot the Client Over the Network With GRUB (CDs)

Starting with the Solaris 10 1/06 release, the Solaris installation programs for x86 based systems use the GRUB boot loader. This procedure describes how to install an x86 based system over the network with the GRUB boot loader. For overview information about the GRUB boot loader, see Chapter 4, x86: GRUB Based Booting For Solaris Installation.

For the Solaris 10 3/05 release, see Solaris 10 3/05 for x86: To Boot the Client Over the Network (DVD) for instructions about how to install the Solaris OS over the network.

To install the system over the network, you must instruct the client system to boot over the network. Enable network boot on the client system by using the BIOS setup program in the system BIOS, the network adapter BIOS, or both. On some systems, you must also adjust the boot device priority list so that network boot is attempted before booting from other devices. See the manufacturer's documentation for each setup program, or watch for setup program instructions during boot.

Before You Begin

This procedure assumes that you have completed the following tasks.

This procedure also assumes that your system can boot from the network.


Note –

If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris 10 DVD. For instructions about how to create a network installation image from a DVD, see Chapter 8, Preparing to Install From the Network With DVD Media (Tasks).


Steps
  1. Turn on the system.

  2. Type the appropriate keystroke combination to enter the system BIOS.

    Some PXE-capable network adapters have a feature that enables PXE boot if you type a particular keystroke in response to a brief boot-time prompt.

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

    See your hardware documentation for information about how to set the boot priority in the BIOS.

  4. Exit the BIOS.

    The system boots from the network. The GRUB menu is displayed.


    Note –

    The GRUB menu that is displayed on your system might vary from the following sample, depending on the configuration of your network installation server.



    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris 10 /sol_10_x86                                                  |
    |                                                                         |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.
  5. Select the appropriate installation option.

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

      Select this entry if you want to install from the network installation server you set up in x86: To Create an x86 Install Server With SPARC or x86 DVD Media.

    • To install the Solaris OS from the network with specific boot arguments, follow these steps.

      You might need to set specific boot arguments if you want to modify the device configuration during the installation, and did not set these boot arguments previously with the add_install_client command as described in To Add Systems to Be Installed From the Network With add_install_client (DVD).

      1. On the GRUB menu, select the installation option you want to edit, then press e.

        Boot commands that are similar to the following text are displayed in the GRUB menu.


        kernel /I86pc.Solaris_10/multiboot kernel/unix \
        -B install_media=192.168.2.1:/export/sol_10_x86/boot \
        module /platform/i86pc/boot_archive
      2. Use the arrow keys to select the boot entry that you want to edit, then press e.

        The boot command that you want to edit is displayed in the GRUB edit window.

      3. Edit the command by typing the boot arguments or options you want to use.

        The command syntax for the Grub edit menu is as follows.


        grub edit>kernel /image_directory/multiboot kernel/unix/ \
        install [url|ask] -B options install_media=media_type
        

        For information about boot arguments and command syntax, see Table 10–1.

      4. To accept your edits and return to the GRUB menu, press Enter.

        The GRUB menu is displayed. The edits you made to the boot command are displayed.

      5. To begin the installation, type b in the GRUB menu.

    The Solaris installation program checks the default boot disk for the requirements to install or upgrade the system. If the Solaris installation cannot detect the system configuration, the program prompts you for any missing information.

    When the check is completed, the installation selection screen is displayed.

  6. Select an installation type.

    The installation selection screen displays the following options.


          Select the type of installation you want to perform:
    
             1 Solaris Interactive
             2 Custom JumpStart
             3 Solaris Interactive Text (Desktop session)
             4 Solaris Interactive Text (Console session)
             5 Apply driver updates
             6 Single user shell
    
             Enter the number of your choice followed by the <ENTER> key.
             Alternatively, enter custom boot arguments directly.
    
             If you wait 30 seconds without typing anything,
             an interactive installation will be started.
    • To install the Solaris OS, choose from the following options.

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

      • To install with the interactive text installer in a desktop session, type 3, then press Enter.

        Select this installation type to override the default GUI installer and run the text installer.

      • To install with the interactive text installer in a console session, type 4, then press Enter.

        Select this installation type to override the default GUI installer and run the text installer.

      If you want to perform an unattended custom JumpStart installation (option 2), see Solaris 10 Installation Guide: Custom JumpStart and Advanced Installations.

      For detailed information about the Solaris installation GUI and text installer, see System Requirements and Recommendations.

      The system configures the devices and interfaces, and searches for configuration files. The kdmconfig utility detects the drivers that are necessary to configure the keyboard, display, and mouse on your system. The installation program begins. Go to Step 7 to continue the installation.

    • To perform system administration tasks before your installation, choose from the following options.

      • To update drivers or install an install time update (ITU), insert the update media, type 5, then press Enter.

        You might need to update drivers or install an ITU to enable the Solaris OS to run on your system. Follow the instructions for your driver update or ITU to install the update.

      • To perform system administration tasks, type 6, then press Enter.

        You might want to launch a single user shell if you need to perform any system administration tasks on your system before you install. For information about system administration tasks you can perform prior to installation, see System Administration Guide: Basic Administration.

      After you perform these system administration tasks, the previous list of options is displayed. Select the appropriate option to continue the installation.

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

    If you are using the installation GUI, after you confirm the system configuration information, the Welcome to Solaris dialog box appears.

  8. If you are prompted, answer any additional questions to complete your installation.

    • If you preconfigured all of the installation options, the installation program does not prompt you to enter any installation information. See Chapter 6, Preconfiguring System Configuration Information (Tasks) for more information.

    • If you did not preconfigure all the installation options, use the Checklist for Installation to help you answer the installation questions.

    • If you are upgrading a system that has non-global zones installed, follow these steps.

      1. When you are prompted to select initial installation or upgrade, choose Upgrade. Click Next.

      2. If your system has multiple root (/) partitions, select the partition that you want to upgrade on the Select Version to Upgrade panel.

        The Solaris installation program displays a message that indicates that you cannot customize your upgrade. The Solaris installation program analyzes your system to determine if the system can be upgraded. The Ready to Upgrade panel is displayed.

        If your system has only one root partition, the Solaris installation program does not prompt you to select a partition to upgrade. The partition is automatically selected.

      3. If you want to continue the upgrade, click Install Now on the Ready to Upgrade panel.

        The Solaris installation program begins to upgrade your system.

        If you do not want to continue the upgrade, click Back to perform an initial installation.

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

Next Steps

If you install multiple operating systems on your machine, you need to instruct the GRUB boot loader to recognize these operating systems in order to boot. For more information, see Modifying the Solaris Boot Behavior by Editing the GRUB Menu in System Administration Guide: Basic Administration.

See Also

For information about how to complete an interactive installation with the Solaris installation GUI, see To Install or Upgrade With the Solaris Installation Program in Solaris 10 Installation Guide: Basic Installations.

Chapter 10 Preparing to Install From the Network (Command Reference)

This chapter lists the commands used to set up network installations. This chapter includes the following topics.

Network Installation Commands

This table describes the commands you use to install Solaris software over the network. The table also indicates to which platform the commands apply.

Command 

Platform 

Description 

add_install_client

All 

A command that adds network installation information about a system to an install server or boot server from the network. The add_install_client(1M) man page contains more information.

setup_install_server

All 

A script that copies the Solaris 10 DVD or CDs to an install server's local disk or copies the boot software to a boot server. The setup_install_server(1M) man page contains more information.

(CD media only) add_to_install_server

All 

A script that copies additional packages within a product tree on the CDs to the local disk on an existing install server. The add_to_install_server(1M) man page contains more information.

mount

All 

A command that enables the mounting of file systems and shows the mounted file systems, including the file system on the Solaris 10 DVD or Solaris 10 Software and Solaris 10 Languages CDs. The mount(1M) man page contains more information.

showmount -e

All 

A command that lists all the shared file systems that are located on a remote host. The showmount(1M) man page contains more information.

uname -i

All 

A command for determining a system's platform name, for example, SUNW,Ultra-5_10, or i86pc. You might need the system's platform name when you install the Solaris software. The uname(1) man page contains more information.

patchadd -C net_install_image

All 

A command to add patches to the files that are located in the miniroot, Solaris_10 /Tools/Boot, on a net installation image of a DVD or CD that is created by setup_install_server. This facility enables you to patch Solaris installation commands and other miniroot-specific commands. net_install_image is the absolute path name of the net installation image. The patchadd(1M) man page contains more information.


Caution – Caution –

Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


reset

SPARC 

An Open Boot PROM command for resetting the system and rebooting the machine. Or, if you boot and see a series of error messages about I/O interrupts, press the Stop and A keys at the same time, and then type reset at the ok or > PROM prompt.

banner

SPARC 

An Open Boot PROM command that displays system information, such as model name, Ethernet address, and memory installed. You can issue this command only at the ok or > PROM prompt.

x86: GRUB Menu Commands for Installation

Starting in the Solaris 10 1/06 release, you can customize the network boot and installation of your system by editing the commands in the GRUB menu. This section describes several commands and arguments you can insert in the commands in the GRUB menu.

In the GRUB menu, you can access the GRUB command line by typing b at the prompt. A command line that is similar to the following output is displayed.


kernel /Solaris_10_x86/multiboot kernel/unix 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

You can edit this command line to customize your boot and installation. The following list describes several common commands you might want to use. For a complete list of boot arguments that you can use with the -B, see the eeprom(1M) man page.

Table 10–1 x86: GRUB Menu Commands and Options

Command/Option 

Description and Examples 

install

Insert this option before the -B option to perform a custom JumpStart installation.


kernel /Solaris_10_x86/multiboot install 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

url|ask

Specifies the location of the custom JumpStart files or prompts you for the location. Insert either option with the install option.

  • url - Specifies the path to the files. You can specify a URL for files that are located in the following places:

    • Local hard disk


      file://jumpstart_dir_path/compressed_config_file
      

      For example:


      kernel /Solaris_10_x86/multiboot install 
      file://jumpstart/config.tar 
      -B install_media=192.168.2.1:/export/sol_10_x86/boot
      module /platform/i86pc/boot_archive
    • NFS server


      nfs://server_name:IP_address/jumpstart_dir_path/compressed_config_file
      

      For example:


      kernel /Solaris_10_x86/multiboot install 
      myserver:192.168.2.1/jumpstart/config.tar 
      -B install_media=192.168.2.1:/export/sol_10_x86/boot
      module /platform/i86pc/boot_archive
    • HTTP server


      http://server_name:IP_address/jumpstart_dir_path/
      compressed_config_file&proxy_info
      
      • If you placed a sysidcfg file in the compressed configuration file, you must specify the IP address of the server that contains the file, as in the following example:


        kernel /Solaris_10_x86/multiboot install 
        http://192.168.2.1/jumpstart/config.tar 
        -B install_media=192.168.2.1:/export/sol_10_x86/boot
        module /platform/i86pc/boot_archive
      • If you saved the compressed configuration file on an HTTP server that is behind a firewall, you must use a proxy specifier during boot. You do not need to specify an IP address for the server that contains the file. You must specify an IP address for the proxy server, as in the following example:


        kernel /Solaris_10_x86/multiboot install 
        http://www.shadow.com/jumpstart/config.tar&proxy=131.141.6.151 
        -B install_media=192.168.2.1:/export/sol_10_x86/boot
        module /platform/i86pc/boot_archive

url|ask (continued)

  • ask - When used with the install option, specifies that the installation program prompt you to type the location of the compressed configuration file after the system boots and connects to the network. If you use this option, you are not able to do a completely hands off JumpStart installation.

    If you bypass the prompt by pressing Return, the Solaris installation program interactively configures the network parameters. The installation program then prompts you for the location of the compressed configuration file.

    The following example performs a custom JumpStart and boots from a network installation image. You are prompted to input the location of the configuration file after the system connects to the network.


    kernel /Solaris_10_x86/multiboot install ask 
    -B install_media=192.168.2.1:/export/sol_10_x86/boot
    module /platform/i86pc/boot_archive

dhcp

Insert this option before the -B option to instruct the installation programs to use a DHCP server to obtain network installation information that is needed to boot the system. If you do not specify to use a DHCP server by typing dhcp, the system uses the /etc/bootparams file or the name service bootparams database. For example, you would not specify dhcp if you wanted keep a static IP address.


kernel /Solaris_10_x86/multiboot dhcp 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

- text

Insert this option before the -B option to perform a text-based installation in a desktop session.


kernel /Solaris_10_x86/multiboot - text 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

- nowin

Insert this option before the -B option to perform a text-based installation in a console session.


kernel /Solaris_10_x86/multiboot - nowin 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

"console=serial-console"

Use this argument with the -B option to instruct the system to use a serial console, such as ttya (COM1) or ttyb (COM2).


kernel /Solaris_10_x86/multiboot -B "console=ttya" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

"ata-dma-enable=[0|1]"

Use this argument with the -B option to enable or disable Advanced Technology Attachment (ATA) or Integrated Drive Electronics (IDE) devices and Direct Memory Access (DMA) during the installation.


kernel /Solaris_10_x86/multiboot -B "ata-dma-enable=0" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

"acpi-enum=[0|1]"

Use this argument with the -B option to enable or disable Advanced Configuration and Power Interface (ACPI ) power management.


kernel /Solaris_10_x86/multiboot -B "acpi-enum=0" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

"acpi-cd-dma-enabled=[0|1]"

Use this argument with the -B option to enable or disable DMA for CD or DVD drives during the installation.


kernel /Solaris_10_x86/multiboot -B "acpi-cd-dma-enabled=0"
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive