This guide describes Red Hat-specific details of the Multi-boot Clear Linux* OS with other operating systems tutorial.

  1. Start the Red Hat installer and follow the prompts.



    Figure 1: Red Hat: Installation summary.

  3. In the Device Selection section, select a drive on which to install the OS. See Figure 2.


    Figure 2: Red Hat: Installation destination.

  4. Under the Other Storage Options section, choose I will configure partitioning. See Figure 2.

  5. Click Done.

  6. Under the New Red Hat Enterprise Linux 7.4 Installation ‣ New mount points will use the following partitioning scheme section, select Standard Partition from the drop down list. See Figure 3.


    Figure 3: Red Hat: New partition scheme.

  7. Create a new root partition.

    1. Click the + button on the lower left corner.

    2. Enter / and the new partition size. For this example, we specified 45 GB. See Figure 4.


      Figure 4: Red Hat: Create new root partition.

    3. Click Add mount point.

  8. Share the swap partition that was created by Clear Linux OS. See Figure 5.

    1. Expand Unknown.

    2. Select swap / sda2.

    3. Select Reformat.

    4. Click Update Settings.


      Figure 5: Red Hat: Configure swap partition.

  9. Share the EFI partition that was created by Clear Linux OS. See Figure 6.

    1. Expand Unknown.

    2. Select EFI System Partition / sda3.

    3. Under Mount Point, enter /boot/efi.

    4. Click Update Settings.


      Figure 6: Red Hat: Configure EFI partition.

  10. Click Done.

  11. Follow the remaining prompts to complete the Red Hat installation.

  12. At this point, you cannot boot Clear Linux OS because Grub is the default boot loader. Follow these steps to make the Clear Linux OS Systemd-Boot the default boot loader and add Red Hat as a boot option:

    1. Boot into Red Hat.

    2. Log in.

    3. Locate the Red Hat grub.cfg file in the /boot/efi/EFI/redhat/ directory and look for the primary Red Hat menuentry section. In Figure 7, the highlighted lines identify the kernel and initrd filenames, root partition UUID, and additional parameters used. Use this information to create a new Systemd-Boot entry for Red Hat.


      Figure 7: Red Hat: grub.cfg file.

    4. Copy the kernel and initrd file to the EFI partition.

      sudo cp /boot/vmlinuz-3.10.0-663.el7.x86_64 /boot/efi
      sudo cp /boot/initramfs-3.10.0-663.el7.x86_64.img /boot/efi
    5. Create a boot entry for Red Hat. At a minimum, the file must contain these settings:

      Setting Description
      title Text to show in the boot menu
      linux Linux kernel image
      initrd initramfs image
      options Options to pass to the EFI program or kernel boot parameters

      See the systemd boot loader documentation for additional details.

      The options parameters must specify the root partition UUID and any additional parameters that Red Hat requires.


      The root partition UUID used below is unique to this example.

      sudoedit /boot/efi/loader/entries/redhat.conf

      Add the following lines to the redhat.conf file:

      title Red Hat Enterprise Linux 7.4 Beta
      linux /vmlinuz-3.10.0-663.el7.x86_64
      initrd /initramfs-3.10.0-663.el7.x86_64.img
      options root=UUID=30655c74-6cc1-4c55-8fcc-ac8bddcea4db ro
      crashkernel=auto rhgb LANG=en_US.UTF-8
    6. Re-install Systemd-Boot to make it the default boot loader.


      This version of Red Hat does not support bootctl install. Perform the steps in Restore the Clear Linux* OS boot loader instead.

    7. Reboot.

If you want to install other OSes, refer to Multi-boot Clear Linux* OS with other operating systems for details.