Go to main content

SPARC M8 and SPARC M7 Servers Administration Guide

Exit Print View

Updated: September 2017
 
 

Change the Default Boot Device (OpenBoot)

Use this procedure to configure OpenBoot to boot from a specific device. This change is permanent, but it takes effect only after a reset.

You must have the console role (c) and the admin role (a) to complete this task.

  1. Log in to Oracle ILOM.

    See Log In to Oracle ILOM (CLI).

  2. Start the host console.

    See Start the Host Console.

  3. If necessary, start the host.

    See Start a Host.

  4. Get to the ok prompt.

    See Accessing the OpenBoot Prompt.

  5. If you want to use a known device, determine the name of the boot device.

    To see the names of devices, type:

    {0} ok devalias
  6. Configure the boot-device variable with the correct boot device.
    {0} ok setenv boot-device boot-device

    where boot-device is a valid device alias from Step 5 or a valid device path from which to boot.


    Caution

    Caution  -  If you plan to use a boot disk that is part of an FC array to install the OS in a hands-free manner, you must change the device path. In the device path, you must replace disk@ with ssd@. For example, the following device path, /pci@312/pci@1/SUNW,emlxs@0/fp@0,0/disk@w5000cca0172afb6d,0:a should be: /pci@312/pci@1/SUNW,emlxs@0/fp@0,0/ssd@w5000cca0172afb6d,0:a


  7. Verify the change.
    {0} ok printenv boot-device

Related Information