56 SPARC Enterprise T5140 and T5240 Servers Installation Guide • February 2008

To Boot the Solaris Operating System

1. At the ok prompt, boot from the disk that contains the Solaris OS.
If you know which disk to boot from, skip this step and perform Step2.
If you need to determine which disk to boot from, issue the show-disks
command at the ok prompt to see the path to the configureddisks, similar to the
following:
2. Type the boot command at the ok prompt.
Use the value from Step1 toconstruct the boot command. You must append the
target to the disk path.
In the following example, the server is booted from disk 0 (zero) on a SPARC
Enterprise T5140 server.

To Avoid Booting the Solaris Operating System

at Start Up
In hard drive HDD0, the Solaris OS is preinstalled.
If you do not want to start the preinstalled OS, set the Open Boot PROM
parameter auto-boot? to false. For example:
ok show-disks
a) /pci@0/pci@0/pci@2/scsi@0/disk
b) /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/storage@2/disk
q) NO SELECTION Enter Selection, q to quit: q
ok
ok boot disk0
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0 File and args:
SunOS Release 5.10 Version Generic_127127-03 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: hostname
NIS domain name is x.x.x.x
hostname console login:
-> set /HOST/bootmode script="setenv auto-boot? false"