Solaris Live Upgrade 2.0 Guide

Changing the Name of a Boot Environment

Renaming a boot environment is often useful when you upgrade the boot environment from one Solaris release to another. For example, following an operating system upgrade, you might rename the boot environment solaris7 to solaris8. Use the Rename menu or lurename command to change the inactive boot environment's name.

The new name can contain only single-byte, 8–bit characters. Also, the new name must adhere to the following:

A boot environment must have the status “complete” before you rename it. See Displaying the Status of All Boot Environments to determine a boot environment's status. You cannot rename a boot environment that has file systems mounted with lumount(1M) or mount(1M).

To Change the Name of an Inactive Boot Environment (Character Interface)

  1. From the main menu, select Rename.

  2. Type the boot environment to rename and then the new name.

  3. To save your changes, press F3.

To Change the Name of an Inactive Boot Environment (Command-Line Interface)

  1. Log in as superuser.

  2. Type:


    # lurename -e  BE_name -n  new_name
    

    -e BE_name

    Specifies the inactive boot environment name to be changed. 

    -n new_name

    Specifies the new name of the inactive boot environment. 

    In this example, second_disk is renamed to third_disk.


    # lurename -e  second_disk  -n  third_disk