In this article will show you how to create and activate new boot environment in Oracle Solaris 11. It can be done by using “beadm” command to create and activate the new boot environment which is cloned from the active boot environment. Same time, while doing the clone of an active boot environment using beadm command, the supported Solaris zones in that boot environment will be copied to the new boot environment.
Beadm Command Syntax:
# beadm create <new boot environment name>
Note: Boot environment name should not be an active BE name. It should be always a new name.
# beadm activate <new boot environment name>
# beadm mount <new boot environment name>
Example to Create and Activate new boot environment
1) Login as a root user and continue with the below commands to perform the same
2) Creating a new boot environment
# beadm create OracleSolaris11
Note: In this example I have used OracleSolaris11 as a new BE name which is not as same as an active BE name.
3) Activating a new boot environment
# beadm activate OracleSolaris11
Note: It’s mandatory that you need to reboot the machine to make it activated. Therefore before you create the new boot environment, will prefer to take a downtime to make it activated.
4) Mounting a new boot environment
# beadm mount OracleSolaris11
Note: You can use a “mount” option in beadm command to mount the new boot environment and do the required changes or modification before you do a reboot and activate the new boot environment.
Also I will prefer you to check the man page to find more available options with “beadm” commands
# man beadm
If you find this post is useful/helpful, please follow, like and share. Thank you for visiting my blog!!!