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

  1. Start the Mint installer and follow the prompts.

  2. At the Installation type screen, choose Something else. See Figure 1.

    ../../../../_images/multi-boot-mint-1.png

    Figure 1: Mint: Installation type.

  3. Create a new root partition.

    1. Under the Device column, select free space. See Figure 2.

      ../../../../_images/multi-boot-mint-2.png

      Figure 2: Mint: Add partition.

    2. Click the + button.

    3. In the Size field, enter a value for the new partition size. For this example, we used 40000 MB, as shown in Figure 3.

      ../../../../_images/multi-boot-mint-3.png

      Figure 3: Mint: Configure new partition settings.

    4. Set Use as to Ext4 journaling file system.

    5. Set the Mount point to /.

    6. Click OK.

  4. Share the swap partition created by Clear Linux OS.

    1. Under the Device column, select /dev/sda2.

    2. Click Change.

    3. Confirm Use as is set to Swap area. See Figure 4.

      ../../../../_images/multi-boot-mint-4.png

      Figure 4: Mint: Set swap partition.

  5. Follow the remaining prompts to complete the Mint installation.

  6. 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 Mint as a boot option.

    1. Boot into Mint.

    2. Log in.

    3. Locate the Mint grub.cfg file in the /boot/grub/ directory and look for the menuentry section. In Figure 5, the highlighted lines identify the kernel, the initrd files, the root partition UUID, and the additional parameters used. Use this information to create a new Systemd-Boot entry for Mint.

      ../../../../_images/multi-boot-mint-5.png

      Figure 5: Mint: grub.cfg file.

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

      sudo cp /boot/vmlinuz-4.4.0-53-generic /boot/efi
      
      sudo cp /boot/initrd.img-4.4.0-53-generic /boot/efi
      
    5. Create a boot entry for Mint. 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 Mint requires.

      Note

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

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

      Add the following lines to the mint.conf file:

      title Mint 18.1 Serena MATE
      
      linux /vmlinuz-4.4.0-53-generic
      
      initrd /initrd.img-4.4.0-53-generic
      
      options root=UUID=af4901e1-6238-470a-8c14-bc0f0f7715ec ro
      
  7. Re-install Systemd-Boot to make it the default boot loader.

    sudo bootctl install --path /boot/efi
    

    Note

    If an older version of Mint does not have the bootctl command, skip this step and see Restore the Clear Linux* OS boot loader to restore Systemd-Boot.

  8. Reboot.

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