Giter VIP home page Giter VIP logo

cloverefi-4mu's Introduction

CloverEFI-4MU

Introduction

This repo is actually just documentation about How to install Clover EFI Bootloader using manual methods under Linux (eg. Ubuntu). Clover binary used on this repo is similar to Official GitHub here; except additional configs, kexts, etc.

But if you prefer using simpler methods with automated (or guided) steps, I guess you use this clover-linux-installer script by m13253. DWYOR..!!! (Do With Your Own Risk).


What is Clover?

Clover EFI Bootloader

Clover is one of bootloaders developed by Slice, Apianti, BlackOSX, Dmazar, Blusseau, and other devs with great community for booting OS X, Windows and Linux on Mac or PC with UEFI / BIOS firmware.

Some of Clover features are:

  • Supports for booting OS X, Windows and Linux (Android x86 as well)
  • Running on Legacy BIOS (MBR, GPT) or UEFI firmware (GPT only)
  • Customizable GUI including themes, icons, fonts, background images, animations, and mouse pointers.
  • ... and much more. Here's for details.

Requirements

However, following this method you have to meet conditions below:

  • Desktop PC or Laptop with Legacy or UEFI (GPT partition scheme is recommended)
  • Pre-installed Ubuntu Linux (and it's flavours), Debian or Live Mode
  • Basic knowledge about BIOS (Firmware) configuration, partition scheme, OS Installation
  • Make sure that your PC is able to boot Clover. For testing purpose; create USB Clover with this Tool via Windows. Then boot from it
  • Make a Backup of "Internal EFI Partition" on a safe place.

Before You Begin

  1. Clone or Download whole repo: $ git clone https://github.com/badruzeus/CloverEFI-4MU

  2. My Clover Themes collection: $ git clone https://github.com/badruzeus/MyCloverThemes (Optional). Go to docs for Theming how to

  3. Follow provided "Video Tutorial" below, or skip to "Manuall Installation" methods on next steps:

    CloverEFI-4MU

  4. If you're not sure; install it to EFI Partition on USB FlashDisk with GPT scheme. Using gParted create 200MB partition, Manage Flags as: boot,esp.


Manual Installation on GUID Partition Table (GPT)

Assummed "Target_Disk" is /dev/sda (Whole Disk) and "Target_Partition" is /dev/sda1 (EFI System Partition).
Check with Terminal: $ sudo blkid or sudo fdisk -l

  1. Set /dev/sda1 as Primary Boot Record / PBR (for Legacy and GPT)

    • $ cd ~/CloverEFI-4MU/BootSectors
    • $ sudo dd if="/dev/sda1" bs=512 count=1 >origPBR
    • $ sudo dd if="/dev/sda" bs=512 count=1 >origMBR
    • $ cp boot1f32 newPBR
    • $ cp origMBR newMBR
    • $ sudo dd if=newPBR of="/dev/sda1" bs=512 count=1
    • $ sudo dd if=newMBR of="/dev/sda" bs=512 count=1 conv=nocreat,notrunc
    • $ sudo dd if=origPBR of=newPBR skip=3 seek=3 bs=1 count=87 conv=notrunc
    • $ sudo dd if=boot0af of=newMBR bs=440 count=1 conv=notrunc
  2. Placing Clover on EFI System Partition (ESP)
    (Please note that \EFI\BOOT dir is not always empty, some linux distros maybe placing grub, kernel, etc. here. If this is your case, just copy BOOTX64.efi file, not replacing a whole dir).

    a. Option 1 via Command Line // Mounting EFI System Partition

    • $ mkdir ~/esp
    • $ sudo mount -t vfat /dev/sda1 ~/esp

    // Copying Clover required files

    • $ cd ~/CloverEFI-4MU
    • $ sudo cp boot ~/esp
    • $ sudo cp -r EFI/BOOT ~/esp/EFI
    • $ sudo cp -r EFI/CLOVER ~/esp/EFI

    b. Option 2 via File Manager (GUI)

    • Mount ESP as Option (1) first
    • Terminal: $ sudo [FileManager] // File manager could be nautilus, pcmanfm, thunar, etc.
    • Manually copy-paste required files as point (a), be careful!
    • Terminal: $ sudo umount ~/esp (if all have done).

Bugs & Troubleshooting

  • Press "F1" for Clover Help (Shortcut keys, Functions, etc.)

  • Depends on your UEFI firmware, for adding CLOVER as "New Boot Entry" is usually:

    • fsX:\efi\clover\cloverx64.efi // (fsX = fs0, fs1, fs2, etc), or just
    • \efi\clover\cloverx64.efi
  • Phoenix or InsydeH2O maybe not including "Boot" Entry Option on it's firmware (BIOS). On this case, you need manually adding Entry via UEFI Shell. For example adding Clover Entry located on FS0 (could be FS1, FS2 etc. depends on ESP):

    • map FS*
    • bcfg boot dump
      // If 02 is last Boot Entry, add Clover on 03:
    • bcfg boot add 03 FS0:\EFI\CLOVER\CLOVERX64.efi "Clover EFI Bootloader"
      // OFC, you could add another entries eg. Windows Boot Manager, Linux Grub2, etc. on 04, 05..

      If Clover is not set as 1st boot order, you need pressing StartUp key (could be F12, Esc, etc.) and manually select it once computer powered on. Most AMI Aptio BIOS has "Entry Override" option.
  • If you're unable to "Launch EFI Shell" from BIOS, place "shellx64.efi or SHELLX64.EFI" on your ESP root (not EFI dir).
    Some old AMI Aptio firmwares (eg. v2.00) need this.

  • Still having trouble accessing Shell via Firmware? Install Clover to Bootable USB FlashDisk using BDUtility.exe under Windows then boot from it. Run UEFI Shell provided by Clover.


Credits

Apple | Canonical | Microsoft | Clover | cvad | fusion71au | InsanelyMac, Olarila and OSXLatitude Forum.

:: Follow me on AppleLife / Facebook / InsanelyMac / MacRumors / Reddit / SourceForge / Youtube ::

Bring me to Life: Donate

cloverefi-4mu's People

Contributors

badruzeus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloverefi-4mu's Issues

Not working with macOS Big Sur

Hey,

the version of Clover you're using isn't compatible with macOS 11.x (Big Sur), and I couldn't config it myself, can you update your repo maybe? or give me some help to config it myself?

Thanks in advance :)

instructions in wrong order ?

Hi.
Surely those instructions are in the wrong order?

You seem to be creating the newMBR and newPBR (merging original MBR with boot0ss, to retain partition table), after writing to the disk. The merged MBR and PBR don't ever get written to the disk.
Or am I being stupid?

$ sudo dd if=newPBR of="/dev/sda1" bs=512 count=1
$ sudo dd if=newMBR of="/dev/sda" bs=512 count=1 conv=nocreat,notrunc
$ sudo dd if=origPBR of=newPBR skip=3 seek=3 bs=1 count=87 conv=notrunc
$ sudo dd if=boot0af of=newMBR bs=440 count=1 conv=notrunc

Issues with Phoenix OS

I've been trying to set Phoenix OS entry on Clover but I dont found a tutorial for this. I have the entry on the Windows Boot Manager and also on Grub boot loader, but that doesn't make a change on Clover boot options. I would appreciate if someone can help me with this.

Clover: doesn't run any of entries

Hi there.
I did everything by instruction and clover menu is shown correctly. However after selecting any of two oses (Windows 10/ Ubuntu 19.10) clover hangs.
I have GPT partition tables and my old and new sector files are in attach.
Still, old grub is working fine.
bootsectors.tar.gz

Clover with bios bootloader

Hi. thank you for this repo and youtube video.
my system does not support uefi and it only has bios bootloader. currently i installed windwo 7 and arch linux on hdd 750GB system and want to install hackintosh alognside with it.
Can i use clover for this goal?
Do you know any related article or tutorial to install hackintosh alongside windows and archlinux with bios support?
Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.