Solaris 10 6/06 Installation Guide: Solaris Live Upgrade and Upgrade Planning

ProcedureTo Activate a Boot Environment (Command-Line Interface)

The following procedure switches a new boot environment to become the currently running boot environment.


x86 only –

If you have an x86 based system, you can also activate with the GRUB menu. Note the following exceptions:

See x86: Activating a Boot Environment With the GRUB Menu.


Steps
  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. To activate the boot environment, type:


    # /sbin/luactivate  BE_name
    
    BE_name

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

  3. Reboot.


    # init 6
    

    Caution – Caution –

    Use only the init or shutdown commands to reboot. If you use the reboot, halt, or uadmin commands, the system does not switch boot environments. The last-active boot environment is booted again.



Example 9–13 Activating a Boot Environment (Command-Line Interface)

In this example, the second_disk boot environment is activated at the next reboot.


# /sbin/luactivate second_disk
# init 6