Go to main content

Oracle® Server CLI Tools for Oracle Solaris 11.3 User's Guide

Exit Print View

Updated: April 2018

Make a Persistent Change to Boot Order

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.

  1. To create an XML file containing the current boot order of your system, type:

    # 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"?>
          <HELP_STRING>FIRST=Choose one of: pxe, cdrom, disk,
    floppy, bios, none</HELP_STRING>
          <HELP_STRING>CLEAR_CMOS=Choose Yes, No or leave it
    empty, .....</HELP_STRING>
          <DEVICE_NAME>USB:Port1:Memorex DVD+-RAM 510L v1</DEVICE_NAME>
          <DEVICE_NAME>SATA:3M-MRVLRD 200254-01SUN24G 0801</DEVICE_NAME>
          <DEVICE_NAME>USB:Port0:SanDisk Cruzer Contour</DEVICE_NAME>
          <DEVICE_NAME>IB:Slot2.F0:PXE:MLNX HCA IB 1.9.972 (PCI 07:00.
          <DEVICE_NAME>PXE:IBA GE Slot 00C8 v1324</DEVICE_NAME>
  2. Edit the device names displayed between the <DEVICE_NAME> tags so that the devices are listed in the desired boot order.
  3. To set the boot order, type:

    # biosconfig -set_boot_order filename.xml