Clover: Difference between revisions

From Leo's Notes
This page was last edited on 27 July 2023, at 02:03.
Created page with "Clover is a bootloader that supports booting UEFI. Project website: https://github.com/CloverHackyColor/CloverBootloader = Booting Linux with Clover = You may wish to use Clover to boot Linux if you installed Linux on a NVME device that your BIOS isn't capable of detecting. For my use case, I had installed Proxmox on a NVME device on an old Sandy Bridge computer. In order to boot Proxmox, I installed Clover on a USB drive which the BIOS can boot from which then boot..."
 
No edit summary
Line 61: Line 61:
# Reboot. Hit F3 when you see the Clover boot menu and select the entry for Proxmox. Clover should be able to remember this and autoboot into Proxmox next time.
# Reboot. Hit F3 when you see the Clover boot menu and select the entry for Proxmox. Clover should be able to remember this and autoboot into Proxmox next time.


= Troubleshooting =
== Troubleshooting ==


== Clover doesn't autoboot ==
=== Clover doesn't autoboot ===
I wasted more time than I'd like to admit trying to figure out why I couldn't get Clover to autoboot. It turns out, I had the path to the EFI executable wrong. Doublecheck the path and volume IDs.
I wasted more time than I'd like to admit trying to figure out why I couldn't get Clover to autoboot. It turns out, I had the path to the EFI executable wrong. Doublecheck the path and volume IDs.
== See also ==
* https://www.aioboot.com/en/boot-ubuntu-linux-from-clover/

Revision as of 02:03, 27 July 2023

Clover is a bootloader that supports booting UEFI.

Project website: https://github.com/CloverHackyColor/CloverBootloader

Booting Linux with Clover

You may wish to use Clover to boot Linux if you installed Linux on a NVME device that your BIOS isn't capable of detecting.

For my use case, I had installed Proxmox on a NVME device on an old Sandy Bridge computer. In order to boot Proxmox, I installed Clover on a USB drive which the BIOS can boot from which then boots Proxmox on the NVME drive. To do this:

  1. Install Clover on a USB drive using Rufus.
  2. Go into the EFI/CLOVER directory and edit the config.plist file with the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Boot</key>
      <dict>
        <key>Timeout</key>
        <integer>5</integer>
        <key>DefaultVolume</key>
        <string>LastBootedVolume</string>
      </dict>
      <key>GUI</key>
      <dict>
        <key>Custom</key>
        <dict>
          <key>Entries</key>
          <array>
            <dict>
              <key>Path</key>
              <string>\EFI\BOOT\BOOTX64.EFI</string>
              <key>Title</key>
              <string>Proxmox</string>
              <key>Type</key>
              <string>Linux</string>
              <key>Volume</key>
              <string>964F18C8-9ADB-4DEB-AA70-75361FF39E4A</string>
              <key>VolumeType</key>
              <string>Internal</string>
            </dict>
            <dict>
              <key>Path</key>
              <string>\EFI\BOOT\BOOTX64.EFI</string>
              <key>Title</key>
              <string>Proxmox</string>
              <key>Type</key>
              <string>Linux</string>
              <key>Volume</key>
              <string>85C5849B-9824-4D3A-961C-2DD190CD8ADE</string>
              <key>VolumeType</key>
              <string>Internal</string>
            </dict>
          </array>
        </dict>
      </dict>
    </dict>
    </plist>
    
    Adjust the volume ID with the ID of the partition containing grub. Ensure that the path exists on the partition.
  3. For NVME devices, you'll have to also move/copy the NvmExpressDxe.efi driver from the EFI/CLOVER/drivers/off to EFI/CLOVER/drivers/UEFI directory
  4. Reboot. Hit F3 when you see the Clover boot menu and select the entry for Proxmox. Clover should be able to remember this and autoboot into Proxmox next time.

Troubleshooting

Clover doesn't autoboot

I wasted more time than I'd like to admit trying to figure out why I couldn't get Clover to autoboot. It turns out, I had the path to the EFI executable wrong. Doublecheck the path and volume IDs.

See also