biosconfig Command Syntax
The biosconfig
command uses the following syntax:
biosconfig [-v] option [filename.xml]
When a command fails, it returns one of the failure codes listed in biosconfig Error Codes.
The following table lists the available biosconfig
options
and their descriptions.
Option | Description |
---|---|
|
Get version of this tool. |
|
Get the boot devices list. |
|
Set the boot devices list. |
|
Set the first boot device for the next boot. |
|
Get setup configuration from BIOS. |
|
Get setup configuration to BIOS ROM. |
|
Get 256 bytes CMOS of set up data from BIOS. |
|
Set 256 bytes of CMOS set up data to BIOS. |
|
Verbose mode. On some operations, this might provide additional information regarding operational status. Verbose mode is only valid if an XML input or output filename is provided. |
The following table lists examples of how the -get
and -set
command options affect input and output.
Command | Description |
---|---|
biosconfig -get_version |
Outputs to screen. |
biosconfig -get_version filename.xml |
Outputs to |
biosconfig -get_version > filename.xml |
Outputs to |
biosconfig -get_version | some-command |
Pipes the output to another command. |
biosconfig -set_bios_settings |
Takes input from standard in. |
biosconfig -set_bios_settings filename.xml |
Takes input from |
biosconfig -set_bios_settings < filename.xml |
Takes input from |
Note:
In the output examples in this chapter, all white space outside the XML elements, such as indentation, is optional. For example, see the output in Make a Persistent Change to Boot Order.
Parent topic: biosconfig Command Overview