Installing hackintosh on pc quad core. What do we need? Installing operating systems on different hard drives

macOS is an advanced and at the same time reliable operating system that many PC users chose instead of Windows 10. Unfortunately, installing the Apple platform on a computer from another manufacturer is not so easy. The easiest and most convenient way is to boot a virtual machine.

Requirements for installing macOS on a Windows PC

To install Mac OS X (10.5 and higher) on a Windows PC, you will need a virtual machine. You can use VMWare, which allows you to run the macOS operating system in a Windows environment. As for hardware requirements, they are as follows:

  • 8 GB RAM.
  • Intel Core i3, i5 or i7 processor.
  • 128 GB hard disk space.

Applications needed to install Mac on Windows PC or laptop

You also need to download the macOS image. The password is “xnohat”.

How to Install Mac OS X on Windows

Step 1: Install the latest version of VMWare Workstation.

Step 2. Unpack Unlocker 2.0.8 and run the “win-install.cmd” file as administrator.

Step 3. After launching, you need to wait until the patch is installed and unlocks the ability to install macOS in VMWare. Open VMWare and create a new virtual machine (automatic method). In the window that appears, select “Apple Mac OS X.” In the Version list, select Mac OS X 10.7 or any newer version.


Step 4: After clicking the “Next” button, the virtual machine will be created. In order for macOS to work properly, you need to configure the hardware. To do this, select “Edit Virtual Machine Settings”.

Step 5: Click the "Add" button, then click "Next" twice and select "Use an Existing Virtual Disk" and click "Next" again. Now select the operating system image you downloaded earlier and click “Finish”.

Step 6: After completing all the settings, click on the blue launch button and follow the on-screen instructions to install OS X.


I guess that most people who want to switch to a Mac are hampered by myths about the Hackintosh - a computer that runs Mac OS. Before going directly to the description installing Mac OS X on PC, I will try to dispel some of the myths:

1. Mac OS X will only be installed on processors and chipsets compatible with it from Intel, and video cards only from NVidia. Most of the peripherals will not work.

This was once true, but progress does not stand still, more and more new patches and drivers are being released, and the amount of hardware compatible with Mac OS X is growing every day. Now Mac OS can easily be installed on a computer with a processor that at least supports SSE2, but preferably SSE3, for example, AMD or Intel. Many modern video cards support hardware acceleration, namely Quartz Extreme, Quartz 2d, Core Image, GL. I think now you understand that nothing supernatural is required from your computer.

2. Installing Mac OS X is difficult.

In fact, it’s no more difficult than installing Windows XP; I think it’s even easier if you choose the right kexts and fixes.

3. Mac OS X will not be able to “live” on the same physical disk with Windows.

Maybe! There are 2 options:
— Windows bootloader + chain0 (for example, this is how it is on my computer)
- Acronis OS Selector

So let's get down to business.

Step 1. Preparation.

First, you need to check your computer for compliance with Mac OS X requirements.
The absolute minimum is a processor that supports SSE2. This can be determined by the CPU-Z program ((1.97 Mb)).
Minimum random access memory (RAM) 256 MB, naturally, the more the better.
Not exactly an old video card for AGP or PCI-E, starting from GF4.

If your PC meets the requirements of Mac OS X, we move on.

Many people advise downloading and burning Hiren’s Boot CD. If on the same physical disk where you are going to install Mac OS there are partitions in NTFS format, then it is better to convert them to FAT32 (), because when creating a new partition an error may occur and the FS will become unreadable, but there is another, easier one the way is to transfer your data to another physical disk or flash drive.

For ease of installation, I advise you to print this text so that you can see what to do next at any time.

Having finished with the preparation, we proceed to the second step.

Step 2. Download the installation disk image.

The first step is to decide which version of Mac OS X we need: the latest one at the moment is 10.5. Since our task is to get acquainted with the system, I recommend installing versions 10.4.6 or 10.4.7, because they usually install without much difficulty. And then you can update using combo-update. But you can also try OS X 10.5. Next, go to torrents.ru and write something like this in the search form:

Mac OS X 10.4.6

If the downloaded file is in ISO format, then you can easily burn it to disk, but if it is in DMG format, you will also have to download the DMG2ISO application ((12.29 Kb)) and convert the downloaded file into an ISO image.

Step 3. Burn the image to disk.

You will need a DVD-R or DVD+R disc. You can write through Nero or Alcohol 120%. I think you can handle the recording process yourself. After burning a disc with Windows, several documents of about 150 KB in size will be “visible” on the disk, or maybe nothing will be “visible” at all, this is how it should be.

Step 4. Installation.

Insert the disc you freshly burned into the drive and restart the computer. When the message about starting installation from disk appears on the monitor, press F8 or wait a few seconds and enter the “-v” parameter (without quotes). If you press any other key or continue the installation without this action, then the graphic mode will turn on instead of the text mode - this is beautiful, but you can only find out about errors in the text mode.
There are two most common mistakes:

« system config file ‘/com.apple.Boot.plist’ not found"- there is a problem with the Mac OS X distribution (you will have to download another)
« Still waiting for root device"- most likely there is a problem with the hardware, perhaps some kind of incompatibility.

If the initial boot went without problems, then a blue display (not BSOD) with a wait cursor will open in front of you. Next you will be asked to select a language. Choose Russian (or English, if not). Click on the arrow, after which a menu will appear at the top, select Utilities -> Disk Utility and format the partition in which you are going to install Mac OS X in the Mac OS Extended journaled format.

Sometimes it happens that Disk Utility cannot format this partition in HFS or mount it, then this can be fixed with Acronis. To do this, select the manual mode for changing partitions in Acronis Disk Director Suite and create a partition in FAT32 format. Next, in its context menu, select the item to change the partition type and set the value to 0xAFh (Shag OS Swap). Acronis, of course, will complain that all the data on this partition may be lost and become unreadable, but we have nothing there anyway. :-) Apply the changes and reboot.

After the disk has been successfully formatted, click Continue, read and accept the license agreement, and select the partition you prepared for installation. Next, click Continue. Next, click Settings (Customize) and select the components that you need to install. Particular attention to patches and kexts: you need to install only those patches that are necessary specifically for your system, and nothing unnecessary. Do not install patches for SSE2 and SSE3 at the same time! Install only the one that matches your processor. Click Continue. Then the installation will be prepared and the disk will be checked. The installation will complete by restarting the computer.

Step 5: Complete installation.

After restarting the computer, there are two options:
1. Successful system boot (especially if you use Acronis OS Selector)
2. b0 error. We boot from Hiren’s boot CD and use Acronis Disk Director to make the partition with Mac OS X active. Reboot.

The system boots safely, and you will be prompted to enter this or that information, enter it. The exception is Mac ID - it must be left blank (this may cause a freeze)

P.S. The layout is switched using the Command + Space (ALT + Space) keys

If everything is done correctly, the desktop loads. Hooray! Works!

P.P.S. The administration of this site in no way forces or offers you to install hack builds of Mac OS X, we are against software hacking! When installing a hacked Mac OS X, you are responsible before the laws of your country.

Actually, the characteristics of the computer on which hackintosh was installed:

  • Housing: Raijintek Metis Red.
  • Motherboard: ASRock Z370M -ITX/ac.
  • Processor: i7-8700T.
  • RAM: GoodRam DDR4 2133MHz 16GB Kit 2x8GB.
  • SSD: KingDian N480 240GB, KingDian S280 480GB, Micron 1100 MTFDDAK256TBN Media.
  • Wi-Fi: Broadcom BCM94352Z NGFF Dual Band 802.11ac 867M Wifi BT 4.0 Lenovo FRU 04X6020.
  • Power supply: Corsair RM550x.

The built-in Intel UHD630 is currently used as a video card. And in order for the Wi-Fi of the motherboard to work in hackintosh, I had to buy a new module on ebay - Broadcom BCM4352, since the standard module from Intel does not have the necessary kexts.

Disk image

To install hackintosh, I downloaded an image from High Sierra 10.13.4 (Now there is a more current version) from the helpful rutracker.org and, according to the instructions from the topic, wrote it to a flash drive.

Programs

To install and configure OS X, you will need a certain set of programs that are installed after the first launch of the operating system. You can download them to a free flash drive in advance since there will be no Internet immediately after installation.

  • Clover EFI Bootloader- EFI bootloader, allows you to run hackintosh, windows, linux and them together. ()
  • Clover Configurator- For easier editing of Clover's config.plist. ()
  • EFI Mounter- A program for mounting an EFI partition on a hackintosh disk. ()
  • Kext Utility- Utility for installing kexts. (insanelymac.com)

Kext

Or “kernel extension”, you can call them a kind of drivers for hackintosh.

  • FakeSMC- emulates the operation of an SMC controller that transmits information about the computer, processor temperature, etc. to the operating system. Required to run hackintosh. (bitbucket.org)
  • FakePCIID- Intercepts PCI -ID requests, and returns the value specified via FakeID in Clover. Needed for some wi-fi kexts and built-in graphics to work. (bitbucket.org)
  • BrcmPatchRAM- Kexts for the Broadcom Wi-Fi module. (bitbucket.org)
  • VoodooHD- Universal kext for audio. ()
  • AppleALC- Alternative kext audio. (github.com)
  • IntelMausiEthernet- Kext to launch Intel ethernet. (bitbucket.org)
  • IntelGraphicsFixup- Fix for various integrated video cards from Intel. (github.com)
  • Shiki- Correction of possible problems with video playback. (github.com)
  • Lilu- Extension to support various kexts. (github.com)

Installation

After booting from the installation flash drive in UEFI mode, we begin the installation. In the Clover window, select “Boot Mac OS from OS X Base System” and wait for the OS X installation to appear, which will take up to five minutes. Go to disk utility and format the desired disk. On one of the SSD drives I left the previously installed Windows 10, and formatted the other SSD from the installer into AFPS format, calling it classic Macintosh HD. Install OS X and wait for the reboot. After the reboot we see Clover again.

Since I have a built-in Intel UHD630 video card, I had to specify the boot parameter -disablegfxfirmware so that the installation could continue after a cyclic reboot with the error “Begin Gfx firmware load process”. To specify a boot option in Clover, open the Options section, enter -disablegfxfirmware in the Boot Args line and press Enter.

After installation, we find ourselves in OS X and the first thing we do is install the previously downloaded Clover EFI Bootloader. In the Installation type item, select Settings and check the boxes:



Here is a list of kexts installed on me:

  • FakeSMC.kext
  • FakeSMC_LPCSensors.kext
  • FakeSMC_GPUSensors.kext
  • FakeSMC_CPUSensors.kext
  • FakeSMC_ACPISensors.kext
  • FakePCIID.kext
  • FakePCIID_Intel_HD_Graphics.kext
  • FakePCIID_Broadcom_WiFi.kext
  • BrcmFirmwareData.kext
  • BrcmPatchRAM2.kext
  • IntelGraphicsFixup.kext
  • IntelMausiEthernet.kext
  • VoodooHDA.kext
  • Shiki.kext
  • Lilu.kext

Also place your kexts in the EFI/EFI/CLOVER/kexts/Other folder for the Clover bootloader.

If the disk is formatted in AFPS, you may need to fix the boot problem:

  • In Finder - Go - Go to Folder
  • Enter /usr/standalone/i386/
  • Copy apfs.efi to /EFI/EFI/CLOVER/drivers64UEFI/

Clover configuration is edited in the file EFI/EFI/CLOVER/config.plist. It can be edited by program Clover Configurator or manually using Microsoft Visual Studio Code.

Intel UHD 630 Compatibility Fix on Coffee Lake

After installation, I added the -disablegfxfirmware parameter to the Boot-Arguments section in config.plist.

The resulting flickering of the image on the built-in graphics of the Coffee Lake generation processor can be corrected using simple instructions. Open a terminal and enter:

sudo nano /System/Library/Extensions/AppleIntelKBLGraphics.kext/Contents/Info.plist

In the opened file, in the terminal, find IOPCIPrimaryMatch, at the bottom of the file. At the end of the next line - , find 0x3E928086 and add 0x3E918086 in front of it.


Save the file changes with the combination Ctrl + X, agree to the changes Y and press Enter.

sudo nano /System/Library/Extensions/AppleIntelKBLGraphicsFramebuffer.kext/Contents/Info.plist

In which we are looking IOPCIPrimaryMatch, where to the end of the line add 0x3E918086 0x3E928086 .


Clear the cache with the command:

sudo kextcache -i / sudo touch /System/Library/Extensions && sudo kextcache -u /

VoodooHDA .kext volume fix

Sometimes VoodooHDA .kext produces a sound that is quieter than in Windows 10. You can fix it by opening the kext with the right mouse button. Show package contents - Contents folder - Open the Info.plist file with an editor.

Find the line VoodooHDAEnableHalfVolumeFix and change the value of the next line to .

If no significant changes have occurred, you can find the block:

PCM 90 Rec 90 iGain 90 iMix 90

And change all 90 to 100 , then reinstall kext.

Eventually

Thus, hackintosh 10.13.4 was installed, which was soon updated to 10.13.5 without any problems.


Linking to an account and logging into iCloud and other Apple services went without any problems. The operating system works stably, and the installation is not as complicated as it seemed at first glance. Problems arose only with the support of the Wi-Fi module, which is why I had to buy a Broadcom BCM4352 and wait for it to be delivered from China. As a result, I have Windows 10 installed for gaming on one of the SSDs, and hackintosh, which is loaded by default, on the other. The system selection occurs when loading into Clover.

Materials used

  • Article from habrahabr.
  • Experience of a person with a similar motherboard on tonymacx86.com.
  • Instructions for fixing Intel UHD 630, at hackintosher.com.
  • Image with

This manual/guide/etc was written for those who are too lazy to piece together this or that information about installing a Mac on a PC, everything is clear and straightforward.

To begin with, before actually installing the system itself on a PC, we need to decide whether we need it or not, since the system itself is very specific in terms of installation and configuration, unless, of course, you have an Apple device. There is no point in explaining that deploying a system that was not originally planned for desktop PCs is a complex matter and it can take anywhere from 2 to N hours, depending on the compatibility of the hardware.

Now, let’s figure out what Hackintosh is: the word “hackintosh” was formed from the merger of two words “Macintosh” and “Hack”, which essentially means “hacked Mac”, although there is nothing to do with “hacking”.

In this guide, we will look at creating an installation flash drive from Windows (since this is the most popular system among “beginner hackintoshers”), installing the system on a blank disk, kernel extensions for your hardware and, in fact, installing and configuring the bootloader (it is at this point that many and problems arise)

CPU: Intel Core i5 4460 3.2 GHz (Haswell)
Memory: 16 GB Crucial Ballistix Sport
Graphics: MSI GeForce GTX 760 2048MB
Motherboard: Gigabyte GA-H81-S2V (UEFI Bios)

I would also like to point out that in this article we work with NVidia video cards and UEFI BIOS.

Well, let's go.

Step 1. Iron assessment and analysis

Yes, despite the fact that Hackintosh runs in one way or another on almost any configuration, it always does it differently. Therefore, it’s worth immediately analyzing our hardware.

Processors

So, let's start with the fact that on machines with AMD processors the system WILL NOT work(it is very difficult to call the dying state of agony in which she will arrive “work”). Yes, in fact, you can install a custom kernel, reflash it, and so on, but there’s no point in reinventing the wheel if it breaks anyway. The system runs without problems on Intel processors, starting with Core i3 (we are talking specifically about macOS Sierra 10.12; previous releases can also run on Core 2 Duo and Pentium processors). In my case, the i5 4460 stone fell out (4 cores, 4 threads, turbo boost up to 3.4 GHz).

ACHTUNG 2

Problems are observed on socket 2011-3 processors, in particular on the X99 chipset. Usually it appears due to too many bells and whistles on the motherboard.

Video cards

List of supported Intel graphics cores

Intel HD 3000
Intel HD 4000
Intel HD 4600 (laptops)
Intel HD 5000

Radeons (AMD) start, but again with a bang. For example, new cards (RX-4**), as well as the well-known R9 380 or R9 380x, can simply display the loading in a black screen.

List of exactly supported AMD cards

Radeon HD 4000 series
Radeon HD 5000 series
Radeon HD 6000 series (Preferably 6600 and 6800)
Radeon HD 7000 series (Preferably 7700, 7800, and 7900)
Radeon R9 200 series (R9 290 does not start)
Radeon R9 300 series (There may be problems with the R9 380. I haven’t personally tested it, but judging by the reviews on Reddit with these cards There is Problems)

In this manual we will not consider the AMD graphics plant, since it all comes down to framebuffer patches and Device ID changes in the bootloader (which is individual for everyone). More information about AMD cards here: click (English).

The situation is completely different with cards from NVidia. Almost everyone gets turned on, with the exception of some especially gifted ones. Problems are observed in the 10th episode, but most likely they will not appear soon. On GTX cards, the graphics start up with half a kick, GT cards are also not lagging behind, although there are some exceptions.

List of working NVidia cards

GeForce 7000 series
GeForce 8000 series
GeForce 9000 series
GeForce 200 series
GeForce 400 series
GeForce 500 series
GeForce 600 series
GeForce 700 series
GeForce 900 series

I am more than sure that you will find your card in the list.

Network Controller

I think there is no need to chew on how you can identify your network card...

Newby guide

Open the Task Manager → performance tab → Ethernet (Windows 10), there will be a network connection in big black letters.

By the way, you can also look in the BIOS

One way or another, we will not dwell on this in detail. In any case, you will have to install a network card, so I will simply provide a list of supported network cards.

Network cards

Intel Gigabit

5 Series – 82578LM/82578LC/82578DM/82578DC
6 and 7 Series – 82579LM/82579V
8 and 9 Series – I217LM/I217V/I218LM/I218V/I218LM2/I218V2/I218LM3

Realtek

RTL8111, 8168, 8101E, 8102E, 8131E, 8169, 8110SC, 8169SC
RTL8111/8168 B/C/D/E/F/G
RTL8101E/8102E/8102E/8103E/8103E/8103E/8401E/8105E/8402/8106E/8106EUS
RTL8105/8111E/8111F/8136/8168E/8168F

Atheros

AR8121, 8113, 8114, 8131, 8151, 8161, 8171, 8132,8151, 8152, 8162, 8172
AR816x, AR817x supported

Broadcom

BCM5722, 5752, 5754, 5754M, 5755, 5755M, 5761, 5761e, 57780, 57781, 57785,5784M, 5787, 5787M, 5906, 5906M, 57788, 5784M

Marvell

88E8035, 88E8036, 88E8038, 88E8039, 88E8056, 88E8001

Killer

Memory

There are no restrictions. The system runs on two gigabytes. Recommended 4. Author recommends 8.

Actually, we sorted out the hardware. If at this stage you have not changed your mind, move on.

Step 2. Make a bootable USB flash drive and deploy the installer to it

So, here we come to practice. Let me remind you that we do all this from Windows. I’ll say right away that we will not use images from the root tracker, which are so ardently recommended by people for whom everything works with hackintoshes “up to 18”. First, we need the BDU (BootDiskUtiliy) utility.

You will need a flash drive >8 GB. Any.

1. Launch the utility
2. Destination disk → select our flash drive
3. Format disk

Now we wait. The flash drive will be formatted in Apple HFS and split into two partitions, one of which will have the bootloader installed (CLOVER), and the second will remain blank so that the installer can be deployed there.

After the completed manipulations we get approximately the following picture:

Next, you need to deploy the installer to the second partition. We also do this through the BDU utility. However, the question here is where to get the image from. There are two options: take a ready-made one, already unpacked, or personally get it from Install Mac OS Sierra.app from the AppStore. Since the second method requires quite a lot of time, and searching for this .app itself takes a very long time, we will use the first. Craftsmen have already prepared ready-made HFS files for this utility and extracted them from the .app for us. All we need is to download it (the image weighs almost 5 gigs, so you can just put it on download). Actually, download macOS 10.12 Sierra from here.

1. We extract from the archive HFS Partition File (HFS+), a file with the extension .hfs.
2. In the BDU “Destination disk” utility window, select Part 2 of our broken flash drive.
3. Open “Restore partiton”.
4. Search and select our *.hfs file. Please note that it must be no larger than PART 2 partition.
5. We are waiting for it to be unpacked.
That's it, the installer on the flash drive is unpacked and ready to go.

Now we will need some files for your system. I have collected everything I need in this archive. Later I will explain what and why.

You will also need this kext, download it too: click. We unpack the folder from the archive into the root of the Clover partition, and the kext into the folder that we unpacked. All is ready. The flash drive is done. Go ahead.

Step 3: Install macOS Sierra on Intel PC

We check that the flash drive is inserted into the 2.0 port. Reboot, go into BIOS. Let me remind you that our BIOS is UEFI. Disable virtualization (Intel Virtualization). Set boot priority (BOOT) to our flash drive. Make sure that it will boot in UEFI mode. Save and apply the settings, reboot. We get to Clover’s menu.

Clover is a Hackintosh downloader and installer.

Press the down arrow until we get to the Options menu. Press Enter. All we need here is this line:

We write the following into it:

< span class = "hljs-attr" >kext - dev - mode = 1< / span > < span class = "hljs-attr" >rootless = 0< / span >- v< span class = "hljs-attr" >npci = 0x2000< / span > < span class = "hljs-attr" >nv_disable = 1< / span >

Let me explain what each of these arguments does:

kext-dev-mode=1 is a necessary arg, without which the hack will not run. Allows you to load kexts into the system (Initially, FakeSMC.kext).
rootless=0 - disables SIP (System Integrity Protection). Required arg.
-v - “Verbose mode”. Instead of a beautiful apple, we will see a “console” loading so that we can identify an error if one appears.
npci=0x2000 (or 0x3000, depending on the PCI-e version) - optional. We prevent the download from stopping at the PCI scanning stage. You don't have to register it.
nv_disable=1 - optional. To avoid loading artifacts and other garbage, disable the graphical shell. We load in native graphics mode in Orthodox 144p resolution. You don't have to register it.

Apply the arguments by pressing Enter. Select Boot Mac OS Sierra from OS X Base System. And so, the birthplace download began. Let's look at some errors right away: still waiting for root device - the IDE controller does not have time to connect.

Fix

We reconnect the flash drive to another 2.0 port, boot with the following arguments:
kext-dev-mode=1 rootless=0 cpus=1 npci=0x2000 -v UseKernelCache=No

Missing Bluetooth controller transport - the video card did not turn on, or FakeSMC.kext was not connected. Check that there is FakeSMC.kext in the kexts/other folder. Bluetooth has nothing to do with it.

Fix

We load like this:

kext-dev-mode=1 rootless=0 -v npci=0x2000
Or like this:
kext-dev-mode=1 rootless=0 -v -x npci=0x2000

If such errors still remain, then we try to load like this:

< span class = "hljs-attr" >kext - dev - mode = 1< / span > < span class = "hljs-attr" >rootless = 0< / span >- v< span class = "hljs-attr" >npci = 0x3000< / span > < span class = "hljs-attr" >darkwake=0< / span > < span class = "hljs-attr" >nv_disable = 1< / span > < span class = "hljs-attr" >cpus = 1< / span >

In other cases, only Google will help, although these fixes should solve these problems.

We wait. At some points it may freeze. If it freezes for more than a minute, reboot. Should help in some cases.

And here we are, actually, in the installer. Select a language and click on the arrow. The language pack will load (it may freeze for a minute). Now open Utilities>Disk Utility, we need to format the disk for macOS. Select the desired disk and click “Erase”. For convenience, we call the new disk “Macintosh HD”. Format and close Disk Utility. Next, select the disk on which we will install the system (in our case, Macintosh HD), and install it.

Installation takes from 15 to 30 minutes, it all depends on the speed of writing to the disk. After installation, the system will prompt us to set up an Internet connection - skip it, we’ll do this later. We create a user. Done, we're in the system. Or rather, in her stump. Nothing is working for us yet. If you reboot the machine, it will be impossible to get into the system (due to the absence of a bootloader).

Fix

If the computer still reboots or switches off, you can choose to boot from a flash drive, then select “Boot macOS Sierra from Macintosh HD” in the clover menu, not forgetting to write boot arguments in the options menu.

Step 4. Basic system setup and installation of kexts

So, here we are in the system. While she can do little, we won’t go online, the graphics don’t work, and in general everything looks very bad. This needs to be fixed.

Let's figure out what kexts are.

Kext(Kernel Extension) - kernel extensions that launch this or that equipment incompatible with the original Mac (For example, where in the aimak can we find a network card from Realtek or a sound card?). These are what we need now.

First, we need the PostInstall folder, which you unpacked into the CLOVER partition on the bootable USB flash drive. From there, we first need the Kext Utility, which allows us to install kexts on the system. We launch it, enter the user’s password, wait until we see the inscription “All done”.

We install the kext on the network card (Network folder, sorted into folders for each network card), simply drag it into the program window. We wait until the “All done” message appears. Next, go to the CLOVER section of our flash drive, then to kexts, then to Other. Copy FakeSMC.kext from there to any place (Better in the same PostInstall), then install it in the same way as the kext on the network card. You will also need a USB 3.0 kext. It was in the Legacy_13.2_EHC1.kext.zip archive, which you extracted in PostInstall. Let's install it.

Done, we set up the Internet, USB and allowed the system to boot at all (FakeSMC.kext imitates the System Management Control chip, which is present only on Apple motherboards. Without this kext, the system simply will not start).

Now let's install the bootloader. Go to the PostInstall folder → Clover_v2.3k_r3949. There is a *.pkg file, open it.

Click continue, read the information about the bootloader (I’m lying, click continue too). Next, in the lower left corner, click “Configure”.

For UEFI boot, set the following settings:

We'll talk about legacy loading later, since everything is a little more complicated there and you'll have to patch DSDT.
Click “Install”. Let's go through the bootloader installation process.
Done, the bootloader is installed.

Step 5. Bootloader setup

After installation, we will receive a clean, unconfigured Clover bootloader, which needs to be slightly configured. Open Clover Configurator (in the future I do not recommend using this program for point-by-point editing of the bootloader config).

First, we need to get to the EFI partition with the bootloader. In the left menu, click Mount EFI. Next, click Check partition, a table of all partitions will appear. The partition we need should be on the same partition as Apple_HFS, it appears as EFI EFI. Click Mount partition. In the list, select the disk we need (For example, disk0s1). Please note that there is a bug where all sections are not visible. Roll the mouse wheel so you can scroll between sections and select the one you need.

Next, click Open Partition. It will open a “folder” with the desired section. Go to EFI>CLOVER. Copy plist.config to the PostInstall folder for convenience. Also, just in case, we copy it somewhere else, since the one we just copied will be edited. And one more for backup. Copy and open plist.config.

We see something like this:

ACPI - We don’t touch the fixes, we drop (DropOEM) our video card (DropOEM_DSM works when two DSDT patches are encountered. Therefore, we leave the original autopatch method as the bootloader, and disable ours, if one appears).
Go to the BOOT section.

So this is where we need to dig in. We set the arguments ourselves, depending on the system.

V (verbose) - the already familiar “text” boot mode. It is better not to enable it, but to register it manually if necessary.
arch - architecture. In my case x86_64
npci is a key already known to us. We post if necessary. I recommend doing the first boot without it, but in Verbose mode.
darkwake - responsible for sleep mode and hibernation. Has 7 modes. If the dream does not start by changing hibernatemode in the terminal, then I recommend using trial and error to find the desired darkwake mode.
cpus=1 - launch using only one core. I don't recommend choosing.
nvda_drv=1 - activation of the NVidia web driver, which we will install a little later. Choose if you have nVidia.
nv_disable=1 - disables non-video graphics and runs on the native Mac driver. It’s better not to choose, but to register manually if necessary.
kext-dev-mode=1 and rootless=0 have already been explained earlier.

Let's go to the right subsection.

Default Boot Volume - the partition from which the disk selection to boot will begin by default. By default LastBootedVolume (last selected partition).
Legacy - Legacy Boot for older versions of Windows and Linux. It very much depends on the hardware and the design of the BIOS, so several algorithms have been developed:
LegacyBiosDefault - for those UEFI BIOSes that have the LegacyBios protocol.
PBRTest, PBR - PBR Boot options, this is just overkill. In my case PBR works.
XMPDetection=YES is an important parameter. Fixes the amount of RAM, slots, dies, frequency and number of channels.
DefaultLoader - if there are several loaders on the partition, select the default one. Must not be empty!
Timeout - time before automatic boot.
Fast - a parameter that skips the selection of a partition and immediately proceeds to downloading.
-1 (Timeout -1) - disable autoboot.

We skip the CPU section, the bootloader itself will pick up the necessary values. Devices is also better to skip if you have nothing to fake. Disable Drivers - disable unnecessary drivers at boot. GUI - customizing the appearance of the bootloader. I think there is no need to explain anything here, there are no special parameters here. Screen resolution, language and menu theme. It's simple. Graphics - graphics settings and injections.

Do not touch the Inject NVidia parameter! There will be artifacts at launch. It is designed to run older GT line cards

Kernel and Kext Patches - patches and kernel customization. By default, Apple RTC is selected. It's better not to touch. SMBIOS is the juice, customization and counterfeit of the poppy.

To configure factory information, click on the magic wand icon. Next, select iMac (if PC) or MacBook (if laptop).

ACHTUNG 3

You can also look among older configs, such as MacMini or Mac Pro. Your task is to choose the one that is most similar to your hardware.

Don't add anything to Memory and Slots. These are purely cosmetic parameters that clover picks up at the loading stage. Incorrectly set parameters can cause conflicts.

WARNING: Nvidia video cards without policy-kext edits only work on iMac13.1 and iMac14.2 Mac models.

In AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/info.plist we correct Config1 to none here:

It should work now.

Ready. We don’t touch anything else, we’ve done the basic settings. We save our file. Now copy it to the CLOVER folder of the EFI partition, log in, and replace it. Let me remind you that before this you should have made a backup.

Step 6. Install the graphics driver and reboot for the first time

We're almost there. Now all that remains is to start the video card. The PostInstall folder contains the WebDriver*.pkg package. Open it and install it. Then he asks us to reboot. Let's reboot.

Now let's make sure that we are not booting from a flash drive, but from hard drive in UEFI mode. Select Boot macOS Sierra from Macintosh HD. Let's start.

Note

I recommend using the -v switch for the first run, so that if something goes wrong, you can immediately identify the error. If the bootloader is broken and you cannot get into the system, then boot from the flash drive, enter the necessary keys in the options and boot the system into Verbose mode.

Done, here we are in the system. In the picture I showed approximately what the axis will look like after all the settings. Pay attention to how the system understood your Mac, as well as the processor frequency.

A sure sign that the Nvidia driver is working will be its logo on the taskbar. I turned it off, by the way, because it gets in the way, but you can access the invisibility control panel through “System Settings...”. We can check the Internet through Safari. USB 3.0 is trite by plugging a flash drive into a 3.0 port.

Additionally

- Sound

When it comes to sound, the situation is different. If you have an external sound card, then simply download the drivers for it from the manufacturer’s website (analog devices, such as mixing consoles, do not require drivers and start up immediately). For an integrated sound card, use one of these kexts:

Regarding AppleHDA

The following conditions must be met for it to work:

  1. Availability of vanilla (pure) kext AppleHDA.kext in the system.
  2. The presence of the HDEF section in your DSDT (or the clover fix FixHDA_8000->True)
  3. Specify the layout in DSDT (or in the config.plist of the clover Devices->Audio->Inject->1,2,28...etc. Select from those specified for your codec above)
  4. Put away ALL sound patches (if they were in your config.plist) from the KextsToPatch section
  5. Remove DummyHDA.kext (if used)
  6. If you used VoodooHDA.kext, delete it. Also delete AppleHDADisabler.kext and rebuild the cache.
  7. For Intel HDMI 4000/4600, a clover fix is ​​required: UseIntelHDMI->True

Actually, that's all. Afterwards we get macOS Sierra ready to work.

Last updated by at December 27, 2016.


You cannot write code for iPhone on PC. Apple party politics. Although the iPhone SDK is classic GCC, I don’t know of cases where it was written on a PC. But you can still install the iPhone SDK on a jailbroken device, write and run code directly on the phone/tablet.

There are rumors that installing MacOS on a regular PC is "difficult and uneasy".
In fact, it all depends on luck :) On luck and on hardware.
In my case, installing MacOS X was a little more difficult than installing Windows 7.

There are a lot of installation paths. I will describe the simplest and most straightforward one. Complex options are not for me. If something doesn’t work out, it doesn’t mean that you can’t install MacOS. Perhaps it is possible, but in more complicated ways. For laptops, you can look for ready-made images of boot disks (modified by craftsmen).

The latest line of Macs is just a regular PC. An ordinary PC with a slightly modified bios. And MacOS only has drivers for a limited set of devices that come with Macs.

There is no need to reflash the bios (although this is one of the possible ways). I now have MacOS X, Win XP, Win 7 running on one hardware. But I’ll have to look for the firewood (written by craftsmen, even in the source code).

Briefly: "Download a special boot disk, reboot from it, insert the original MacOS X DVD, install it, update it, search for and install drivers. That's it."


0. Setting up bios

Optional, but desirable part.

1. Set the SATA controller to AHCI mode (I have always had it as AHCI).
2. Turn ACPI on (some people advise, on the contrary, turn it off).
3. Switch HPET (timer) to 64-bit mode (I didn’t find one like that).
4. Turn off all processor cores except one (I haven’t found one like this).
5. Turn off SpeedStep.

Everything works for me regardless of the ACPI and SpeedStep settings.

1. Is it worth visiting at all?

Burn .iso to CD-RW. We boot from it, if a disk selection menu appears - hurray, your PC is now almost a Mac. If it doesn’t work, try another .iso. I downloaded the very first one, for regular hardware: empireEFIv1085.iso.

If all .isos do not work, you can try older versions of EmpireEFI. If nothing suits you, then the simple option is not for you. There are a lot of complicated installation options left ( Google, forum and wiki to help), or buy Mac-compatible hardware (list), or buy a PC with MacOS already configured and installed (there are companies that do this), or find those who will supply MacOS, or still buy a real Mac ( having overpaid twice).

2. You need a regular MacOS X installation DVD

Now your PC is almost a Mac. You can insert the MacOS X boot DVD and install it.
For iPhone SDK 4.0, you need version 10.6 or older. I installed 10.6.3, auto update updated it to 10.6.4.

Where can I get such a disk?
1. From a friend of a poppy grower.
2. Buy in a store.
3. Download the image from the Internet and burn it to DVD-R DL (double layer) which is 8Gb.
4. Download the image from the Internet and make a bootable USB flash drive.

If you have a familiar Mac driver with a bootable DVD, this is the best way. It will help you install and configure MacOS.

If the “hi-tech crime department” often comes to visit you, buy the official disc. Installing MacOS on a PC violates the Apple license, but this license is not valid in the Russian Federation, because violates the laws of the Russian Federation (specifically, Article 1280 of the Civil Code). This license also violates laws and is not valid in Europe, but not in the USA.

You can download the image, for example, from here.
It is in Mac .dmg format.
This format for Windows can write (and convert to .iso): PowerISO, UltraISO.
You can simply convert to .iso using dmg2img.

You need to write to a two-layer DVD-R DL disc, at the minimum possible speed and with a recording check. If the installer cannot read anything from the disk, he will write to you that you can throw the disk out the window.

To make a bootable USB flash drive, you need an already installed MacOS (even one running under VMWare will do) and a flash drive with a size of 8Gb or larger.

3. Where will we put it?

I don’t know how to install MacOS on one physical disk without erasing the already installed Windows. Paragon Partition Manager can create MacOS partitions on the same disk with Windows; the MacOS installer even sees this partition, but refuses to install it on it. He wants a GUID for the entire disk, but refuses to install it on the MBR.

But you can install MacOS, and then Windows (using BootCamp).
I did a simple thing - I bought a new disk specifically for MacOS.

4. Installation

We boot from the EmpireEFI CD, when the disk selection menu appears, remove the CD and insert the MacOS DVD (or bootable USB flash drive), select the disk from which the installation will take place. That's all.
For advanced installation diagnostics: in the disk selection menu, press Tab (which will switch to text mode), select the disk (up/down arrows) and type "-v".

If you see a language selection menu, then you're lucky the second time :)

If the USB keyboard or mouse does not work, then try removing and inserting them until they work. This only happened to me once, all other times everything worked without problems.

Switch languages: Win+Space.

The installation is no different from installing on a Mac.

When prompted to select a disk where to install, go to the menu (which is at the top): Utilities -> Disk Utility, select the disk, go to the Erase tab, set Format as Mac OS Extended (Journaled), and click on Erase. After formatting, we exit the utility and see that a new disk has appeared suitable for installation.

MacOS will take up 7 GB of disk space.

5. After installation

After installation, my network card and Internet immediately started working. Updating the system to 10.6.4 via the Internet was successful (Apple -> Software Update), it downloaded more than a gigabyte. If the driver for the network card does not work, you can always configure it later.

I disabled all sleep modes (System Preferences -> Energy Saver). I have them disabled in Windows, and they wrote on the forums that there could be problems: either it won’t fall asleep, or it won’t wake up. I didn’t even try it myself. Restart and Shut Down - work.

MacOS will not boot on its own. To boot, you must first boot from the EmpireEFI CD and select the drive where you installed MacOS. To boot ourselves, we need myHack or Chameleon, both of which are on the EmpireEFI (Empire EFI/Post-Installation) CD. First, install myHack; if MacOS will not load, install Chameleon. And don’t forget to set the first boot disk with MacOS in bios.

If MacOS does not boot (wrong bootloader or driver does not fit), you can always boot from the EmpireEFI CD.

I have a new myHack, downloaded from the Internet, but it doesn’t work. Chameleon - got up, the old myHack with CD Empire - also got up, stopped on it, because... it boots MacOS without any extra clicks.

MyHack and Chameleon prompt you to select a boot disk at startup - this way you can boot into Windows (if you have one). You can also select the boot disk when you start the computer using Shift+F8 (my bios can do this).

6. Drivers

Drivers in MacOS have the extension .kext
The main (system) drivers are here: /System/Library/Extensions/
Drivers for PC: /Extra/Extensions/

A basic set of drivers is on the EmpireEFI CD: /EmpireEFI/Extra/Preboot.dmg/Extra/Exten sions/
Copy all these .kext to /Extra/Extensions/

Information about hardware as MacOS sees it: Apple -> About This Mac -> More Info.

If the network card does not work, you can search for drivers under Windows. MacOS can read NTFS and FAT drives. My MacOS sees all WinXP and Win7 disks in read-only mode. You can also download the drivers onto a flash drive.

Place the drivers in /Extra/Extensions. Sometimes you need to put the driver in /System/Library/Extensions, replacing the system one (this is written in the driver description). Sometimes you need to erase the system driver.

After changes in drivers, you need to update the driver cache.
This is easy to do using pfix. We launch it, it will ask for the password for the system and the disk number where the system is located. It works for a long time, about 15 minutes. If the system has an empty password, pfix does not understand this; it needs at least a 1-letter password (change the password here: System Preferences -> Accounts).

The driver for NVidia installed right away, I tried the first one I came across: NVEnabler 64.kext
After updating the driver cache and rebooting, the mode changed from 1024x768 to 1920x1080 and new modes appeared in System Preferences -> Displays.

I didn't find a driver for my mother. Everything worked as is, except for the sound. I read on the forums that my mother needs a universal sound driver, VoodooHDA.kext. I tried different drivers: either there was no sound, then volume did not work, then volume worked, but there was noise at maximum. This driver worked with a bang when the system AppleHDA.kext was erased.