Using setbootorder, Setbootorder command-line syntax, Setbootorder command-line arguments – HP Scripting Toolkit for Windows User Manual
Page 18: Setbootorder return codes, Setbootorder command-line examples, Using statemgr, Statemgr command-line syntax
Using SETBOOTORDER
SETBOOTORDER enables you to set the order in which devices are booted, including diskette
drives, CD-ROM or DVD drives, hard drives, PXE, and USB devices. This utility sets the boot order
only for devices that exist for a server. The devices can be set to boot in any order.
SETBOOTORDER cannot be used to set the storage controller order. You must use the CONREP
utility. For more information about setting the controller order, see
NOTE:
Any changes made to the SETBOOTORDER take affect at the next reboot. For HP ProLiant
servers with Oxx ROM Family (most 100 series servers), only one device can be set as the boot
device and others cannot be re-ordered. These Oxx servers do not support the default or usb
parameters.
SETBOOTORDER command-line syntax
setbootorder [floppy cdrom pxe hd usb | default] [/?]
SETBOOTORDER command-line arguments
Options are disabled if not listed in the argument.
Description
Command line argument
The order of these arguments sets the boot order for the
system devices. Each term can be used only once in any
floppy cdrom pxe hd usb
order. It is not necessary to use all terms. HP ProLiant 100
series servers can only pass in one option.
This argument resets the boot order to the factory default.
default
This argument displays help information.
/?
SETBOOTORDER return codes
Meaning
Value
The boot order was set successfully.
0
SETBOOTORDER command-line examples
Description
Command-line argument
This command sets the system devices to boot in this order:
CD-ROM drive, hard drive, PXE, USB, diskette drive.
SETBOOTORDER cdrom hd pxe usb floppy
This command sets the boot order to the factory default.
SETBOOTORDER default
Using STATEMGR
The STATEMGR utility enables the user to keep track of the execution state during system reboots.
This utility saves persistent state information across reboots of the system.
NOTE:
The STATEMGR utility is not supported on 100 series servers.
STATEMGR command-line syntax
STATEMGR [/R | -R] [EVNAME] [/?]
- or -
STATEMGR [/W | -W] [EVNAME] [VALUE] [/?]
18
Scripting Toolkit utilities