How to set boot-device with luxadm command (Doc ID 1001799.1)

Last updated on APRIL 06, 2017

Applies to:

Solaris Operating System - Version 8.0 and later
All Platforms

Goal

 This procedure demonstrates how to easily use the "luxadm" command to set the "boot-device" Open Boot Prom (OBP) parameter from a system booted from
cdrom or in single user mode.

The command will change the "boot-device" setting at the OS level and at the same time, change the "boot-device" setting at the OBP level.
This procedure enables the "boot-device" to easily be changed for systems with storage devices whose device paths are not one of the built-in OBP
boot aliases (disk, disk1, etc.).

This procedure is very beneficial because it accurately sets the boot device path without using the devalias command or typing the entire prom
level hardware path to the root file system. This can be very difficult especially since users often do not have the World Wide Number (WWN) for
the root disk.

This procedure is included in the Platform Notes: Using luxadm Software, available in the Sun Hardware Documentation  sets for the Solaris Operating System, versions 2.5.1 HW 11/97 through 10.
The Platform Notes and other Solaris documentation is available at http://docs.oracle.com

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms