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

Get version of this tool.

-get_boot_order

Get the boot devices list.

-set_boot_order

Set the boot devices list.

-set_boot_override

Set the first boot device for the next boot.

-get_bios_settings

Get setup configuration from BIOS.

-set_bios_settings

Get setup configuration to BIOS ROM.

-get_CMOS_dump

Get 256 bytes CMOS of set up data from BIOS.

-set_CMOS_dump

Set 256 bytes of CMOS set up data to BIOS.

-v

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 filename.xml.

biosconfig -get_version > filename.xml

Outputs to filename.xml.

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 filename.xml.

biosconfig -set_bios_settings < filename.xml

Takes input from filename.xml.

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.