Solaris 9 Installation Guide

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

This procedures provides the steps to install a Solaris Flash 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–7 Upgrading a Boot Environment With a Profile (Command-Line Interface)

    In this example, an archive is installed on the second_disk boot environment. The -j option is used to access the 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.


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