How to boot a Solaris system without starting any services

If you end up in a situation with problems when starting services occur, or sometimes a system hangs during the boot process. Then this article provides simple troubleshoot steps to resolve the problem.

  1. Boot without starting any services
    ok boot -m milestone=none
    This command instructs the svc.startd daemon to temporarily disable all services and start sulogin on the console.
  2. Log in to the system and become the root role.
  3. Enable all services:
    # svcadm milestone all
  4. When the boot process hangs, determine which services are not running and where the boot process is hanging.
    # svcs -a
  5. Check for error messages in the log files in /var/svc/log.
  6. After fixing the problems, verify that all services have started.
    1. Verify that all needed services are online.
      # svcs -x
    2. Verify that the console-login service dependencies are satisfied.
      # svcs -l system/console-login:default
      This command verifies that the login process on the console will run.
  7. Continue the normal boot process.