Add Clover Bootloader to Grub2 and Grub4dos

This tutorial will show you how to add Clover Bootloader to Grub2 and Grub4dos, simply add a menu to chainload Clover from Grub2 and Grub4dos.

Add Clover Bootloader to Grub2 and Grub4dos

Install

On this site, I showed you how to install Clover Bootloader as well as how to install Grub2. In UEFI mode, when you install both of these bootloaders, only one bootloader is booted as default. The /EFI/BOOT/BOOTX64.EFI file will determine that, just keep this file, or back up and copy it back to let the system boot into the bootloader you want. Clover Bootloader currently no longer supports UEFI 32-bit.

AIO Boot supports all of these bootloaders, including Enoch Chameleon, Syslinux and rEFInd. In Legacy mode, just run AIOCreator.exe, then click on Bootloaders to install them.

Add Clover to Grub2

Open the Grub2 configuration file (grub.cfg) and add the following code:

menuentry "Clover Bootloader" {
	if [ "${grub_platform}" == "efi" ]; then
		search --file --no-floppy --set=root /EFI/CLOVER/CLOVERX64.efi
		chainloader /EFI/CLOVER/CLOVERX64.efi
	else
		search --file --no-floppy --set=root /usr/standalone/i386/boot0ss
		chainloader /usr/standalone/i386/boot0ss
	fi
}

The Grub2 configuration file on Ubuntu, Linux and other Linux distributions is /boot/grub/grub.cfg, see how to add Grub2 menu.

Add Clover to Grub4dos

Grub4dos only supports Legacy. Open the Grub4dos configuration file (menu.lst) and add the following code:

title Clover Bootloader
find --set-root --ignore-floppies --ignore-cd /usr/standalone/i386/boot0ss
chainloader /usr/standalone/i386/boot0ss

Syslinux:

LABEL Clover Bootloader
	COM32 chain.c32
	APPEND file=/usr/standalone/i386/boot0ss

In Legacy mode, Grub2 and Grub4dos will boot Clover using the boot0ss file, you can use boot0af or boot0md, see more about these files here.

You can also boot into Grub2 and rEFInd from Clover Bootloader using UEFI Shell or add an entry to config.plist, see how to add Grub2 and boot Ubuntu and Linux Mint from Clover. Good luck!

 

Leave a Reply

Your email address will not be published. Required fields are marked *


One thought on “Add Clover Bootloader to Grub2 and Grub4dos”