Solaris Live Upgrade 2.0 Guide

Upgrading a Boot Environment

Use the Upgrade menu or luupgrade command to upgrade a boot environment. This section provides the procedure for upgrading an inactive boot environment from files that are located on the following:

When you upgrade a boot environment with the latest operating environment, you do not affect the active boot environment. The new files merge with the inactive boot environment critical file systems, but shareable file systems are not changed.

Rather than upgrading, if you have created a Web Start Flash archive, you could install the archive onto an inactive boot environment. See Installing Web Start Flash Archives on a Boot Environment.

To Upgrade an Operating System Image on a Boot Environment (Character Interface)

For the following procedure, you must use a combined installation image or one CD. If the installation requires more than one CD, you must use the command line interface procedure for upgrading. See To Upgrade an Operating System Image From Multiple CDs (Command-Line Interface).

  1. From the Solaris Live Upgrade main menu, select Upgrade.

    The Upgrade menu screen is displayed.

  2. Type the new boot environment's name.

  3. Type the path to where the Solaris installation image is located.

    Installation Media Type 

    Description 

    Network file system 

    Specify the path to the network file system where the installation image is located.  

    Local file 

    Specify the path to the local file system where the installation image is located. 

    Local tape 

    Specify the local tape device and the position on the tape where the installation image is located. 

    Local device or CD 

    Specify the local device and the path to the installation image. 

    • If you have one CD, type the path to that CD as in this example:


      Package Media: /cdrom/solaris8/s0
      
    • If you have a combined image on the network, type the path to the network file system as in this example:


      Package Media: /net/installmachine/export/solaris8/os_image
      
  4. To upgrade, press F3.

    When the upgrade is completed, the main menu is displayed.

To Upgrade an Operating System Image on a Boot Environment (Command-Line Interface)

For the following procedure, you must use a combined installation image or just one CD. If the installation requires more than one CD, you must use the command line interface procedure for upgrading. See To Upgrade an Operating System Image From Multiple CDs (Command-Line Interface).

  1. Log in as superuser.

  2. Indicate the boot environment to upgrade and the path to the installation software by typing:


    # luupgrade -u -n BE_name -s os_image_path 
    

    -u

    Indicates the upgrade OS function 

    -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 


    Example 4–1 Upgrading an Operating System Image on a Boot Environment (Command-Line Interface)

    In this example, the second_disk boot environment is upgraded by using a path from the network to a combined installation image.


    # luupgrade -u -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image 
    

To Upgrade an Operating System Image From Multiple CDs (Command-Line Interface)

If the operating system image resides on two or more CDs, use this upgrade procedure.

  1. Log in as superuser.

  2. Indicate the boot environment to upgrade and the path to the installation software by typing:


    # luupgrade -u -n BE_name -s os_image_path 
    

    -u

    Indicates to install an OS image 

    -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 containing an operating system image 


    Example 4–2 Upgrading an Operating System Image From Multiple CDs (Command-Line Interface)

    In this example, the second_disk boot environment is upgraded and the installation image is on the first CD.


    # luupgrade -u -n second_disk -s /dev/cdrom/cdrom0 
    

  3. When the installer is finished with the contents of the first CD, insert the second CD.

  4. This step is identical to the previous example, but the -u option is replaced by the -i option. Also, choose to run the installer on the second CD with menus or in text mode.

    • This command run the installer on the second CD with menus.


      # luupgrade -i -n BE_name -s os_image_path 
      
    • This command runs the installer on the second CD in text mode.


      # luupgrade -i -n BE_name -s os_image_path -O -nodisplay 
      

    -i

    Looks for an installation program on the specified medium and runs that program. The installer program is specified with -s.

    -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 

    -O -nodisplay

    (Optional)Runs the installer on the second CD in text mode 


    Example 4–3 Upgrading an Operating System Image From Multiple CDs (Command-Line Interface)

    In this example, the upgrade on second_disk boot environment is completed with the second CD and the installer on the second CD is run with menus.


    # luupgrade -i -n second_disk -s /dev/cdrom/cdrom0 
    

    If you have more CDs, repeat this step.

    The boot environment is ready to be activated. See Activating a Boot Environment .