Contribute
Register

[Guide] Booting The USB Installer Using OpenCore

Feartech

Moderator
Joined
Aug 3, 2013
Messages
17,819
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
A guide in setting up your USB installer using OpenCore,

To start:
A USB stick / flash drive or whatever you want to call them, USB2.0 16GB is preferred, possibly a USB3.0 *may* work. Sandisk makes a good USB installer, no I don’t have shares in them, they just seem to work well.

Kexts Required
These are just going to be the basic kexts to get your machine up and running, you can add your audio and any other kexts after installation

VirutalSMC:
https://github.com/acidanthera/VirtualSMC/releases

Lilu:
https://github.com/acidanthera/Lilu/releases

Whatevergreen:
https://github.com/acidanthera/WhateverGreen/releases

VoodooPS2Controller:
https://github.com/acidanthera/VoodooPS2/releases

Network card:
https://www.tonymacx86.com/resources/categories/kexts.11/

Creating the USB installer

If using a mac to create your installer, a nice video can be found here:

As we will be using Windows to create the installer, we are going to need to download and install Python before we start the USB installation:

After installing Python, we will be using gibMacOS. A nice handy tool that can create your USB installer using Windows or a Mac machine. Head over to https://github.com/corpnewt/gibMacOS and click the green "Clone or download" button and then choose Download as Zip.

We will be using Windows for this tutorial

Open up the gibMacOS-master folder and find gibMacOS batch file, right click and Run As Administrator

This will download a 6mb or so file and you will be presented with the following:
1.jpg


We will be downloading the Recovery, so press r and then enter and you should see something like this:
2.jpg

Now, this is important, we will be needing to find the latest Catalina that ends with FULL install, in this case it is option 4. In later versions of macOS, this number may change. So choose 4 and then press enter and wait for the download to complete, depending on your internet speed, this could take awhile. After the download has finished, press enter and you will be back to the main menu.

As we have finished with this command, we can now close this window.

Now we have the files we need, we can now create the USB, right click Makeinstall and Run as Administrator. This will download a small file and you will be presented with the following:
3.jpg


This is important, do not format your wrong drive!

As above, the program has detected the USB stick as drive 2 (your machine may list this as drive 1 or 3 etc) As we are going to be installing OpenCore, we will type in 2o
2: being the selected USB stick
o: being OpenCore boot loader

Then you will see this:
4.jpg

Yes! we will continue. This will now format the USB installer for us and then ask us:
5.jpg

Now we navigate back to our gibMacOS-master folder and go to the macOS Downloads folder that was generated when we downloaded the recovery above. Navigate through the folders until you find RecoveryHDMetaDmg.pkg file.

Hold shift button and right click the file and choose "copy as path" Then right click in the cmd windows and the full path to the file will be populated:
6.jpg

Then press enter and wait for the files to be copied to your USB. We have now finished with this tool and now close it.

Under Windows Explorer, you should have a new drive called BOOT with a folder called EFI

Now, important, delete the EFI folder and use the one attached in this post instead.

This setup if for a Skylake system, you will need to change a few details if you do not own a Skylake

You will need to download a copy of ProperTree from here:

Click the Clone or Download green button and Download ZIP, extract and then run ProperTree

Click File -> Open and find your config.plist and scroll down to DeviceProperties:

8.jpg


You will be wanting to change:
AAPL,ig-platform-id
device-id
model

I don't really want to list them all here, but if you navigate your way to:

You can then find your setup and change accordingly

Or you can check over Rehabman's config.plist's if that is easier:

Next, you may need to change the network kext, scroll down to Kernel and change name of the ExecutablePath to the name of your network kext:
9.jpg

(Making sure you have the correct kext in your kexts folder)

Then scroll further down until you find SystemProductName. This is currently set to MacBookPro13,1 which is for a Skylake laptop, you can go back to Rehabman's config.plist's to determine the correct model name for your laptop.

Once you have made those changes, save your config.plist and reboot your machine into your BIOS.

You will want to make some changes here, if you can change these options:

Turn off Secure Boot
Turn the TPM off
Disable VT-D
Graphics DVMT-Prealloc set to 64MB or 128MB (You may not have this option, but the config.plist has a patch for this)
SATA - Set to AHCI
Disable Fast Boot
Disable Wake on Lan
Disable any fingerprint or sdcards if possible

Booting

Now, boot with your USB stick, the config.plist has verbose enabled so you can see what is going on. It may look like it has frozen in some places, but boot from USB can be slow, so please be patient.

Once you have reached the installer, choose Disk Utility and then click on view and then show all devices

Then you want to erase the drive and start the installation

Leave the USB plugged in as you will need to reboot from this a few times while macOS is installing

Once you have reached the macOS desktop, you will need to mount your EFI partition to then copy over your EFI folder from your USB disk.

Download and run Hackintool:

and navigate to Disks and click the icon to mount your EFI partition:
Snip20200422_1.png


Once the EFI has been mounted, delete the EFI folder within and then copy your EFI folder from your USB installer.

Reboot your laptop..... Done......
 

Attachments

Last edited:

Feartech

Moderator
Joined
Aug 3, 2013
Messages
17,819
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS

Feartech

Moderator
Joined
Aug 3, 2013
Messages
17,819
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Joined
Feb 13, 2011
Messages
51
Motherboard
Lenovo Y700 15 ISK-Clover
CPU
i7-6700HQ
Graphics
GTX 960M + HD 530
Mac
MacBook Pro
Mobile Phone
iOS
ExecutablePath
Next, you may need to change the network kext, scroll down to Kernel and change name of the ExecutablePath to the name of your network kext:
9.jpg

(Making sure you have the correct kext in your kexts folder)
On the plist created doesn't apear this ExecutablePath
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
17,819
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
ExecutablePath


On the plist created doesn't apear this ExecutablePath
because that config.plist is for clover, try the one attached in Post 1
 
Joined
Feb 13, 2011
Messages
51
Motherboard
Lenovo Y700 15 ISK-Clover
CPU
i7-6700HQ
Graphics
GTX 960M + HD 530
Mac
MacBook Pro
Mobile Phone
iOS
because that config.plist is for clover, try the one attached in Post 1
ok, so i need to use this one and change there the configs. Thanks.

Sorry i miss this part :S

Now, important, delete the EFI folder and use the one attached in this post instead.

This setup if for a Skylake system, you will need to change a few details if you do not own a Skylake

You will need to download a copy of ProperTree from here:
 
Joined
Feb 13, 2011
Messages
51
Motherboard
Lenovo Y700 15 ISK-Clover
CPU
i7-6700HQ
Graphics
GTX 960M + HD 530
Mac
MacBook Pro
Mobile Phone
iOS
Last edited:
Joined
Sep 21, 2012
Messages
5
Motherboard
asus n56vv-s4007H
CPU
Intel Core i7
Graphics
Intel HD Graphics 4000 +geforce 750M 1920x1080
Hi Feartech , I 'm try this method , by El Captain mac OS X on my laptop (asus) and when I open (BuildmacOSInstallApp.command)
I don't have the same shoot that you have post, but another one windows that ask me:
to drag and drop folder from gibMacOS .
I don't understand the exactly procedure .
Could you help me more?
tnk's

edit: I also have the installMacosCatalina.app, inside the gibMacOs-Master, because Yesterday have make this one procedure for download it

Screen Shot 2020-04-23 at 15.40.19.png
 
Last edited:
Top