System Administration Guide

x86: How to Boot a System to Run Level S (Single-User State)

  1. Press any key to reboot the system if the system displays the type any key to reboot prompt. Or, use the reset button to restart the system if the system is shutdown.

    The Solaris boot option screen is displayed after a few minutes.

  2. Type b -s to boot the system to run level S. Press Return.

    If you do not make a selection within 5 seconds, the system is automatically booted to run level 3.

  3. Type the superuser password, if prompted.

  4. Verify the system is at run level S by using the who -r.


    # who -r
       .         run-level S  Nov 10 13:59     S    0  3
  5. Perform the maintenance task that needed the run level change to S.

  6. Press Control-d to bring the system back to run level 3.

x86: Example--Booting a System to Run Level S (Single-User State)


type any key to reboot
            .
            .
            .
                     <<< Current Boot Parameters >>>
Boot path: /isa/ata@1f0,0/cmdk@0,0:a
Boot args: 
 
Type    b [file-name] [boot-flags]   to boot with options
or      i                            to enter boot interpreter
or                                   to boot with defaults
 
                  <<< timeout in 5 seconds >>>
Select (b)oot or (i)nterpreter: b -s
              .
 
              .
 
              .
INIT: SINGLE USER MODE
Type Ctrl-d to proceed with normal startup,
(or give root password for system maintenance):  xxx
# who -r
.       run-level S  Aug  4 13:11     S      0  3
(Perform some maintenance task)
# Press <Control-d>