JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Booting and Shutting Down Oracle Solaris 11.1 Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Booting and Shutting Down a System (Overview)

2.  x86: Administering the GRand Unified Bootloader (Tasks)

3.  Shutting Down a System (Tasks)

4.  Booting a System (Tasks)

5.  Booting a System From the Network (Tasks)

SPARC: Booting a System From the Network

SPARC: Network Boot Processes

SPARC: Requirements for Booting a System From the Network

SPARC: Setting Network Boot Arguments in the OpenBoot PROM

SPARC: How to Specify Network Boot Arguments in the OpenBoot PROM

SPARC: Setting Up an NVRAM Alias to Automatically Boot by Using DHCP

SPARC: How to Boot a System From the Network

x86: Booting a System From the Network

x86: Requirements for Booting a System From the Network

x86: Where the GRUB 2 PXE Boot Image Is Installed

x86: Booting Systems With UEFI and BIOS Firmware From the Network

x86: How to Boot a System From the Network

6.  Troubleshooting Booting a System (Tasks)

Index

SPARC: Booting a System From the Network

The following procedures are provided in this section:

You might need to boot a system from the network for the following reasons:

The network configuration boot strategy that is used in Oracle Solaris is the Dynamic Host Configuration Protocol (DHCP).

For general information about how DHCP works in this Oracle Solaris release and specific information about setting up a DHCP server, see Part III, DHCP, in System Administration Guide: IP Services.

SPARC: Network Boot Processes

For network devices, the process of booting over a local area network (LAN) and booting over a WAN is slightly different. In both network boot scenarios, the PROM downloads the booter from a boot server or an install server, which is inetboot in this case.

When booting over a LAN, the firmware uses DHCP to discover either the boot server or the install server. The Trivial File Transfer Protocol (TFTP) is then used to download the booter, which is inetboot in this case.

When you are booting over a WAN, the firmware uses either DHCP or NVRAM properties to discover the install server, the router, and the proxies that are required for the system to boot from the network. The protocol that is used to download the booter is HTTP. In addition, the booter's signature might be checked with a predefined private key.

SPARC: Requirements for Booting a System From the Network

Any system can boot from the network, if a boot server is available. You might need to boot a stand-alone system from the network for recovery purposes, if the system cannot boot from the local disk.

SPARC: Setting Network Boot Arguments in the OpenBoot PROM

The network-boot-arguments parameter of the eeprom utility enables you to set configuration parameters to be used by the PROM when you perform a WAN boot. Setting network boot arguments in the PROM takes precedence over any default values. If you are using DHCP, these arguments also take precedence over configuration information that is provided by the DHCP server for the given parameter.

If you are manually configuring an Oracle Solaris system to boot from the network, you must provide the client system with all of the necessary information for the system to boot.

Information that is required by the PROM includes the following:

In addition, you might be required to provide the subnet mask and IP address of the default router to be used.

The syntax to use for network booting is as follows:

[protocol,] [key=value,]*
protocol

Specifies the address discovery protocol that is to be used.

key=value

Specifies configuration parameters as attribute pairs.

The following table lists the configuration parameters that you can specify for the network-boot-arguments parameter.

Parameter
Description
tftp-server
IP address of the TFTP server
file
File to download by using TFTP or URL for WAN boot
host-ip
IP address of the client (in dotted-decimal notation)
router-ip
IP address of the default router (in dotted-decimal notation)
subnet-mask
Subnet mask (in dotted-decimal notation)
client-id
DHCP client identifier
hostname
Host name to use in the DHCP transaction
http-proxy
HTTP proxy server specification (IPADDR[:PORT])
tftp-retries
Maximum number of TFTP retries
dhcp-retries
Maximum number of DHCP retries

SPARC: How to Specify Network Boot Arguments in the OpenBoot PROM

Before You Begin

Complete any preliminary tasks that are required for booting a system from the network. For more information, see SPARC: Requirements for Booting a System From the Network.

  1. On the system that is to be booted from the network, Assume the root role.

    See How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Specify the appropriate values for the network-boot-arguments parameter.
    # eeprom network-boot-arguments="protocol,hostname=hostname"

    For example, to use DHCP as the boot protocol and a host name of mysystem.example.com, you would set the values for the network-boot-arguments parameter as follows:

    # eeprom network-boot-arguments="DHCP,hostname=mysystem.example.com"
  3. Bring the system to the ok PROM prompt.
    # init 0
  4. Boot the system from the network.
    ok boot net

    Note - When you specify the network-boot-arguments parameter in this way, there is no need to specify the arguments from the PROM command line. Doing so will ignore any other values set for the network-boot-arguments parameter that you have might have specified.


SPARC: Setting Up an NVRAM Alias to Automatically Boot by Using DHCP

In Oracle Solaris 11, DHCP is the network configuration boot strategy that is used when booting from the network to install Oracle Solaris. To boot a system from the network with DHCP, a DHCP boot server must be available on your network.

You can specify that a SPARC based system boot by using the DHCP protocol when you run the boot command. Or, you can save the information across system reboots at the PROM level by setting up an NVRAM alias.

The following example uses the nvalias command to set up a network device alias for booting with DHCP by default:

ok nvalias net    /pci@1f,4000/network@1,1:dhcp

As a result, when you type boot net, the system boots by using DHCP.


Caution

Caution - Do not use the nvalias command to modify the NVRAMRC file, unless you are very familiar with the syntax of this command and also the nvunalias command.


SPARC: How to Boot a System From the Network

Before You Begin

  1. Assume the root role.

    See How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. If necessary, bring the system to the ok PROM prompt.
    # init 0
  3. Boot the system from the network without using the ”install ”flag.
    ok boot net:dhcp

    Note - If you have changed the PROM setting to boot with DHCP by default, you only have to specify boot net, as shown here:

    ok boot net