Read BootPROM settings from the Solaris command line

Home -> UNIX -> Solaris -> System administration

11205 views

From the computer of: qmchenry (338 recipes)
Created: Oct 11, 2003     Updated: Jul 19, 2004


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

The ability to view BootPROM settings from the command line with eeprom prevents the need to boot to run level 0 just to check those environment variables.

To read all BootPROM variables and their current settings, run:

eeprom


To view a specific variable such as auto-boot?, use:

eeprom "auto-boot?"


Enclosing the parameter in quotes is necessary in this case because the shell would otherwise interpret the question mark as a wildcard. The question mark must be escaped either by enclosing in quotes or by preceeding it with a backslash, as in

eeprom auto-boot\?



See also: See also: Change BootPROM settings from the Solaris command line

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Change BootPROM settings from the Solaris command line
  Solaris/SPARC: remove a devalias with nvunalias
  Solaris/SPARC: create a devalias with nvalias
  Configure Solaris for DNS resolution of hostnames
  Troubleshoot SCSI devices with probe-scsi-all
  Solaris 10: connect or login to zone console
  Boot Solaris from CD-ROM to solve problems
  Configure unique MAC addresses on multiple interfaces
  Solaris 10: shutdown or stop a zone
  Solaris 10: enable NFS server

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.