Wednesday, January 10, 2007

Booting Options and Using EEPROM

Booting Options and Using EEPROM

by Jeff Hunter, Sr. Database Administrator

EEPROM Command

The eeprom command is located in /usr/sbin/eeprom. The eeprom command is used to display or change the values of parameters in the EEPROM. It processes parameters in the order given. When processing a parameter accompanied by a value, eeprom makes the indicated alteration to the EEPROM; otherwise it displays the parameter's value. When given no parameter specifiers, eeprom displays the values of all EEPROM parameters. A '-' (hyphen) flag specifies that parameters and values are to be read from the standard input (one parameter or parameter = value per line). Only the super-user (root) may alter the EEPROM contents.
When the eeprom command is executed in user mode, the parameters with a trailing question mark (?) need to be enclosed in double quotation marks (" ") to prevent the shell from interpreting the question mark. Preceding the question mark with an escape character (\) will also prevent the shell from interpreting the question mark.
The remainder of this section descibes some of the common usages of the eeprom command in Solaris.
Query Values
To query all current EEPROM values, simply use the eeprom command with no arguments. If you only want to determine one EEPROM value, specify it as an argument. Here are two examples of using the eeprom command:
# eeprom auto-boot? auto-boot?=true # eeprom test-args: data not available. diag-passes=1 pci-probe-list=7,c,3,8,d,13,5 local-mac-address?=false fcode-debug?=false ttyb-rts-dtr-off=false ttyb-ignore-cd=true ttya-rts-dtr-off=false ttya-ignore-cd=true silent-mode?=false scsi-initiator-id=7 oem-logo: data not available. oem-logo?=false oem-banner: data not available. oem-banner?=false ansi-terminal?=true screen-#columns=80 screen-#rows=34 ttyb-mode=9600,8,n,1,- ttya-mode=9600,8,n,1,- output-device=screen input-device=keyboard load-base=16384 auto-boot?=true boot-command=boot diag-file: data not available. diag-device=disk net boot-file: data not available. boot-device=disk net use-nvramrc?=false nvramrc: data not available. security-mode=none security-password: data not available. security-#badlogins=0 mfg-mode=off diag-level=max diag-switch?=false error-reset-recovery=boot
auto-boot?
Used to control the auto-boot feature. This option controls whether the system directly boots up. You can disable auto-boot so next time it stays at the ok prompt for starting installations. Use the following command and reboot the system:
# eeprom "auto-boot?"=false

No comments: