Creating and Administering Oracle® Solaris 11.2 Boot Environments

Exit Print View

Updated: July 2014

Changing the Default Boot Environment

You can change an inactive boot environment into an active boot environment, which means that the named boot environment will be used when the system is next rebooted. Only one boot environment can be active at a time. The newly activated boot environment becomes the default environment upon reboot.

Use the beadm activate command as follows to activate an existing, inactive boot environment:

# beadm activate BeName

beadm activate sets the specified boot environment as the default in the menu.lst file.

Note - When a boot environment is created, regardless of whether it is active or inactive, an entry is created for the boot environment on the x86 GRUB menu or the SPARC boot menu. The default boot environment is the last boot environment that was activated.