Solaris のシステム管理

x86: システムを実行レベル S (シングルユーザー状態) にする方法

  1. type any key to reboot プロンプトが表示された場合は、どれかキーを押してシステムをリブートします。システムがシャットダウンしている場合は、リセットボタンを使ってシステムを再起動します。

    Solaris ブートオプション画面が数分後に表示されます。

  2. システムを実行レベル S にするには、b -s を入力します。Return キーを押してください。

    5 秒以内に選択しないと、システムは自動的に実行レベル 3 になります。

  3. プロンプトが表示されたら、スーパーユーザーのパスワードを入力します。

  4. who -r を使用して、システムが実行レベル S になっていることを確認します。

    # who -r
       .         run-level S  Nov 10 13:59     S    0  3
  5. 実行レベルを s に変更する必要のあった原因について保守作業を行います。

  6. システムを実行レベル 3 に戻すには、Control-d を押します。

x86: 例 - システムを実行レベル S (シングルユーザー状態) にする

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
(保守作業を行う)
# Control-dを押す