JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Basic Administration     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Managing User Accounts and Groups (Overview)

2.  Managing User Accounts and Groups (Tasks)

3.  Introduction to Shutting Down and Booting a System

4.  Shutting Down and Booting a System (Overview)

5.  Shutting Down a System (Tasks)

6.  Modifying Oracle Solaris Boot Behavior (Tasks)

7.  Booting an Oracle Solaris System (Tasks)

Booting a SPARC Based System (Task Map)

Booting a SPARC Based System

SPARC: How to Boot a System to Run Level 3 (Multiuser Level)

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

SPARC: How to Boot a System Interactively

SPARC: How to Boot a Kernel Other Than the Default Kernel

SPARC: Booting From a Specified ZFS Root File System

SPARC: How to List Available Bootable Datasets Within a ZFS Root Pool

SPARC: How to Boot From a Specified ZFS Root File System

Booting a SPARC Based System From the Network

SPARC: How to Boot a System From the Network

Booting an x86 Based System (Task Map)

Booting an x86 Based System

x86: How to Boot a System to Run Level 3 (Multiuser)

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

x86: How to Boot a System Interactively

x86: Booting From a Specified ZFS Root File System

x86: How to Display a List of the Available ZFS Boot Environments

x86: How to Boot From a Specified ZFS Root File System

Using Fast Reboot (Task Map)

Using Fast Reboot

How to Initiate a Fast Reboot of a SPARC Based System

How to Initiate a Fast Reboot of an x86 Based System

x86: How to Fast Reboot a System to the nth Entry in the GRUB menu.lst File

x86: Initiating a Fast Reboot of a System by Specifying an Alternate Boot Environment

Performing a Slow Reboot of a System

Managing the Boot Configuration Service

x86: Debugging Early Panics That Might Occur

x86: Troubleshooting Conditions That Might Prevent Fast Reboot From Working

Booting an x86 Based System from the Network

x86: About DHCP Macros

x86: How to Perform a GRUB Based Boot From the Network

8.  Troubleshooting Booting an Oracle Solaris System (Tasks)

9.  Managing the Oracle Solaris Boot Archives (Tasks)

10.  x86: GRUB Based Booting (Reference)

11.  Managing Services (Overview)

12.  Managing Services (Tasks)

Index

Booting an x86 Based System

x86: How to Boot a System to Run Level 3 (Multiuser)

Use this procedure to boot a system that is currently at run level 0 to run level 3.

  1. Reboot the system.
    # reboot

    If the system displays the Press any key to reboot prompt, press any key to reboot the system.

    You can also use the Reset button at this prompt. If the system is shut down, turn the system on with the power switch.

    When the boot sequence begins, the GRUB menu is displayed.

  2. When the GRUB menu is displayed, press Enter to boot the default OS instance.

    If you do not choose an entry within 10 seconds, the system automatically boots to run level 3.

    The login prompt is displayed when the boot process has finished successfully.

  3. Log in to the system.
    hostname console login:
  4. Verify that the system booted to run level 3.
    # who -r
    system% who -r
       .       run-level 3  Mar  2 09:44     3      0  S

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

Use this procedure to boot a system that is at run level 0 to run level S. The single-user level is used for performing system maintenance.


Note - This procedure can be used for all GRUB implementations. However, the boot entries in the GRUB main menu vary, depending on which Oracle Solaris release you are running.


For a description of all of the kernel options that you can specify at boot time, see x86: Modifying Boot Behavior by Editing the GRUB Menu at Boot Time.

  1. Reboot the system.
    # reboot

    If the system displays the Press any key to reboot prompt, press any key to reboot the system.

    You can also use the Reset button at this prompt. If the system is shut down, turn the system on with the power switch.

    When the boot sequence begins, the GRUB menu is displayed.

  2. When the GRUB main menu is displayed, type e to edit the GRUB menu.
  3. Depending on the release you are running, use the arrow keys to choose the kernel or kernel$ line.

    If you cannot use the arrow keys, use the caret key (^) key to scroll up and the letter v key to scroll down.

  4. Type e again to edit the boot entry.

    From here, you can add options and arguments to the kernel or kernel$ line.

  5. To boot the system in single-user mode, type -s at the end of the boot entry line, then press Return to go back to the previous screen.
    • To specify other boot behaviors, replace the -s option with the appropriate boot option.

      The following alternate boot behaviors can be specified in this manner:

      • Perform a reconfiguration boot

      • Boot a 64-bit capable system in 32-bit mode

      • Boot the system with the kernel debugger

      • Redirect the console

      For more information, see the boot(1M) man page.

  6. To boot the system in single-user mode, type b.
  7. When prompted, type the root password.

    Note - You might need to also enter a user name before entering the root password. The account name can be root or any other privileged account, such as “jack” on the Live CD, or an account that you created during the installation.


  8. Verify that the system is at run level S.
    # who -r
    .       run-level S  Jun 13 11:07     S      0  0
  9. Perform the system maintenance task that required the run level change to S.
  10. After you complete the system maintenance task, reboot the system.

x86: How to Boot a System Interactively

Use this procedure to boot a system, if you need to specify an alternate kernel or an alternate /etc/system file.

Before You Begin

To specify an alternate /etc/system file when booting an x86 based system interactively by using the boot -a command, follow these steps:

  1. Reboot the system.
    # reboot

    If the system displays the Press any key to reboot prompt, press any key to reboot the system.

    You can also use the Reset button at this prompt. If the system is shut down, turn the system on with the power switch.

    When the boot sequence begins, the GRUB main menu is displayed.

  2. To access the GRUB edit menu, type e.
  3. Use the arrow keys to select the kernel or kernel$ line.
  4. Type e to edit the boot entry line.
  5. Type -a to boot the system interactively, then, press Enter to return to the previous menu.
  6. To boot the system interactively, type b.
  7. Type a default directory for modules, or press Enter to accept the default.
    Enter default directory for modules [/platform/i86pc/kernel /kernel /usr/kernel]:
  8. Type an alternate system file name, alternate-file.
    Name of system file [etc/system]: /etc/system.bak

    Pressing Enter without providing an alternate file accepts the default.

    Repair the damaged /etc/system file.

  9. Reboot the system to run level 3.