2.4 Installing a System with a Btrfs root File System

2.4.1 Installing a Btrfs root File System

For compatibility reasons, the default installation image of Oracle Linux boots the Red Hat compatible kernel to perform the installation. Oracle provides an alternative installation image (UEK Boot ISO) that supports the installation of Oracle Linux 6 Update 3 or later using the Unbreakable Enterprise Kernel (UEK) as the installation kernel. This installation method allows you to create a btrfs root file system.

As the UEK Boot ISO contains only the bootable installation image, you must set up a network installation server for the RPM packages. This server must have sufficient storage space to host the full Oracle Linux Release 6 Update 3 or later Media Pack DVD image (approximately 3.5 GB), and you must configure it to use either HTTP or NFS to serve the image files to the target systems on which you want to install Oracle Linux 6 Update 3 or later.

Perform one of the procedures in the following sections to set up an HTTP or NFS server on the system that will act as the network installation server:

You can then set up the network installation server, modify a full Oracle Linux Media Pack DVD image to support the Unbreakable Enterprise Kernel (UEK) as an installation kernel, and use this image to install a system with a btrfs root file system:

2.4.1 Installing a Btrfs root File System

To install a target system from a network installation server:

  1. Boot the target system using the UEK Boot ISO image.

  2. Select Install or upgrade an existing system.

  3. On the Installation Method screen, select either NFS directory or URL depending on whether you configured your installation server to use NFS or HTTP respectively.

  4. After configuring the network settings, enter the settings for the NFS or HTTP installation server.

    For installation using NFS, enter the path of the full DVD image, for example /var/OSimage/OL6.6_UEK.

    For installation using HTTP, enter the URL of the full DVD image, for example http://192.168.1.100/OSimage/OL6.6_UEK.

  5. Follow the installation instructions in Section 2.1, “Installation Overview”. The default disk layout creates a btrfs root file system.

    Note

    You cannot configure a bootable partition, such as /boot, as a btrfs file system.