2.4 Configuring System Storage and Networking

This section describes how to use the options in the System section of the Installation Summary screen.

Choosing Where to Install the Software and Configuring Storage

To choose where to install the software and to configure the storage, click the Installation Destination option on the Installation Summary screen to display the Installation Destination screen. Figure 2.9 shows the options on this screen.

Figure 2.9 Installation Destination

On this screen, you select the local disks and other storage you want to use for the installation, and configure the partitioning and file system types you want to use. The installation program does not make any changes to any of the disks and storage until you click Begin Installation on the Installation Summary screen.

First, choose the devices on which you want to install Oracle Linux:

  • In the Local Standard Disks section, select the local disks you want to use for the installation by clicking on them. A Tick icon is displayed next to the disks you have selected.

  • In the Specialist & Network Disks section, you can select hardware RAID, iSCSI or Fibre Channel over Ethernet (FCoE) storage devices. Click Add Disk to display the options for adding and configuring these device types.

Next, select how you want to partition the selected disks automatically or manually. By default, the Automatically configure partitioning option is selected. Automatic disk partitioning creates the following layout on the selected disks:

  • A standard partition for an XFS file system mounted at /boot. This partition is sized to 500 MiB by default, or 1 GiB on systems running Oracle Linux 7 Update 3 or later.

  • A 200 MiB EFI system partition mounted at /boot/efi (UEFI-based systems only).

  • A partition in the remaining disk space configured as a Logical Volume Manager (LVM) physical volume for an LVM volume group that contains:

    • A logical volume for an XFS file system for the root file system (/).

    • A logical volume for an XFS file system for the /home file system (if the selected disks are larger than 50 GiB in total).

    • A logical volume for a swap partition.

With automatic partitioning, you might not have sufficient space to install the software if the disk is already partitioned. The information at the bottom of the screen tells you how much disk space is needed for the software you have selected. To free some disk space, select I would like to make additional space available and click Done. The Reclaim Disk Space window is displayed, as shown in Figure 2.10. You are also prompted to free disk space if you click Done and there is insufficient space.

Select the partitions you want to use, then click Delete, Shrink, or Delete all to free disk space, and then click Reclaim Space.

If you want full control over how the disks are partitioned or the file system types used, you must partition the disks manually by selecting I will configure partitioning. The options for partitioning are displayed when you click Done. You can partition disks using standard partitions, btrfs, LVM logical volumes, or LVM thin provisioning. For an example of how to partition disks manually, see Section 3.4, “Installing a System With a Btrfs root File System”

If you select Encrypt my data on the Installation Destination screen, you are prompted to enter a passphrase for the encryption when you click Done. This option encrypts all the disk partitions, except the partition that contains /boot, using Linux Unified Key Setup (LUKS). If a partition is encrypted, you cannot access data on the partition without entering the passphrase. If you lose this passphrase, you cannot recover the data on the disk. If you only want to encrypt particular partitions, you must partition the disks manually. There are some important issues when encrypting data:

  • For LVM, selecting Encrypt my data encrypts the LVM physical volume and all the logical volumes that it contains. If you do not select Encrypt my data, you can encrypt the logical volume by selecting the Encrypt check box on the Manual Partitioning screen or encrypt the physical volume by selecting the Encrypt check box on the Configure Volume screen.

  • For btrfs, encryption can only be applied to the block device that contains the file system, including its subvolumes. For example, enabling encryption for the /home subvolume of a btrfs root file system implicitly enables encryption for the root file system itself. You can only select the Encrypt check box on the Configure Volume screen. Because btrfs does not support encryption at the file-system level, you cannot select the Encrypt check box on the Manual Partitioning screen for a btrfs file system.

  • Do not select the Encrypt check box or a BTRFS, LVM, or LVM Thin Provisioning device type for the /boot file system. The /boot file system must be configured on a standard partition and should be of the type, ext4 or XFS.

Oracle Linux uses the Grand Unified Bootloader version 2 (GRUB 2) boot loader as the default boot loader. The boot loader runs when the system starts and loads the kernel, without the need for boot media. By default, GRUB 2 is installed in either the master boot record (MBR) or the GUID partition table of the device that contains the root (/) file system. Click Full disk summary and bootloader to change the location of GRUB 2 or to prevent its installation. For UEFI-based systems, the GPT is always used. For BIOS-based systems (including UEFI-based systems in legacy BIOS mode), by default the MBR is used if the disk size is less than 2 TiB, otherwise the GPT is used.

Click Done to save your configuration and return to the Installation Summary screen.

Configuring Kdump

To configure Kdump, click the Kdump option on the Installation Summary screen, the Kdump window is displayed. Figure 2.11 shows the options on this screen.

In the event of a system crash, Kdump captures information that assists in determining the cause. By default, Kdump is enabled and the amount of memory reserved for Kdump is calculated automatically. Select Manual if you want to set the amount of reserved memory yourself.

Click Done to save your configuration and return to the Installation Summary screen.

Configuring the Host Name and Connecting to a Network

The installation program does not force you to configure the system's network interfaces and, for some types of installation, network connections are disabled by default. To connect the system to a network either during installation or when the system boots, click Network & Hostname option on the Installation Summary screen to display the Network & Hostname screen. Figure 2.12 shows the options on this screen.

To enable a network interface, select the interface in the list of interfaces and then move the switch to the ON position. By default, the IP settings for a network interface are configured automatically using DHCP for IPv4, and the Automatic method for IPv6. To edit the connection, click Configure to display the connection settings window as shown in Figure 2.13.

Figure 2.13 Network Connection Settings

To enable the connection whenever the network is available, select Automatically connect to this network when it is available on the General tab. Use the settings on the other tabs to configure the connection. For example to set a static IPv4 address, click IPv4 Settings and select Manual for the Method, and then enter values for the IP address, network mask, gateway, and DNS parameters. When you have finished configuring the connection, click Save.

On the Network & Hostname screen, enter the host name of the system as either as a single name or as a fully-qualified domain name (FQDN), for example, host01.example.com. If you use the Dynamic Host Configuration Protocol (DHCP) to provide network settings, enter a single name and allow DHCP to assign the domain name.

You can also add special network devices such as an interface bond or team, or a VLAN (virtual local area network) device. Click the + button to access the settings for configuring these devices.

Click Done to save your configuration and return to the Installation Summary screen.