Jump to content

[How to]Clover on EFI partition/Add to Bios


  • Please log in to reply
43 replies to this topic

#1
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Hi,

Well, i had to write a little tutorial on how to do this: http://www.insanelym...tion-guide-wip/

Just a copy/paste from that topic, so the guide does contain some information that is not present or irrelevant.
It needs editing, perhaps a lot, but i thought i would post it here.
Why? I will explain.

Clover comes with an installer package, and people will drop folders on the web everywhere (System specific), but never a descent tutorial on how to actually UEFI boot can be found (perhaps i did not look into this enough)
Personally the installer package did not make it possible for me to add the option in the bios, nor boot my OS X installation anymore, that is mainly the reason why i wrote this poor excuse of a guide :P
I tried every option on the installer, could not make it work, so i figured, let's do it manually. Read about what UEFI can and can not do, went through the Clover documentation, although, i did not understand much about it, until i actually got it to boot.

To install it to the EFI partition, i took information from the Chameleon guide, found here: http://forum.voodoop...x.php/topic,649
and modified it to suit my BIOS's needs. (MSDOS filesystem)

I hope someone will take the time to modify this tutorial, to make it beginner friendly, or just remove it, if something like this already exists.
The screenshots are from a Phoenix Bios, don't know about the others.




How to install Clover and add it to the UEFI Boot menu:
- Be careful when replacing the current boot loader, your system may become unbootable if you skip a step, or do not pay attention!



To UEFI boot Clover, we need to install it to a FAT32 partition, UEFI will only find partitions in this format.
I recommend to test Clover on a USB stick formatted in FAT32, and just copy the files to it, before actually replacing the current bootloader.

1.)
First we need to find the HDD that has OS X installed on a GUID partition table, and look for the EFI partition. Open terminal and type:
sudo -s
type password
diskutil list


Posted Image

I have Clover already installed on disk0s1, for this guide i will install it to disk1s1, which is my spare HDD, also formatted to GPT.

2.)
We need to apply a new filesystem to the EFI partition, remember to replace the X corresponding to your disk setup.
In terminal enter:
newfs_msdos -v EFI /dev/diskXsX

Posted Image

It will give an error, you can ignore it. The EFI partition has been formatted to FAT32 and can now be recognized by UEFI.

3.)
Now it is time to mount the EFI partition and copy the needed files. Type the following into terminal, remember tot replace the X's:
mkdir /Volumes/EFI
mount_msdos /dev/diskXsX /Volumes/EFI
Posted Image
Go to finder, on the left hand side, you will now have a disk called EFI.

4.)
Now download the Clover_Package.zip, if not done already. After extraction, you will have a folder called EFI, copy the folder with all the contents to the EFI partition.
Posted Image

To this:


Posted Image

5.)
Go back to terminal and type the following, replace the X's:
umount -f /dev/diskXsX
rm -rf /Volumes/EFI

Now Clover has been installed to the EFI partition, now it is time to add the boot option to the UEFI boot menu.

- Restart your system and press F2 multiple times, you should now enter the bios.
- Go to the Boot options tab, use the arrow keys. (What keys you can use, are described at the bottom of the screen.)
Posted Image
- My setup will probably differ from yours, change them accordingly, select add boot option and press enter.
Posted Image
- Now enter a name, i use Clover, press tab, and select either HDD (If you have Clover installed to the EFI partition) or USB (if you have installed Clover to a USB device on a FAT32 partition), you can select it with the arrow keys. Now press tab and enter: EFI\BOOT\Cloverx64.efi
Press tab again, select ok, and press Enter.
Posted Image
- Clover has now been added to the boot menu. Move up with the arrow keys until Clover is highlighted, press +. Press F10 and Enter. (Or follow the screens)
Posted Image
Posted Image
Posted Image
Posted Image
- The system will now reboot, and Clover should load. Select the OS X partition and press Enter, OS X will boot.
Posted Image

#2
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,143 posts
  • Gender:Male
1st step is not necessary as the 200mg efi partition is already Fat32.

#3
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Thanks.
Wrote it down anyway, had some trouble in the past mounting it :)

#4
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania

1st step is not necessary as the 200mg efi partition is already Fat32.

It could be necessary if the EFI partition was used for Chameleon and hence could have been formatted to HFS+.

#5
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,199 posts
  • Gender:Male
  • Location:Moscow

It could be necessary if the EFI partition was used for Chameleon and hence could have been formatted to HFS+.

It may be impossible to format HFS+ EFI to FAT32 because of geometry loss. It should be other methods.

#6
tdtran1025

tdtran1025

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 358 posts

It may be impossible to format HFS+ EFI to FAT32 because of geometry loss. It should be other methods.


Please clarify Slice. Suppose I have installed OS X already using GPT ( as it forces me to choose GPT), then what should I do with that EFI partition?
Thank You.

#7
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania
@tdtran1025
It depends. If you have not used EFI partition to install Chameleon to it, then leave it as is. By default OS X formats the EFI partition to FAT.

Only if Chameleon was installed to EFI partition (which in turn requires you to format it with HFS+), then you would need to revert it back to FAT.

#8
tdtran1025

tdtran1025

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 358 posts
I see. Thank you.

#9
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male
My ASUS motherboard doesn't support adding/editing NVRAM-entries inside the UEFI-BIOS. They need to changed with efibootmgr or bcfg. The 'issue' with EFI is that some boards need somethings when others don't. It took me a while before I understood the concept of EFI. Now I don't want to go back to MBR/Normal BIOS anymore.. :)

The Arch Linux UEFI Wiki is a good source to more information about (U)EFI.

#10
pfilipp

pfilipp

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
  • Gender:Male
  • Location:Warsaw, Poland

If it comes to ASUS mobos I added my entry with steps below - note that probably it's not the easiest nor fastest way to do it but it works:

1. Install Clover to EFI partition 

2. Copy Clover EFI files to any kind of USB key - this is the interesting thing when it comes to asus mobos - usb keys can ALWAYS be booted as legacy or uefi. In boot menu you always have those two options to choose. It's different when it comes to HDD. - by the bios' defaults they can only be booted as legacy.

3. In boot menu choose your USB key and load Clover.

4. From options below Disk selection you can simply choose an option to add UEFI entry.

5. Add the entry :D

6. You're good to go!

 

As I mentioned before there are probably faster ways but this one worked for me :-)



#11
avidwriter123

avidwriter123

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

thanks OP the procedure works perfectly  :thumbsup_anim:



#12
Jcarlo

Jcarlo

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts

Hi, I have a Acer W700 tablet (i5 3777u, 4gb ram hd400) I have been trying to install osx using clover but not success.  I have tried to restore 10.8 and 10.8.4 then use the clover to create a usb installation but when I get to the clover menu screen its disoriented.  The only method I was able to get to the clover menu not disoriented is a guide from surface pro but it wont boot the install, it hangs after the line that says "root device vvid or uuid then some serial numbers.  Can someone lead me to a guide that will let me able to boot the install.  I can however install it using ##### but I want to go to uefi, trying to do a triple boot osx/w8/android.  Thanks in advanced



#13
Zeblade

Zeblade

    InsanelyMac Protégé

  • Donators
  • 81 posts

This was great thanks. So far on MSI Mpower max I got 10.9 working as long as I boot from USB (clover). Now got EFI working. I noticed the settings on the USB clover were different then the ones on Clover HD. So I go in and change them yet none are saved and still cant get the HD Clover to boot all the way where as the USB Clover boots up perfect. Forgive me if this is not the place to ask of so point me where I can ask.



#14
Giampy

Giampy

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Hi,

I have these two pictures about my screen
Can someone help me?

Attached Files



#15
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,199 posts
  • Gender:Male
  • Location:Moscow

Hi,

I have these two pictures about my screen
Can someone help me?

Install OsxAptioFixDrv and delete OsxLowMemFixDxe



#16
Giampy

Giampy

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Thanks
Now it works
A question:
Where i have to put my kext , because my audio and mouse pad dont work
Before clover , when i used usb to boot, i can put battery, voodoo in S/L/E and i can see the new drivers work
But now?
I had try in EFI/CLOVER/KEXT/10.9 but nothing change
Probably i have to work on config.plist too but i dont know how

#17
Giampy

Giampy

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
I saved two file about kextstat
one booting with usb bootloader then select hdd
and
one booting with clover
they are little different
for ex. with clover
I dont see voodoohda

so i think there is something to set in config.plist to say to load sle

#18
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,199 posts
  • Gender:Male
  • Location:Moscow

I saved two file about kextstat
one booting with usb bootloader then select hdd
and
one booting with clover
they are little different
for ex. with clover
I dont see voodoohda

so i think there is something to set in config.plist to say to load sle

	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Detect</string>
		<key>NoCaches</key>
		<false/>
	</dict>



#19
Giampy

Giampy

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Ok thanks

Do you know how make my atheros AR5B125 works?

#20
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,199 posts
  • Gender:Male
  • Location:Moscow

Ok thanks

Do you know how make my atheros AR5B125 works?

Google?







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy