3.1 Installation Boot Options

You can specify options for an installation by editing the boot command line, for example to specify the network settings. You access the boot command line by selecting an installation option in the boot menu and then pressing either the E key (UEFI-based systems) or the Tab key (BIOS-based systems). A prompt is displayed, which enables you to edit the boot options that are already defined and add your own options.

Note

On BIOS-based systems, you can press the Esc key instead of the E key to display the boot: prompt, which does not contain any predefined boot options. You must enter linux to load the predefined boot options before appending with your own options.

When you edit the boot command line, separate each boot option with a space. Some options have parameters, which must be specified with the option=parameter syntax.

To discard your changes and return to the boot menu, press Esc. To start the installation using the customized boot options, press either Ctrl+X (UEFI-based systems) or Return (BIOS-based systems).

In the following example, boot options are used to specify that the installation should use the full installation ISO image stored on an NFS share, that the installation should be automated using a kickstart file stored on an NFS share, and that the network interfaces should be configured using DHCP:

inst.repo=nfs:nfs.example.com:/ISOs/OL7/full_image.iso \
inst.ks=nfs:nfs.example.com:/kickstart/OL7/server-ks.cfg ip=dhcp

For a list of the available boot options, see the following:

Note

If you are upgrading from a previous release, check the above documentation for removed and deprecated boot options. Starting with the Oracle Linux 7 release, an inst. prefix has been added to the installation program boot options, but the prefix is currently not enforced.

The following are some of the most commonly used boot options:

Boot Options for Specifying the Installation Type

inst.graphical

Specifies a graphical-based installation.

inst.text

Specifies a text-based installation, see Section 3.3, “Text-Based Installations”.

Boot Options for Specifying the Installation Source

inst.repo=cdrom[:device]

Specifies a CD or DVD drive as the location that contains everything needed to install the software.

The installation program searches all the system's CD or DVD drives, unless a device is specified.

If access to a network is required and no network boot options are specified, the installation program enables DHCP on all available network devices.

inst.repo=ftp://user:password@FTP_server/path

Specifies an FTP server as the location that contains everything needed to install the software.

If access to a network is required and no network boot options are specified, the installation program enables DHCP on all available network devices.

inst.repo=hd:device:path

Specifies a local disk as the location that contains everything needed to install the software.

You can specify the device by its device name (sdb2), label (LABEL=label), or UUID (UUID=uuid).

inst.repo=[http:|https:]//HTTP_server/path

Specifies a web server as the location that contains everything needed to install the software. If your system has access to the Internet, you can use the base repository on the Oracle Linux yum server for the Oracle Linux release that you are installing. For example, you could set this value to https://yum.oracle.com/repo/OracleLinux/OL7/6/base/x86_64

inst.repo=nfs:[options:]NFS_server:path

Specifies an NFS share as the location that contains everything needed to install the software.

Use options to specify a comma-separated list of NFS mount options.

The NFS share can be the path to an ISO image or a directory.

inst.stage2=[installation_source]

Specifies the location to fetch the installer runtime image; packages are ignored. If this option is not specified, inst.repo is used instead. The path specified for installation_source can match any of the protocol and path options used for inst.repo.

The directory path specified for the installation_source should contain a valid .treeinfo file that specifies the location of the runtime image. If a .treeinfo file is not present at the source, the installer uses LiveOS/squashfs.img as the default location at the specified source.

Note that when specifying a remote runtime image using the inst.stage2 option while performing a network boot using the Unbreakable Enterprise Kernel boot and installation ISO, you must use the same ISO for the installation repository. Do not attempt to use the standard Oracle Linux 7 ISO image for x86_64 (64 bit) as the installation repository when using the runtime image from the Oracle Linux 7 UEK Boot ISO image for x86_64 (64 bit) .

Boot Options for Configuring the Network

ip=[interface:]dhcp|dhcp6|auto6|ibft

Specifies a network automatic configuration method. If interface is not specified, all interfaces are configured. Use ibft to use the MAC address of the interface specified by the iSCSI Boot Firmware Table (iBFT) in the system BIOS or firmware.

ip=ip::gateway:netmask:hostname:interface:none

Specifies a static IP configuration for interface. Enclose IPv6 addresses in square brackets, for example [2509:f0d0:1001::0004].

nameserver=IP

Specifies the IP address of a DNS server to use during installation. Multiple nameserver options can be used.

bootdev=interface

Specifies the primary network interface. Required if you use more than one ip option.

inst.dhcpclass

Specifies a vendor class identifier to DHCP.

Boot Options for Kickstart Installations

inst.ks=cdrom[:device]/path

Specifies a kickstart file on a CD or DVD drive.

inst.ks=ftp://user:password@FTP_server/path

Specifies a kickstart file on an FTP server.

inst.ks=hd:device:path

Specifies a kickstart file a local disk.

You can specify the device by its device name (sdb2), label (LABEL=label) or UUID (UUID=uuid).

inst.ks=[http:|https:]//HTTP_server/path

Specifies a kickstart file on a web server.

inst.ks=nfs:[options:]NFS_server:path

Specifies a kickstart file on an NFS share.

Use options to specify a comma-separated list of NFS mount options.

Boot Options for Remote Installations

inst.vnc

Enables remote graphical-based installation by starting a VNC server.

A VNC client can connect by using a command such as vncviewer server:port , where server is the IP address of the system being installed.

After installation, the system starts in text mode even if a graphical desktop environment is selected as the base environment.

inst.vncconnect=client[:port]

Specifies the VNC client and optional port that is listening for connections from a VNC server (vncviewer -listen). The default port is 5900.

inst.vncpassword=password

Specifies the password for client connections using VNC.

Miscellaneous Boot Options

inst.keymap=layout

Specifies the keyboard layout for installation.

inst.lang=language

Specifies the language for installation.

loglevel=level

Specifies the logging level for installation: critical, debug, error, info, or warning. The default level is info.