Contribute
Register

Installer: "An error occurred while preparing the installation. Try running.."

Status
Not open for further replies.
Joined
Nov 28, 2015
Messages
146
Motherboard
Lenovo Yoga 920 - OpenCore
CPU
i7-8550U
Graphics
HD620, 3840x2160
Fail: Installing OS X on second gen Core M

Hi, I have been trying to install OS X on my laptop but get the error following the sequence of steps I've taken this far. I am seeing "An error occurred while preparing the installation. Try running this application again." after the installer finishes. Any ideas? Is there any way to run the installer in a verbose mode? Thanks.

0) Prerequisites: Boot into BIOS with Fn+F12. Disable EVER1yTHING in BIOS. Disable everything like:

Secure Boot
Thermal Sensor
VT-d
Quick Boot
Etc.

Download required files found in ‘Downloads’ section below.

1) Download fresh 10.11.X from App Store.

2) Format USB with name ‘OSX’.

3) Create OSX Installer USB with:

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/OSX --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --no interaction

4) Download Clover. Install Clover on USB drive with the following settings:

CloverSettings.jpg

5) Mount EFI partition with Clover Configurator.

6) Remove EFI/CLOVER/drivers64UEFI/VBoxHfs-64.efi. Add EFI/CLOVER/drivers64UEFI/HFSPlus.efi.

7) Add the following kexts to EFI/CLOVER/kexts/Other:

FakeSMC.kext
AHCIPortInjector.kext
USBInjectAll.kext
FakePCIID.kext
FakePCIID_Intel_HD_Graphics.kext

8) Copy the plist found with USBInjectAll.kext to EFI/CLOVER

9) Load EFI/CLOVER/config.plist in Clover Configurator.


Navigate to Devices. Enter ‘0x191e0000’ for IntelGFX under Fake ID.
Navigate to Graphics. Enter ‘0x0a260006’ for ig-platform-id.

10) Stick USB in Miix 700 boot with args: `dart=0 -v`

11) Once installer loads go to Terminal. Run the following command to format drive: (**ensure boot disk is disk0)

diskutil eraseDisk JHFS+ Test /dev/disk0

12) Commence Install

**ERROR**

Installer gets all the way to the end and displays

rsz_img_20160110_152111.jpg


References:


Installer USB:
https://www.all4os.com/apple/install-mac-os-x-with-clover-efi-bootloader-on-asus-z87-a.html
Fresh Install from USB Installer El Capitan:
http://www.tonymacx86.com/el-capitan-desktop-guides/179221-skylake-starter-guide.html
FakePCIID patching:
http://www.tonymacx86.com/yosemite-...tel-hd4200-hd4400-hd4600-mobile-yosemite.html
Diskutil erasing command to format disk:
http://www.theinstructional.com/guides/disk-management-from-the-command-line-part-1


Downloads:


El Capitan from App Store
Clover Configurator:
http://www.tonymacx86.com/downloads.php?do=file&id=276
Clover:
http://sourceforge.net/projects/cloverefiboot/
HFSPlus.efi:
https://www.all4os.com/content/uploads/mac/HFSPlus.efi
config.plist:
http://www.tonymacx86.com/attachmen...1448235850-skylake-starter-guide-config.plist
USBInjectAll.kext:
https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads
FakePCIID.kext & FakePCIID_Intel_HD_Graphics.kext:
https://github.com/RehabMan/OS-X-Fake-PCI-ID


System: Lenovo Miix 700 + bootloader(Clover)
CPU: m5-6Y54
Graphics: HD515, 2160x1400
 

Attachments

  • CloverSettings.tiff
    144.9 KB · Views: 331
Last edited:

Thank you. I forgot to include that forced HD4400 graphics since HD515 support doesn't exist:

"Load EFI/CLOVER/config.plist in Clover Configurator.


Navigate to Devices. Enter ‘0x191e0000’ for IntelGFX under Fake ID.
Navigate to Graphics. Enter ‘0x0a260006’ for ig-platform-id."

I could not find anything related to "An error occurred while preparing the installation. Try running this application again." in those links. From browsing other websites I found out that it could be:

Incorrect date set
PRAM read issues
SSD TRIM support

I have investigated all three of these, but nothing has been working.
 
Thank you. I forgot to include that forced HD4400 graphics since HD515 support doesn't exist:

"Load EFI/CLOVER/config.plist in Clover Configurator.


Navigate to Devices. Enter ‘0x191e0000’ for IntelGFX under Fake ID.
Navigate to Graphics. Enter ‘0x0a260006’ for ig-platform-id."

FakeID not needed for Skylake graphics. 0xa260006 is invalid for Skylake (it is for Haswell).
 
FakeID not needed for Skylake graphics. 0xa260006 is invalid for Skylake (it is for Haswell).

I get a black screen if I don't add those lines in step 9. I understand full GPU support doesn't exist for skylake yet so I crossed my fingers and used HD4400 since HD515 is derived from it.
 
I get a black screen if I don't add those lines in step 9. I understand full GPU support doesn't exist for skylake yet so I crossed my fingers and used HD4400 since HD515 is derived from it.

No chance of getting the Haswell drivers working with Skylake. And even if you were to attempt to do that, you're not doing it correctly.

Suggestion: Wait until real Macs are released that use Skylake graphics hardware... and then... wait again for the software to be released in a version of OS X.
 
No chance of getting the Haswell drivers working with Skylake. And even if you were to attempt to do that, you're not doing it correctly.

Suggestion: Wait until real Macs are released that use Skylake graphics hardware... and then... wait again for the software to be released in a version of OS X.

I get a black screen if I don't do step 9. I am alright with sub-par graphics support until that happens.

As for the installer error, I wonder if this is due to the SSD not being detected properly. It is a Samsung PM841 with an in-house samsung MDX controller which doesn't appear to be supported with AHCIPortInjector.kext.
 
I get a black screen if I don't do step 9. I am alright with sub-par graphics support until that happens.

Skylake graphics not ready for prime time. Wait until real Macs are released using it.

As for the installer error, I wonder if this is due to the SSD not being detected properly. It is a Samsung PM841 with an in-house samsung MDX controller which doesn't appear to be supported with AHCIPortInjector.kext.

Try a different SSD/HDD.

AHCIPortInjector.kext has nothing to do with specific SATA devices. Only SATA controllers. And it is probably not needed.
 
Skylake graphics not ready for prime time. Wait until real Macs are released using it.



Try a different SSD/HDD.

AHCIPortInjector.kext has nothing to do with specific SATA devices. Only SATA controllers. And it is probably not needed.

Thanks. For the SSD, it is an m.2 drive with an integrated SATA controller, but I'm not even sure if this is the problem.

Do you have any idea what could be causing this screen?

http://www.tonymacx86.com/attachmen...ation-try-running-rsz_img_20160110_152111.jpg
 
Thanks. For the SSD, it is an m.2 drive with an integrated SATA controller, but I'm not even sure if this is the problem.

No integrated SATA controller. The controller is part of the Intel chipset.


Keep in mind ACHIPortInjector is not needed.

See guide: http://www.tonymacx86.com/el-capita...de-booting-os-x-installer-laptops-clover.html
 
Status
Not open for further replies.
Back
Top