Guide to Compiling and Installing Clover Bootloader

The Guide will show how to download, compile and install the latest version of Clover Bootloader onto a Hackintosh system. This will all be accomplished using Terminal under Mac OS X. This will allow access to the latest Chameleon Bootloader and not be reliant on other sources.

Needed:

  1. Installed Apple Xcode and Command-Line-Tools
  2. Installed SVN ( Latest OS X includes it , you don’t need to install it again )

This guides is divided in to following Parts ::::

1. Compling with CloverCompiler (Deepak Script)

2. Compling with CloverGrowerPro (Jrcs Script)

3.Compliling Manually

Compiling with CloverCompiler (Deepak Script)

I have create this script which made compiling Clover Bootloader easy for Everyone Specially Noob or NewBie in world of Hackintosh .with this you can easily compile Clover Bootloader with ease ..
1. Download Script from Here :: Dropbox

2. Open Terminal:
Terminal
3. Drag CloverComplier.sh into Terminal 
wait everything will be done automatically ..

Compiling with CloverGrowerPro (Jrcs Script)

First of all Credits goes to Jrc who made compiling Clover Bootloader easy for Everyone Specially Noob or NewBie in world of Hackintosh .with this you can easily compile Clover Bootloader with ease ..

1. Open Terminal:

screen-shot-2012-11-23-at-7-27-06-pm

2. Type in the following:

git clone git://github.com/JrCs/CloverGrowerPro.git
 

3. Press Enter.

4. The following screen will appear:

Screen Shot 2015-03-11 at 3.08.02 pm

2. Type in the following:

cd CloverGrowerPro
./CloverGrowerPro.sh -s

3.This prompt will ask you for some questions and automatically start downloading and installing required files from svnThe following screen will appearScreen Shot 2015-03-11 at 3.10.38 pm

4. Open Terminal:

screen-shot-2012-11-23-at-7-27-06-pm

5. Type in the following:

cloverpro

Note: For latest Clover Revision use above commands in Terminal 

6.Now BuiltPKG folder will open following screen will appearScreen Shot 2015-03-11 at 3.13.58 pm Screen Shot 2015-03-11 at 3.18.29 pm

                Compiling with Manually

1. Open Terminal:

screen-shot-2012-11-23-at-7-27-06-pm

2. Type in the following:

mkdir src
cd src
svn co svn://svn.code.sf.net/p/edk2/code/trunk/edk2 edk2

3. Press Enter.

4. The following screen will appear:

Screen Shot 2015-03-11 at 3.28.53 pm

cd edk2
make -C BaseTools/Source/C
svn co svn://svn.code.sf.net/p/cloverefiboot/code Clover
cd Clover

5.Press Enter

Building the compiler. gcc-4.7.2 can compile both 32- and 64-bits.
./buildgcc.sh -x64 -all
Note : Don’t exit terminal or cd clover directory which is in src/edk2/clover

Adapting the EDK2 environment to our needs
cp ~/src/edk2/Clover/Patches_for_EDK2/Conf/build_rule.txt ~/src/edk2/Conf/
cp ~/src/edk2/Clover/Patches_for_EDK2/Conf/tools_def.txt ~/src/edk2/Conf/

Now it is possible to build CloverEFI.
./ebuild.sh --x64
./ebuild.sh -mc
./ebuild.sh --ia32

6.Now Building Pkg Installer Type in the following:
cd ~/src/edk2/Clover/CloverPackage/
./makepkg
./makeiso

Note : makepkg is for making PKG installer of Clover Bootloader

makes iso for maker iso  of Clover Bootloader

 

              Installing Clover Bootloader 

1.Run the Install Package (use pkg installer compiled with above methods )

2. The following screen should appear:

Screen Shot 2015-03-11 at 3.52.37 pm

3Click on Continue two times

4. The following screen should appear:
Screen Shot 2015-03-11 at 3.52.56 pm

 

5.Select the Drive Clover Bootloader is to be Installed to.

6. Click on Continue.

7. The following screen should appear:

Screen Shot 2015-03-11 at 3.58.49 pm

8.Click on Customize:

screen-shot-2014-09-21-at-9-39-37-am

9.The following screen should appear:

Screen Shot

10. Make the following changes:

10.a. For UEFI Bios Support Hackintosh

uefi

 

10.b. For Legacy Bios Support EFI (GPT Formatted HDD)

Legacy EFI

10.c.For Legacy Bios Support  MBR formatted HDD

Legacy MBR

11.Click on Install:

12.Clover Bootloader will now installed to the selected drive

13.Restart

Thank You

Best Regards

Deepak

4 Responses

  1. rinku pal 2 years ago
  2. rinku pal 2 years ago
  3. ipyxmilitia 2 years ago
  4. ipyxmilitia 2 years ago

Add Comment