Reboot command-line examples, Using setbootorder, Setbootorder command-line syntax – HP Intelligent Provisioning User Manual

Page 24: Setbootorder command-line arguments, Setbootorder return codes, Setbootorder command-line examples, Using statemgr

Advertising
background image

REBOOT command-line examples

Description

Command-line argument

This command reboots the system to the A: drive.

REBOOT A:

This command reboots the system by itself to the PXE NIC.

REBOOT PXE

Using SETBOOTORDER

SETBOOTORDER enables you to set the order in which devices are booted, including diskette
drives, CD-ROM 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

“Using CONREP” (page 30)

.

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.

24

Scripting Toolkit utilities

Advertising