Solaris 9 Installation Guide

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

This procedure enables you to install a Solaris Flash archive and use the archive_location keyword at the command line rather than from a profile file. You can quickly retrieve an archive without the use of a profile file.

  1. Log in as superuser.

  2. Type:


    # luupgrade -f -n BE_name -s os_image_path -J 'profile'
    

    -f

    Indicates to upgrade 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'

    Specifies the archive_location profile keyword. For the keyword values, see archive_location Keyword.

    The boot environment is ready to be activated.


    Example 33–8 Installing a Solaris Flash Archive By Using a Profile (Command-Line Interface)

    In this example, an archive is installed on the second_disk boot environment. The -J option and the archive_location keyword is used to retrieve the archive. All files are overwritten on second_disk except shareable files.


    # luupgrade -f -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image \
    -J 'archive_location http://example.com/myflash.flar'