OpenSolaris Managing Boot Environments
Previous Next

Changing the Default Boot Environment

You can change an inactive boot environment into an active boot environment. Only one boot environment can be active at a time. The newly activated boot environment becomes the default environment upon reboot.

How to Activate an Existing Boot Environment

  1. Use the following command to activate an existing, inactive boot environment:
    $ beadm activate beName

    beName is a variable for the name of the boot environment to be activated.

    Note the following specifications.

    • beadm activate beName activates a boot environment by setting the bootable pool property, bootfs, to the value of the ROOT dataset of the boot environment that is being activated.

    • beadm activate sets the newly activated boot environment as the default in the menu.lst file.


      Note - When a boot environment is created, 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.


  2. Reboot.

    The newly activated boot environment is now the default on the x86 GRUB menu or SPARC boot menu.


    Note - If the boot environment fails to boot, reboot and select the previous boot environment from the GRUB menu or the boot menu.


Previous Next