Solaris 9 Installation Guide

To Install a Solaris Flash Archive With a Profile (Command-Line Interface)

This procedure provides the steps to install a Solaris Flash archive or differential archive by using a profile.

If you added locales to the profile, make sure that you have created a boot environment with additional disk space.

  1. Log in as superuser.

  2. Create a profile.

    See Table 33–2 for a list of keywords that can be used in a Solaris Live Upgrade profile.

  3. Type:


    # luupgrade -f -n BE_name -s os_image_path -j profile_path
    
    -f

    Indicates to install an operating system from a Solaris Flash archive.

    -n BE_name

    Specifies the name of the boot environment that is to be upgraded.

    -s os_image_path

    Specifies the path name of a directory that contains an operating system image. This directory can be on an installation medium, such as a DVD-ROM, CD-ROM, or it can be an NFS or UFS directory.

    -j profile_path

    Path to a profile that is configured for a flash installation. The profile must be in a directory on the local machine.

    The boot environment is ready to be activated.


    Example 33–8 Install a Solaris Flash archive on a Boot Environment With a Profile (Command-Line Interface)

    In this example, a profile provides the location of the archive to be installed.

    # profile keywords         profile values
    # ----------------         -------------------
     install_type              flash_install
     archive_location          nfs installserver:/export/solaris/flasharchive/solaris9archive
     

    After creating the profile, you can run the luupgrade command and install the archive. The -j option is used to access the profile.


    # luupgrade -f -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image \
    -j /var/tmp/profile 
    

    The boot environment is then ready to be activated. To create a profile, see To Create a Profile to be Used by Solaris Live Upgrade.