System Administration Guide: Basic Administration

ProcedureSPARC: How to Determine the Default Boot Device

  1. Bring the system to the ok PROM prompt.

    For more information, see How to Shut Down a Stand-Alone System.

  2. Use the printenv command to determine the default boot device.


    ok printenv boot-device
    
    boot-device

    Identifies the parameter for setting the device from which to boot.

    device[n]

    Identifies the boot-device value such as a disk or the network. The n can be specified as the disk number.

    The default boot-device is displayed in a format that is similar to the following:

    boot-device = /pci@1f,4000/scsi@3/disk@1,0:a

    If the default boot-device is a network boot device, the output is similar to the following:

    boot-device = /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a \
    /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0:a disk net