Go to main content

Creating and Administering Oracle® Solaris 11.4 Boot Environments

Exit Print View

Updated: November 2019

How to Clone a Boot Environment

Before You Begin

Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Administer Boot Environments.

  1. Clone the boot environment.
    $ beadm create BeFMRI

    To clone an inactive BE, use the –e inactive-BeFMRI option.

  2. (Optional)Use the beadm mount command to mount the new BR.
    $ beadm mount BeFMRI mount-point

    You might perform this step, for example, if you want to modify some configuration files in the new BE before rebooting into it. Note that mounting the new BE does not cause the BE to become active.

    Note -  If the directory for the mount point does not exist, the beadm command creates the directory, then mounts the BE on that directory.

    If the BE is already mounted, the beadm mount command fails and does not remount the BE at the newly specified location.

  3. (Optional)Activate the boot environment.
    $ beadm activate BeFMRI

    On reboot, the newly active BE is displayed as the default selection in the x86 GRUB menu or the SPARC boot menu.

    Note -  The GRUB menu or boot menu always displays the most recently activated BE as the default.