Use this procedure to boot a system that is currently at run level 0 to run level S. This run level is used for system maintenance tasks, such as backing up a file system.
Boot the system to run level S.
ok boot -s |
Type the superuser password when the following message is displayed:
SINGLE USER MODE Root password for system maintenance (control-d to bypass): xxxxxx |
Verify that the system is at run level S.
# who -r |
Perform the maintenance task that required the run level change to S.
After you complete the system maintenance task, type Control-D to bring the system to the multiuser state.
The following example displays the messages from booting a system to run level S.
ok boot -s . . . Sun Microsystems Inc. SunOS 5.10 Version Generic_120012-14 32-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. configuring IPv4 interfaces: hme0. Hostname: starlite SINGLE USER MODE Root password for system maintenance (control-d to bypass): xxxxxx single-user privilege assigned to /dev/console. Entering System Maintenance Mode Oct 14 15:01:28 su: 'su root' succeeded for root on /dev/console Sun Microsystems Inc. SunOS 5.10 # who -r . run-level S Sep 19 08:49 S 0 ? (Perform some maintenance task) # ^D |