Run diagnostics at OpenBoot:
Stop-D
Set NVRAM settings:
At ok prompt, use “printenv” to get copy of settings first!
Stop-N (hold till keyboard LEDs flash)
Abort: use Stop-A
Disable the abort (Stop-A) sequence within Solaris to prevent file system corruption and provide tighter security:
# vi /etc/default/kbd
Set:
KEYBOARD_ABORT=disable
Run:
# kbd -i
Display environment variables:
printenv
[Note, if variable ends in a "?", it is usually boolean]
Setting environment variables:
setenv variable value
reset-all
Force default for all environment variables:
set-defaults
Force default for a specific environment variables:
set-defaults variable
Perform a boot reconfigure (creates new device entries in /devices and /dev directories and updates /etc/path_to_inst file)
boot -r (displays detailed device information to console, use for troubleshooting boot!)
boot -rv
Boot to single user:
boot -s (displays detailed boot information to console, use for troubleshooting boot!)
boot -sv
Access OpenBoot help:
help
help boot
help nvramrc
help diag
help misc
Find a specific OpenBoot command:
sifting name
i.e. sifting probe (displays all commands with “probe” in it)
Probe a bus:
Note:
- If Solaris has loaded into memory when the system was aborted, the probe will hang the system; avoid the hang by using:
setenv auto-boot? false
reset-all
- Before running, use “.registers” and if any values are non-zero, a probe will hang the system
probe-scsi
probe-ide
Display the device tree:
show-devs
List device aliases:
devalias
Display disks:
show-disks
(use show-disks to select a device – this is then available using CTRL+Y rather than typing the path!)
Set device aliases:
nvalias aliasname device_path
or
show-disks (selecting the disk)
nvalias aliasname CTRL+Y
Set the boot-device parameter to boot the system:
setenv boot-device aliasname
Unsetting device aliases:
nvunalias aliasname
This post is tagged Commands, OpenBoot, PROM, Sun Microsystems



















No Comments
Leave a Reply