JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Booting and Shutting Down Oracle Solaris on SPARC Platforms     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Booting and Shutting Down a SPARC Based System (Overview)

2.  Booting a SPARC Based System to a Specified State (Tasks)

3.  Shutting Down a System (Tasks)

4.  Rebooting a SPARC Based System (Tasks)

Rebooting a SPARC Based System (Task Map)

Rebooting a SPARC Based System

How to Reboot a System by Using the init Command

How to Reboot a System by Using the reboot Command

Accelerating the Reboot Process on a SPARC Based System

How to Initiate a Fast Reboot of a SPARC Based System

Changing the Default Behavior of the Fast Reboot Feature

Initiating a Standard Reboot of a System That Has Fast Reboot Enabled

5.  Booting a SPARC Based System From the Network (Tasks)

6.  Modifying Boot Parameters on a SPARC Based System (Tasks)

7.  Creating, Administering, and Booting From ZFS Boot Environments on SPARC Platforms (Tasks)

8.  Keeping a SPARC Based System Bootable (Tasks)

9.  Troubleshooting Booting a SPARC Based System (Tasks)

Index

Rebooting a SPARC Based System

You can reboot a system by using either the init command or the reboot command.

The system is always running in one of a set of well-defined run levels. Run levels are also referred to as init states because the init process maintains the run level. The init command can be used to initiate a run level transition. When using the init command to reboot a system, run levels 2, 3, and 4 are available as multiuser system states.

The reboot command restarts the kernel. The kernel is loaded into memory by the PROM monitor, which transfers control to the loaded kernel. Although the reboot command can be used by the root user at anytime, in certain cases, as with the reboot of a server, the shutdown command is normally used first to warn all users who are logged in to the system of the impending loss of service. For more information, see Chapter 3, Shutting Down a System (Tasks).

How to Reboot a System by Using the init Command

The init command is an executable shell script that terminates all active processes on a system and then synchronizes the disks before changing run levels.

  1. Become the root role.
  2. Reboot the system.
    • To reboot the system to the state that is defined by the initdefault entry in the /etc/inittab file, type the following command:
      # init 6
    • To reboot the system to a multiuser state, type the following command:
      # init 2

Example 4-1 Bringing a System to a Single-User State (Run Level S) by Using the init Command

In this example, the init command is used to bring a system to a single-user state (run level S).

# init s
#
INIT: New run level: S
The system is coming down for administration.  Please wait.
Unmounting remote filesystems: /vol nfs done.
Print services stopped.
syslogd: going down on signal 15
Killing user processes: done. 

SINGLE USER MODE

Root password for system maintenance (control-d to bypass): xxxxxx
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
# 

How to Reboot a System by Using the reboot Command

  1. Become the root role.
  2. Reboot the system.
    # reboot