Jump to content
pernacabeluda

UEFI multi boot with Clover

Recommended Posts

Your BIOS must have the option UEFI Boot and it must be enabled in order to install operating systems in UEFI mode.

 

vxDr57L.jpg

 

Notice that when this option is enabled, it shows UEFI before the drive name.

 

vaTXVwO.jpg

 

OS X installation

 

You can make an installer or download one from my signature. You don't have to boot the OS X installer in UEFI mode, it's only needed in the following step, to install Clover.

 

IMPORTANT: to install Windows 7/8 in UEFI mode, the partition table must be pure GPT, it can't be hybrid MBR like used in old BIOS mode, so when you create the partitions in Disk Utility, do NOT change the Windows partition to MS-DOS (FAT), keep all partitions as Mac OS Extended (Journaled), you will change the other partition(s) format later.

 

Install OS X in the first partition.

 

If you have Windows pre-installed do not format the EFI partition (newfs_msdos), just mount it (mount_msdos).

 

Format a pen drive as FAT32 and install Clover in it.

 

https://github.com/CloverHackyColor/CloverBootloader/releases

 

You need at least the drivers FSInject, OsxFatBinaryDrv and VboxHfs (or HFSPlus) in the folder /EFI/CLOVER/drivers64UEFI (installed by default). Depending on BIOS you may need OsxLowMemFix (Insyde H2O), EmuVariableUefi (Phoenix UEFI) or OsxAptioFixDrv (all other).

 

Do not select the option "install for UEFI motherboards", it only works if the pen drive is partitioned in GUID. After installing, create the folder EFI/BOOT in the pen drive and copy the file EFI/CLOVER/CLOVERX64.efi to EFI/BOOT/BOOTX64.efi

 

Start the system using the pen drive to test UEFI boot.

 

Run the following commands in terminal, replacing X by the HD number.

 

To format the EFI partition as FAT32

diskutil list
sudo newfs_msdos -v EFI -F 32 /dev/diskXs1
 

To mount the EFI partition

mkdir /Volumes/EFI
sudo mount_msdos /dev/diskXs1 /Volumes/EFI
 

Create the folder EFI in the EFI partition.

 

Copy the folder EFI/CLOVER from pen drive to the folder EFI in EFI partition.

 

Boot from the pen drive again. In Clover menu, go to Clover Boot Options of SATA drive (usually 0x1F, 0x2) and select Add as UEFI boot option. Now you will be able to boot Clover from EFI partition without the pen drive, in UEFI mode.

 

Windows installation

 

To make an UEFI installer in USB, open Command Prompt as administrator and run the commands

diskpart
list disk
select disk X (replace X by the pen drive number)
clean
create partition primary
format fs=fat32 quick
active
assign
exit
 

Copy all files from the image (DVD) to the pen drive.

 

For Windows 7 you need to copy the folder efi\microsoft\boot to efi\boot (one level up), copy the file bootmgfw.efi to that folder and rename it to bootx64.efi

 

The file bootmgfw.efi is in the folder \1\Windows\Boot\EFI\ inside the file \sources\install.wim from DVD. Open install.wim with 7-Zip.

 

For Windows 8 the usual steps are enough, but it can't be an "AIO" (all in one) image, x86 and x64 (with efi\boot\bootia32.efi), it must be x64 only (with efi\boot\bootx64.efi).

 

Before installing Windows you need to change the partition format to NTFS. You can use gParted from a Linux live CD.

 

IMPORTANT: Windows installer formats and renumbers all partitions after the destination one, because it creates a reserved partition, so if you will install Linux, do it after installing Windows, or install Windows in the last partition.

 

If you use loader to activate Windows 7, you can inject SLIC table using Clover instead.

 

Download SLIC 2.1 binary and certificate

 

http://forums.mydigitallife.info/threads/5952-Win-7-amp-Server-08-R2-SLIC-2-1-Bin-Collection?p=514521&viewfull=1#post514521

 

Rename the file NAME.BIN to SLIC.aml and put it in the folder EFI/CLOVER/ACPI/WINDOWS

 

Put the certificate in C:\ and run in Command Prompt (as administrator)

slmgr -ilc C:\NAME.xrm-ms
 

Pick a key

 

http://forums.mydigitallife.info/threads/10370-Windows-7-OEM-SLP-Key-Collection

 

Run

slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
 

BCD is installed in EFI/Microsoft in the EFI partition.

 

Linux installation

 

The only important detail is to install GRUB legacy in the Linux partition and not in MBR (for example, select /dev/sda5 and never /dev/sda).

 

The file grubx64.efi is installed in EFI/"distro name" in the EFI partition.

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

The USB raw images have an EFI partition with Clover, so you can format (or just mount) the EFI partition of your HD (replace X by the HD number)

diskutil list
sudo newfs_msdos -v EFI -F 32 /dev/disk[color=#FF0000]X[/color]s1
mkdir /Volumes/EFI
sudo mount_msdos /dev/disk[color=#FF0000]X[/color]s1 /Volumes/EFI

mount the EFI partition of the USB (replace Y by the USB number)

mkdir /Volumes/EFI1
sudo mount_msdos /dev/disk[color=#FF0000]Y[/color]s1 /Volumes/EFI1

and copy EFI folder from EFI1 to EFI.


Then

Boot from the pen drive again. In Clover menu, go to Clover Boot Options of SATA drive (usually 0x1F, 0x2) and select Add as UEFI boot option. Now you will be able to boot Clover from EFI partition without the pen drive, in UEFI mode.

 

Configure config.plist according to the wiki


http://clover-wiki.zetam.org/Configuration


After you configure config.plist for power management, you can remove Disabler.kext from EFI/CLOVER/kexts/10.X, as well as other kexts you don't need (or that you have installed in /System/Library/Extensions)


http://Olarila.com/forum/viewtopic.php?f=28&t=1703

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

i wonder how you write the coorect command for that : Copy the folder EFI/CLOVER from pen drive to the folder EFI in EFI partition.

how to do : Boot from the pen drive again. In Clover menu, go to Clover Boot Options and select Add as UEFI boot option.

if clover menu does not show , only with the text mode of chameleon bootloader or the gui mac os x [ even in safe mode ]

Link to comment
Share on other sites

This will not work if you are using Chameleon, obviously.

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

i tested the usb on two pcs and the one with the ati 3870 is not able to show clover .

that is why i ask with chameleon only .


may be with the use of ubuntu , at least the 13.1 , i can read the drive i formatted for mac os x 10.9 , something can be done to edit the boot ?

at least ubuntu is a very cool way to handle and delete files as well as do some backup may be .

Link to comment
Share on other sites

There's no sense in installing Clover to the HD if it does not work from USB.

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

Chameleon is not an UEFI boot loader, it's not located in the EFI folder, it's the file "boot" in the root directory.


To install Chameleon you also need to write boot sectors, the easy way is just running the installer pkg


http://www.insanelymac.com/forum/files/file/59-chameleon-22-svn/


Complete post install instructions


http://Olarila.com/forum/viewtopic.php?f=28&t=1716

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

What should I do now? A same Mavericks install making all 3 partitions Mac OS Extended journaled?

Yes, it's in the opening post, you quoted it

IMPORTANT: to install Windows 7/8 in UEFI mode, the partition table must be pure GPT, it can't be hybrid MBR like used in old BIOS mode, so when you create the partitions in Disk Utility, do NOT change the Windows partition to MS-DOS (FAT), keep all partitions as Mac OS Extended (Journaled), you will change the other partition(s) format later.

 

What abt Windows? Now I connect bootable Win USB and BIOS doesn't pick it up. Whereas it picks Mavericks USB installer.

It's in the OP too

For Windows 8 the usual steps are enough, but it can't be an "AIO" (all in one) image, x86 and x64 (with efi\boot\bootia32.efi), it must be x64 only (with efi\boot\bootx64.efi).

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

Dear @pernacabeluda !!


You suggested in first post as follows:


"Before installing Windows you need to change the partition format to NTFS. You can use gParted from a Linux live CD"


I have installed OS X Mavericks successfully, thanks to your guide for that.


I have Linux Mint 15 Olivia live DVD and when I try to boot from it in order to run gparted to format my one partition to NTFS, it just does not boot.


plz guide me as to what I need to get Linux live DVD boot so that I can format one partiions to NTFS and install Windows on it.


Thanks!

Link to comment
Share on other sites

I have Win 8.1 x64 .iso image. I formatted my USB to FAT32 and wrote .iso image on it using Win 7 USB/DVD Tool but it could not boot as the Tool reformatted it to NTFS.


Then I copied contents of written image from USB to OS X partition, reformatted USB to FAT32 and copied contents form OS X partition to USB (just copied, not written). Now USB is in FAT32 format and contains all folders and files of .iso image and it clearly shows /efi/boot/bootx64.efi in it, but still it does not boot.


Pardon me if I am doing something stupid or annoying you and kindly guide me to complete my Windows installation.


Thanks!

Link to comment
Share on other sites

It should boot. It's probably something in your BIOS setup.

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

It should boot. It's probably something in your BIOS setup.

 

Here is pic of my BIOS:

https://drive.google.com/folderview?id=0BwSmHUJNHwp0RWZvUkdwb0FtNm8&usp=sharing


Before installing OS X, I disabled Legacy Support (shown in pic) to boot in UEFI mode.


OS X installed successfully but BIOS has run away.


Now option to press "Esc" key to enter system set up does not appear.


Plz take a look at the pic and let me know if you have any suggestion for me!


Thanks!


PS: I am Googling as well, also posted a question on answerw.yahoo but no luck so far.

Link to comment
Share on other sites

I would try to install the boot of Clover

FAT32 formatted usb, downloaded Clover r2352

Installed on the usb I left the default

I created the folder EFI / BOOT and CLOVER/CLOVERX64.efi copied and renamed to EFI/BOOT/BOOTX64.efi

I've tried does not work, any advice.

thanks

I7 4770K - Z97-PRO Wifi (ac) - Intel HD4600

Link to comment
Share on other sites

Try to partition the USB as GUID and choose "install for UEFI motherboards". I did not try recent Clover versions.

Donation with Paypal | Mercado Livre | Premium and Donators Users | Installation GUIDE

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donated? Send me PM with files or use DSDT Patch Requests

Link to comment
Share on other sites

I read it many times but maybe I missed something

all what I did is this ,

burn the .raw to pen drive

setup my bios as it should

and boot from the pen drive ,

then disk utilities , format the hard disk as mac osx journaled

set the partition 1 and their format to mac os extended jornaled

then option set partition scheme to Guid partition table

Apply

>

install <<<< it return back to the clover main screen > that's all >

I need to put a boot in that hard disk ?>

I cant access it from windows 7 or copy those files to the boot partition ,,, coz it wont appear over there ,,

for example after finish its installation can I access it and put those file from clover menu sceen ?! from the terminal or from the utilities disk ?!

Link to comment
Share on other sites

hello


u make the install ?


if u make the install.. pc always need a boot loader to boot mac os x


from the usb pen or u need to install it in the hd


http://Olarila.com/forum/viewtopic.php?f=28&t=3901


http://Olarila.com/forum/viewtopic.php?f=28&t=1716


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

Hey guys I have done the usb with Clover and the installer but I have some problems.


First, when I try to boot the installer from clover, do nothing, I can't start it. Clover work but the installer (installed with the terminal command in a different partition of clover) don't run. The usb is in Mbr and I do that following tutorials of Olarila.


Second, when I enable in secure mode uefi boot, I got an screen that said that the system found unauthorized changes on the firmware, operating system or uefi drivers.


My PC is a 3770k with an asus p8z77-v deluxe and GTX 670.


If I disables csm in bios the vga can't work...


Ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...