To make a persistent change to the boot order, modify the order of devices between the BOOT_DEVICE_PRIORITY tags of the XML file.
The following example shows an XML file from a Sun Blade X6275 server module (which has a built-in bootable InfiniBand interface) set to optimal defaults with a 1-GByte USB flash, a USB CD, and a dual Gig-Ethernet Express Module plugged in.
# biosconfig -get_boot_order filename.xml
The following is an example of the output of the XML file:
<?xml version="1.0" encoding="UTF-8"?> <BIOSCONFIG> <BIOSCONFIG_VERSION>2.1</BIOSCONFIG_VERSION> <SPEC_VERSION>2.4</SPEC_VERSION> <SP_NETWORK_CONFIG> <DISCOVERY></DISCOVERY> <IP></IP> <NETMASK></NETMASK> <GATEWAY></GATEWAY> </SP_NETWORK_CONFIG> <PASSWORD_CONFIG> <PASSWORD></PASSWORD> </PASSWORD_CONFIG> <BOOT_ORDER_OVERRIDE> <HELP_STRING>FIRST=Choose one of: pxe, cdrom, disk, floppy, bios, none</HELP_STRING> <FIRST></FIRST> <HELP_STRING>CLEAR_CMOS=Choose Yes, No or leave it empty, .....</HELP_STRING> <CLEAR_CMOS></CLEAR_CMOS> </BOOT_ORDER_OVERRIDE> <BOOT_DEVICE_PRIORITY> <Boot_Device_01> <DEVICE_NAME>USB:Port1:Memorex DVD+-RAM 510L v1</DEVICE_NAME> </Boot_Device_01> <Boot_Device_02> <DEVICE_NAME>SATA:3M-MRVLRD 200254-01SUN24G 0801</DEVICE_NAME> </Boot_Device_02> <Boot_Device_03> <DEVICE_NAME>USB:Port0:SanDisk Cruzer Contour</DEVICE_NAME> </Boot_Device_03> <Boot_Device_04> <DEVICE_NAME>IB:Slot2.F0:PXE:MLNX HCA IB 1.9.972 (PCI 07:00. </DEVICE_NAME> <PCI-B-D-F>07,00,00</PCI-B-D-F> </Boot_Device_04> <Boot_Device_05> <DEVICE_NAME>PXE:IBA GE Slot 00C8 v1324</DEVICE_NAME> <PCI-B-D-F>00,19,00</PCI-B-D-F> </Boot_Device_05> </BOOT_DEVICE_PRIORITY> </BIOSCONFIG>
# biosconfig -set_boot_order filename.xml