Solaris Live Upgrade 2.0 Guide

To Activate a Boot Environment and Synchronize Files (Command-Line Interface)

The first time you boot from a newly created boot environment, Live Upgrade software synchronizes this boot environment with the boot environment that was last active. (This is not necessarily the boot environment that was the source for the newly created boot environment.) It does not perform this synchronization after this initial boot, unless you use the -s option. Use this option with great caution, because you might not be aware or in control of changes that might have occurred in the last active boot environment.

  1. Log in as superuser.

  2. (Optional) To check on which boot environment is activated on the next reboot, type:


    # /usr/sbin/luactivate 
    
  3. To activate the boot environment, type:


    # /usr/sbin/luactivate  -s BE_name
    

    BE_name

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

    -s

    Forced synchronization.  


    Example 4–6 Activating a Boot Environment (Command-Line Interface)

    In this example, the second_disk boot environment is activated at the next reboot and the files are synchronized.


    # /usr/sbin/luactivate -s second_disk
    

  4. Reboot.


    # init 6