To activate a boot environmentUse the following procedure, depending on your release:
For SPARC based systems, all releases.
For x86 based systems:
For the Solaris 10 3/05 release, use the following procedure.
Starting with the Solaris 10 1/06 release, you can use the GRUB menu to switch boot environment. See x86: Activating a Boot Environment With the GRUB Menu. Use the follow
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 |