Go to main content

Booting and Shutting Down Oracle® Solaris 11.4 Systems

Exit Print View

Updated: August 2018
 
 

SPARC: How to Boot From an Alternate Operating System or 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 Features.

  1. Bring the system to the ok PROM prompt.
    $ init 0
  2. Display a list of available boot environments.
    ok boot -L
  3. From the list, select an entry as prompted.

    Based on your selected entry, a command instruction is provided.

  4. Type the command as provided in the instruction.
    ok boot -Z rpool/ROOT/boot-environment
Example 19  SPARC: Booting From an Alternate Boot Environment

In the example, s11.3_backup2 is selected to be the alternate boot environment for booting. The corresponding command is then provided. After you type the command at the ok prompt, the system is booted from the selected BE and displays the login prompt.

The screen output is truncated to show only relevant parts in bold.

$ init 0
.
ok boot -L
.
.
1 Oracle Solaris 11.3 SPARC
2 s11.3_backup
3 s11.3_backup2
Select environment to boot: [ 1 - 3 ]: 3

To boot the selected entry, invoke:
boot [<root-device>] -Z rpool/ROOT/s11.3_backup2

ok boot -Z rpool/ROOT/s11.3_backup2
.
system-28 console login: