Use the ludelete command to remove a boot environment. Note the following limitations.
You cannot delete the active boot environment or the boot environment that is activated on the next reboot.
The boot environment to be deleted must be complete. A complete boot environment is not participating in an operation that will change its status. Use Displaying the Status of All Boot Environments to determine a boot environment's status.
You cannot delete a boot environment that has file systems mounted with lumount.
x86 only: Starting with the Solaris 10 1/06 release, you cannot delete a boot environment that contains the active GRUB menu. Use the lumake or luupgrade commands to reuse the boot environment. To determine which boot environment contains the active GRUB menu, see Chapter 14, Managing the Solaris Boot Archives (Tasks), in System Administration Guide: Basic Administration.
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.
Type:
# ludelete BE_name |
Specifies the name of the inactive boot environment that is to be deleted
In this example, the boot environment, second_disk, is deleted.
# ludelete second_disk |