Solaris 10 8/07 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Displaying the Name of the Active Boot Environment

Use the lucurr command to display the name of the currently running boot environment. If no boot environments are configured on the system, the message “No Boot Environments are defined” is displayed. Note that lucurr reports only the name of the current boot environment, not the boot environment that is active on the next reboot. See Displaying the Status of All Boot Environments to determine a boot environment's status.

ProcedureTo Display the Name of the Active Boot Environment

  1. 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.

  2. Type:


    # /usr/sbin/lucurr
    

Example 7–4 Displaying the Name of the Active Boot Environment

In this example, the name of the current boot environment is displayed.


# /usr/sbin/lucurr
solaris10