Contribute
Register

[Guide] Patching the kernel for Haswell CPUs, XCPM early reboot

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Using this command line, found on this website and a few others:

sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install OS X Yosemite.app --no interaction
That command creates a normal installer image just as you would use on a real Mac. The kernel is buried deep inside. Only Clover can boot such an image.

There is no need to patch the kernel manually when using Clover. It is done automatically with KernelPm=true.

See guide: http://www.tonymacx86.com/yosemite-laptop-support/148093-guide-booting-os-x-installer-laptops-clover-uefi.html
 
Joined
Mar 6, 2015
Messages
12
Motherboard
ASRock Z97 Extreme4
CPU
Intel Core i7 Processor i7-4770S 3.1GHz
Graphics
Asus GeForce GTX 660
Mac
Mac Pro
Here is a screen shot of what the drive looks like, with hidden files revealed, after using terminal to create the USB.
Screen Shot 2015-03-06 at 7.10.49 AM.jpg
 
Joined
Mar 6, 2015
Messages
12
Motherboard
ASRock Z97 Extreme4
CPU
Intel Core i7 Processor i7-4770S 3.1GHz
Graphics
Asus GeForce GTX 660
Mac
Mac Pro
Ok, thank you for your time. I will give that try.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Jun 1, 2015
Messages
3
Motherboard
ASUS F555LD-XO072D (OS X El Capitan)
CPU
Intel Core i3 4010U / HM87
Graphics
IntelHD 4400/nVidia GeForce 820M
Mac
Classic Mac
Mobile Phone
iOS
Hi,
I am really stuck here.
First of all I have LAPTOP not desktop. Second, I want to make hakintosh.
Well, first tried to make all that from windows, so I had to choose other way for installation, everything goes well, but I stuck with rebooting, than I thought that I have to erase my Windows, and format all partitions for Mac, so I done that - didn't work.
Then I had to find someone who have Mac, and I made Unibeast usb with Yosemite from Apple site, and then got worst. From That new usb (Which I named USB), I couldn't even get into installer.
Then I found this topic and said, hey, I'll make my troubles gone.
But it isn't like that.
Now I have one usb which can load installer so I can get into terminal, but I have to patch kernel as described in first post for second usb.
So I restarted my laptop, get into installer, get into terminal and then typed first line for patching vanilla kernel on my other usb with unibeast, but I have error (probably that I don't have desktop). I tried with Yoran (my partition for Mac - that also didn't give result). Can someone help me? Is it problem in Desktop or place where to put kernel and kernel_backup, or something else? Can someone explain me, also is terminal only for usb from which I started it up or I can use it for other usb?
nc1vXJm.pngxGwsFZr.jpg

My mistake, problem is not in desktop (for now) even kernel is not there where it should be. But again, what to do now?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi,
I am really stuck here.
First of all I have LAPTOP not desktop. Second, I want to make hakintosh.
Well, first tried to make all that from windows, so I had to choose other way for installation, everything goes well, but I stuck with rebooting, than I thought that I have to erase my Windows, and format all partitions for Mac, so I done that - didn't work.
Then I had to find someone who have Mac, and I made Unibeast usb with Yosemite from Apple site, and then got worst. From That new usb (Which I named USB), I couldn't even get into installer.
Then I found this topic and said, hey, I'll make my troubles gone.
But it isn't like that.
Now I have one usb which can load installer so I can get into terminal, but I have to patch kernel as described in first post for second usb.
So I restarted my laptop, get into installer, get into terminal and then typed first line for patching vanilla kernel on my other usb with unibeast, but I have error (probably that I don't have desktop). I tried with Yoran (my partition for Mac - that also didn't give result). Can someone help me? Is it problem in Desktop or place where to put kernel and kernel_backup, or something else? Can someone explain me, also is terminal only for usb from which I started it up or I can use it for other usb?
View attachment 139765View attachment 139766

My mistake, problem is not in desktop (for now) even kernel is not there where it should be. But again, what to do now?
Use the Clover guide.

http://www.tonymacx86.com/yosemite-laptop-support/164990-faq-read-first-laptop-frequent-questions.html
 
Joined
Jan 15, 2014
Messages
24
CPU
i5 4670k
Graphics
MSI GTX970
Mac
Classic Mac
Mobile Phone
I have installed Mavericks and Yosemite before using unibeast and multibeast methods before on my system. I recently upgraded to a GTX970 and my specs are as follows
i5-4670k
2x4GB DDR3 RAM (Corsair)
MSI GTX970
MSI Z87m-G43
I am trying to fresh install Yosemite with Clover using tonymacx86 site guide and I am booting with -x -v as additional flags, which results in this:
*EDIT* My mistake that picture was ever so slightly outdated
uploaded up to date one:
image1.jpg
And I believe a kernel panic of this nature is my problem, and I am looking for advice. (Also not sure how up to date this site is, but it says that KernelPm in clover doesn't support 10.10 yet. http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#KernelPm)

I can upload my config files if need be, however it is just the nvidia config file supplied in the guide: http://www.tonymacx86.com/yosemite-desktop-guides/144426-how-install-os-x-yosemite-using-clover.html
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I have installed Mavericks and Yosemite before using unibeast and multibeast methods before on my system. I recently upgraded to a GTX970 and my specs are as follows
i5-4670k
2x4GB DDR3 RAM (Corsair)
MSI GTX970
MSI Z87m-G43
I am trying to fresh install Yosemite with Clover using tonymacx86 site guide and I am booting with -x -v as additional flags, which results in this:
*EDIT* My mistake that picture was ever so slightly outdated
uploaded up to date one:
View attachment 140506
And I believe a kernel panic of this nature is my problem, and I am looking for advice. (Also not sure how up to date this site is, but it says that KernelPm in clover doesn't support 10.10 yet. http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#KernelPm)

I can upload my config files if need be, however it is just the nvidia config file supplied in the guide: http://www.tonymacx86.com/yosemite-desktop-guides/144426-how-install-os-x-yosemite-using-clover.html
No need to patch using Clover. KernelPm does the job.

Follow the Clover guide: http://www.tonymacx86.com/yosemite-laptop-support/148093-guide-booting-os-x-installer-laptops-clover-uefi.html
 
Joined
Jan 15, 2014
Messages
24
CPU
i5 4670k
Graphics
MSI GTX970
Mac
Classic Mac
Mobile Phone
I am not using a laptop though, however I am currently trying your method anyway. I have a question, when installing clover, the option "OsxAptioFixDrv-64" is there, but there is also an "OsxAptioFix2Drv-64", when following the tonymacx86 guide I selected that also, and failed to boot, so should I be deselecting it?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I am not using a laptop though, however I am currently trying your method anyway. I have a question, when installing clover, the option "OsxAptioFixDrv-64" is there, but there is also an "OsxAptioFix2Drv-64", when following the tonymacx86 guide I selected that also, and failed to boot, so should I be deselecting it?
This forum is only for laptops. There is another guide for Clover with desktops.

OsxAptioFix2Drv-64.efi usually causes problems, not fixes.
 
Top