System Administration Guide: Basic Administration

SPARC: How to Boot a System Interactively

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

  1. Boot the system interactively.


    ok boot -a
    
  2. Answer the system prompts as described in the following table.

    System Prompt 

    Action 

    Enter filename [kernel/[sparcv9]/unix]:

    Provide the name of kernel to use for booting. Or, press Return to use the default kernel. 

    Enter default directory for modules [/platform/`uname -i`/kernel /platform/`uname -m/kernel /kernel /usr/kernel]:

    Provide an alternate path for the modules directory. Or, press Return to use the default kernel modules directory.

    Name of system file [etc/system]:

    Provide the name of an alternate system file and press Return. Type /dev/null if your /etc/system file has been damaged. Or, press Return to use the default etc/system file.

    root filesystem type [ufs]:

    Press Return to use the default root (/) file system. Type UFS for local disk booting, or NFS for network booting.

    Enter physical name of root device

    [physical_device_name]:

    Provide an alternate device name and press Return. Or, press Return to use the default physical name of the root device.  

  3. If you are not prompted to answer the questions in the preceding table, verify that you typed the boot -a command correctly.

SPARC: Example—Booting a System Interactively

In the following example, the default choices (shown in square brackets []) are accepted.


ok boot -a
.
.
.
Rebooting with command: boot -a
Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a  File and args: -a
Enter filename [kernel/sparcv9/unix]: Press Return
Enter default directory for modules [/platform/SUNW,Ultra-5_10/kernel 
/platform/sun4u/kernel /kernel /usr/kernel]: Press Return
Name of system file [etc/system]: Press Return
SunOS Release 5.9 Version Generic 64-bit
Copyright (c) 1983-2002 by Sun Microsystems, Inc.
root filesystem type [ufs]: Press Return
Enter physical name of root device
[/pci@1f,0/pci@1,1/ide@3/disk@0,0:a]: Press Return
configuring IPv4 interfaces: hme0.
Hostname: starbug
The system is coming up.  Please wait.
checking ufs filesystems
.
.
.
The system is ready.
starbug console login: