The following procedure switches a new boot environment to become the currently running boot environment.
If you have an x86 based system, you can also activate with the GRUB menu. Note the following exceptions:
If a boot environment was created with the Solaris 8, 9, or 10 3/05 release, the boot environment must always be activated with the luactivate command. These older boot environments do not display on the GRUB menu.
The first time you activate a boot environment, you must use the luactivate command. The next time you boot, that boot environment's name is displayed in the GRUB main menu. You can thereafter switch to this boot environment by selecting the appropriate entry in the GRUB menu.
See x86: Activating a Boot Environment With the GRUB Menu.
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.
To activate the boot environment, type:
# /sbin/luactivate BE_name |
Specifies the name of the boot environment that is to be activated
Reboot.
# init 6 |
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.
In this example, the second_disk boot environment is activated at the next reboot.
# /sbin/luactivate second_disk # init 6 |