Jump to content
Ratul

[Guide] Creating OS X USB installer using a Windows PC only

31 posts in this topic

Recommended Posts

Guide--Creating a OS X installer(Iatkos ML2)from windows only.

Note:This guide is for those who don't have access to a mac and for some reasons cannot install the retail image on virtualbox.

What you will need::::

1.A Windows PC.

2.Two USB Flash drives.One of at least 8 GB and the other of atleast 1 GB.

3.dmg2img,Win32diskimager,and bootdiskutility.

4.Last but not the least,an Iatkos_ML2 image based on OS X Mountain Lion 10.8.2.(I cannot provide you the link to download Iatkos. You are on your own in downloading this one.)


NOTE : Iatkos distributions are the modified copies of Mac OS X made to be able to work on a PC. I STRONGLY ADVISE USE THIS TEMPORARILY to set up OS X on your computer and then create a installer from a LEGACY PURCHASED retail image. For more info on Iatkos visit http://iatkos.me

The Steps:::::

1.Connect the 1 GB USB stick on your computer.

2.Run Bootdiskutility,select your USB from the list and click on Format disk.The utility will install clover and chameleon bootloaders on your USB drive.


post-1156048-0-52134600-1369757539_thumb.jpg

3.Decompress the dmg2img folder and move the Iatkos_ML2.dmg file in the folder containing the dmg2img.exe file.

4.Right click on the folder containing dmg2img.exe while HOLDING DOWN SHIFT KEY i.e Shift+Right click and select "Open command window here" from the context menu.

5.On the command window type the following without the quotes "dmg2img Iatkos_ML2.dmg" and press enter.This will create a Iatkos_ML2.img file in the same folder.(see screenshot)

post-1156048-0-91065900-1369756629_thumb.png

6.Now plugin your 8 GB USB drive,Decompress the win32diskimager folder and run the win32diskimager.exe file.Select the Iatkos_ML2.img file created in previous step and your 8 GB USB drive and click on Write.Ignore the warnings.This will write the OS X installer on the USB drive.(see screenshot)

post-1156048-0-49952300-1369756987_thumb.png

7.Now plugin both your USB drives on the computer on which you want to install OS X.On the boot prompt SELECT THE 1 GB USB DRIVE.Clover bootloader will be loaded and your OS X installer USB will show up on the boot devices list.DONT CLICK DIRECTLY ON THE INSTALLER.CLICK ON "BOOT UEFI MENU FROM CLOVER" FIRST AND THEN SELECT YOUR INSTALLER.Also don't change any of the clover settings.

OS X installer must boot now on your computer.You will see that the installer language is in Russian,you can change that easily by clicking on the first box.

NOTE:Chameleon bootloader cannot detect the USB created by this method.

Share this post


Link to post
Share on other sites
Advertisement

Hi , i Did everything as told in this guide, but it does not load Iotkas from the the other USB in clover. When i click right mouse on the boot from external i also see only 1 usb regocnized.  But in the normal boot  menu it finds it. What am i missing ?  also i use the most up to date version of Bootdiskutility , could that be the problem as you use a older one ?  Thanks in advance :)

Share this post


Link to post
Share on other sites

I've installed it this way, and now after new OSX install, I can't boot into OSX without usb drive.

This method messed up my bootloader, and installed it in unknown location.

I have chameleon installed with OSX, but it can't boot normally, only with USB.

Share this post


Link to post
Share on other sites

For those who want to know how to change the language, in case you're still following this post: for whatever reason, whenever an OS X installer is used to boot from Clover, the language is automatically selected to some language other than English.  There should be a back arrow from the installer, to the left of where the "continue"  button usually is.  This should bring back the language selection menu.  Select English (or whatever other language tickles your fancy) and hit continue.  This should enable you to continue the installation in whatever language you selected.  I hope this helps!

Share this post


Link to post
Share on other sites

hi

 

first post in insanelymac; though i am reading various posts in this site;

 

OP has indicated that we need two flashdisks (preferably?) and a modded distro (iatkos...); i would differ

 

You just need one flashdisk (8gb) and a vanialla store app (dmg); you dont require a VM/virtual box nore you need a running mac;

 

how?

 

Installation procedure for Mountain Lion 10.8.2 without using a MAC / virtual machine.

a 16 or 8gb gb flash disk; original store app (OS X 10,8.2 Install.dmg)

1) 7zip
2) CVAD bootdisk utility (Version 2 170b or later)
3) Transmac and PCdmg (both trial versions of Acute systems, optional)
4) MacDisk 7.6 demo version (to change the name of volume and copy some mac files of unwieldly names)
5) Partition minitool home version (for multipartitioning of the 16gb or 8gb  disk)
6) Notepad++ (not windows notepad)

Methodology:

Basis:
a) create a clover boot loader in the flash disk
B) create a "start up" or pre-install partition on the flash disk using BaseSystem.dmg
c) enter in the installer of the MAC OS X and use the disk utility to create a USB installer partition by restoring InstallEsd.dmg; modify for the MBR installation
d) exit and restart clover boot for installing the Mountain Lion
e) after successfull instatllation, enter in the safe mode, create a user, remove the graphics kexts and restart with minimal
f) modify by adding suitable kexts

Detailed Steps
Extracting InstallESD and BaseSystem and mach_kernel
1) using 7zip open the dmg file (alternately PCdmg can be used); go to the resources and SharedContent; inside you will find "os x install.dmg"
2) Extract this to a folder called ML (in the root); (avoid long names for the folder as, 7zip, Transmac and PCdmg are limited by 255 characters for a file name);
3) Now again using 7zip open the dmg; this may have four sections; look for 3.hfs (or 2.hfs) and extract this 3.hfs to the ML folder.
4) when you open this 3.hfs (using Transmac or pcdmg or 7zip) this will have a hfs+ volume named "Mac OS X Install ESD"; this will be about ~5 gb. extract this InstallEsd.dmg
5) Again using 7zip (or transmac, or hfsexplorer or pcdmg)  open the dmg extracted in step 4 above. Extract the BaseSystem.dmg (a compressed file of ~430 mb)
5A); again using 7zip extract the 3.hfs partition in this dmg (this will be about ~1 gb in size); or using the transmac (or hfsexplorer) expand the compressed file
5B) copy the mach_kernel from the InstallESD.dmg (step 4 above) and copy to the expanded dmg and save it as BaseSystemStarter.dmg
6) download the MBR patch (ZIP or pkg containing the osxinstall.mpkg and osinstall files and extract them to a suitable folder)
7) now using the CVAD bootuitility, format the 16gb (or 8gb) disk (select the confirguration in the options tab, set Multipartiton, 124mb boot, Fat32-LBA, 8092 sector alignment);
8) once the formatting is done, "Select  Eject disk" ; physically remove and re-insert; (check window is able to recognise the 124 mb partition and its files)
8A) Now select the Disk from the  BootUtiltiy; go to the Part2 (which will be marked as 15.0 GB Fat16 <No Name>' and select Restore partition;
8B) Now select the BaseSystemStarter.dmg (from step 5 B above) and restore it to Partition 2.
8C) Now if you check the BootUtility it will show Part1: 124 mb (FAT32LBA), Part2: 1.21 gb (HFS/HFS+);
8D) again eject the disk and close the utility.
9A) Using Partition Wizard (home edition),  you will find that the second partition is 1.21gb listed as "Other" (HFS is not recognised by MiniTool); and that 14.8 GB is remaining unallocated;
9B) Now Create a Primary Fat32 parition (say ~6gb) in the unallocated space.
9C) Close the miniTool and again physically remove and re-insert;
======
10A) Now open the 128 mb partition (Clover) in the windows; it will be the only visible partition of the disk in the windows system.
10B) Go the EFI folder and the subfolder Clover (EFI /Clover); open the config.plist file in Notepad++
10C) look for "<string>ru:0</string> " ; change the language to English: <string>en:0</string>
10D) Look for the boot-args: <string>-v npci=0x2000 slide=0 NoKexts</string>; probably set "  -v -f and npci0X3000 withKexts "
10E) Search in the net for the following Kexts for Mountain Lion (NullCPUPowerManagement.kext, ApplePS2Controller.kext and AppleACPIPS2Nub.kext);  copy them to the EFI/Clover/kexts/10.8/ folder.
10F) i also added kexts for the Lan (Atheros)
10G) Now the above steps produce the vanilla "starter" usb; (using the MacDisk, we can rename the volume name of partition 2 as Mac OS X starter )
===============
Now you can boot the machine, select the USB using F12 (or F10 as the case may be); this will boot to the MAC interface;   this will not allow "installation" on MBR hdd; so we can attempt a mod for MBR drives
============
11) Boot the machine using the USB and in the Installer section select the Disk Utilities
12) select the USB partition FAT32 ( (the first partition will be clover, the second will be called Mac OS X Base System and the third will be the empty partition that you created in steps 9B above)
13) Now Erase the partition to Create a new MAC OS X partition (name it as OS X MBR installer)
14) Now select the option for "Restore"
15) browse to the BaseSystem.dmg ( extracted in the steps 5 above) and select this as source
16) Select the newly created mac partition (step 13 above)
17) confirm restore (and create the Mac OS X Base System)
==============
18) quit the disk utitiliy and quit the installer;
19) reboot to the windows
20) Using 7zip (or transmac, or hfsexplorer) open the InstallEsd.dmg (or 3.hfs) in step 4 and copy the "Packages" folder and mach_kernel to a temporary location
21) using Transmac open the third partition (the restored partition of ~6gb size with 1 gb of Mac OS X base system)
22) go to System/Library/ and delete the "packages" link; copy the "packages" folder from the temporarty location (step 20 above) (this is ~3.6 gb and will take some time)
23) add the mach_kernel to the root of the partition
23A) now replace the OSinstall.mpkg in the "packages" folder with the downloaded MBR patch file
23B) replace the /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSinstall with the OSinstall file from the downloaded MBR patch
24) Now the flash disk has the clover boot, Starter partition and the installer partition!
================
25) Start the machine using the usb and select the installer partition for MBR install

 

i am enclosing my three part writeup with snapshots for better understanding!

 


not able to attach the file (pdf format);

 

the links are here:

http://www.osx86.net/index.php?app=core&module=attach&section=attach&attach_id=3987

 

http://www.osx86.net/index.php?app=core&module=attach&section=attach&attach_id=3989

 

http://www.osx86.net/index.php?app=core&module=attach&section=attach&attach_id=4001

Share this post


Link to post
Share on other sites

Worked, up to the point when I ran the iATKOS_ML2 installation...

 

Now it's halted at:

..Loading kernel cache file 'System\Library\Cacheszcom.apple.kext.caches\Startup\kernelcache'...

root device uuid is '.......'

++++++++++++++++++++

 

Any ideas what the problem would be?

Share this post


Link to post
Share on other sites

No need to be sarcastic - I'm stuck here...

 

sorry buddy, you got it wrong  :lol:
 
I give congrats to the author of the topic. @Ratul
 
try use this flag -f

Share this post


Link to post
Share on other sites

How to create a Vanilla Mavericks Installer USB using Windows (Illustrated Guide)

I thought I would post an updated guide for creating a Vanilla Mavericks Installer USB with plenty of photos, seeing that IATKOS M is no longer supported here and many new users from Windows still rely on "distros".  This is a compilation of information from posts found scattered throughout this forum but may not be obvious to hackintosh virgins :).

 

 

Requirements

  1. 8GB or larger USB stick
  2. cvad's BootDiskUtility
  3. 7-Zip
  4. Transmac (shareware, free trial for 15 days)

  5. Paragon Partition Manager Free
  6. InstallESD.dmg

 

Summary

  1. Create a folder C:\Mavericks in Windows Explorer
  2. Obtain InstallESD.dmg and copy into C:\Mavericks
  3. Extract BaseSystem.dmg and Packages folder into C:\Mavericks
  4. Extract mach_kernel to C:\Mavericks
  5. Create Mavericks Installer with BootDiskUtility, Paragon Partition Manager Free and Transmac
  6. Install Mavericks with the USB Installer

 

 

Illustrated Procedure

1) Create a folder C:\Mavericks in Windows Explorer

2) Obtain InstallESD.dmg and copy into C:\Mavericks.  This can be from

A] the Official Mac AppStore “Install OS X Mavericks.app

i) I copied the retail “Install OS X Mavericks.app” from the Applications folder of my Mac Mini’s hard drive to an exFAT formatted USB storage drive using Finder.  The file can then be copied from the USB stick into C:\Mavericks of the Windows machine with Windows Explorer.

ii) Open InstallESD.dmg inside Install OS X Mavericks.app\Contents\SharedSupport with 7-Zip

post-846696-0-32104300-1397469730_thumb.png

  iii) Find and copy the other InstallESD.dmg inside InstallESD.dmg\InstallMacOSX.pkg\ into C:\Mavericks

   with 7-Zip

post-846696-0-93812800-1397469864_thumb.png

post-846696-0-11257100-1397469885_thumb.png

 

B] Download from the internet.  Google "Mavericks InstallESD.dmg untouched" for links

3) Extract BaseSystem.dmg and Packages folder into C:\Mavericks

i) Copy the 3.hfs file inside the InstallESD.dmg to C:\Mavericks (extracted size 5.3GB) with 7-Zip

post-846696-0-73774800-1397469966_thumb.png

post-846696-0-35790800-1397470014_thumb.png

 

ii) Now open 3.hfs with 7-Zip and find & copy OS X Install ESD\Packages to C:\Mavericks

post-846696-0-04731400-1397470097_thumb.png

 

post-846696-0-31298100-1397470288_thumb.png

post-846696-0-65428200-1397470325_thumb.png

iii) Rename the file C:\Mavericks\3.hfs (5.3GB Size) to 3_1.hfs

post-846696-0-10291900-1397470380_thumb.png

iv) Open 3_1.hfs in 7-Zip and find & copy OS X Install ESD\BaseSystem.dmg to C:\Mavericks

post-846696-0-33172200-1397470472_thumb.png

v) In turn, open BaseSystem.dmg with 7-Zip and copy the 3.hfs file inside to C:\Mavericks (extracted size =1.2GB)


post-846696-0-95962700-1397470551_thumb.png

4) Extract mach_kernel to C:\Mavericks

Open BaseSystemBinaries.pkg in the Packages folder with 7-Zip and find & copy Payload\Payload~\.\mach_kernel to C:\Mavericks

post-846696-0-55339800-1397470709_thumb.png

post-846696-0-76094300-1397470732_thumb.png

 

 

5) Create the Mavericks Installer with BootDiskUtility, Paragon Partition Manager Free and Transmac:

i) Plugin USB stick

ii) Start BootDiskUtility.exe

iii) Click Options/Configuration, check the Multi Partitioning checkbox and set Boot Partition Size to 200MB.  This will instruct BootDiskUtility.exe to make two partitions on the stick: one for Clover/Chameleon and the other for the restored BaseSystem.dmg

post-846696-0-61942700-1397470792_thumb.png

iv) In the main BDUtility.exe screen select your USB and click "Format Disk"

post-846696-0-54899200-1397470844_thumb.png

v) When complete, select the second partition on the USB stick, click "Restore Partition" and select C:\Mavericks\3.hfs (size 1.2GB) as the source

post-846696-0-50929700-1397474913_thumb.png

vi) Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed.  Don't forget to apply the changes at the end...

post-846696-0-77542300-1399870769_thumb.png

post-846696-0-38456700-1399870790_thumb.png

post-846696-0-15732500-1399870825_thumb.png

post-846696-0-72167600-1399870851_thumb.png

vii) Open Transmac and copy the mach_kernel to the root folder of the second partition to make it bootable

post-846696-0-12631900-1397471042_thumb.png

post-846696-0-80497900-1397471060_thumb.png

  viii) Delete the Packages “slink” file in the /System/Installation folder and replace it with the

    Packages folder we extracted earlier to C:/Mavericks

post-846696-0-60698200-1397472046_thumb.png

post-846696-0-60680200-1397472119_thumb.png

post-846696-0-40767600-1397472181_thumb.png

post-846696-0-76941000-1397472204_thumb.png

post-846696-0-91735000-1397472407_thumb.png

 

ix) Optional: If you want to install OSX on a MBR partitioned hard drive, you will need to patch the installer with modified versions of OSinstall.mpkg and OSinstall.  Download the Mavericks MBR patch and use 7-zip to extract both files to C:\Mavericks.   Then use Transmac to replace the relevant files in the Installer partition:

      \System\Installation\Packages\OSinstall.mpkg

      \System\Library\PrivateFrameworks\Install.framework\Frameworks\OSInstall.framework\Versions\A\OSInstall

 

 

x) Clover configuration is required now.  The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky.  If not, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.  The Noob's guide is also highly recommended for troubleshooting.

 

The location of the important configuration files for Clover are summarized below

  • config.plist--->EFI/CLOVER folder
  • DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist)
  • Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version>. NB BootDiskUtility by default already has FakeSMC.kext installed here.  You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work.

*Useful tip: placing your important kexts in EFI/Kexts/Other &  deleting the 10.6-10.9 subfolders will result in injecting them for all OSX versions.

 

 

6) Install Mavericks with the USB Installer

i) Shutdown computer and reboot with the USB Installer plugged in

      ii) Select "Boot Mac OS X from OS X Base System" in the Clover Menu and press <spacebar>

post-846696-0-19775800-1399872409_thumb.png

iii) Select "Boot Mac OS X without caches (and with injected kexts)" and press <spacebar>

post-846696-0-41051800-1399872501_thumb.png

iv) You should now see a lot of verbose output before a fairly long wait at the Apple Screen.  Follow the prompts in the Mavericks Installer to select default language, prepare disk with Disk Utility etc ---> complete the install.

v) Boot with the USB stick into Mavericks on the hard drive and install Clover/Chameleon bootloader, copy configuration files etc.

 

Credits

cVaD BDUtility

dmazar's post @ProjectOSX

neelakantanr's post #10 here

All in one vanilla osx install guide

Share this post


Link to post
Share on other sites

@fusion71au, great job and nice tutorial

This is a great help for users who do not have a Mac or hackintosh

Share this post


Link to post
Share on other sites

@spakk, @chris1111,

 

Thanks guys :D.

 

@VincenzoVitale,

 

You need to tweak the default Clover config.plist so the boot can complete on your machine.  Clover configuration is really beyond the scope of this thread/guide but some tips -

  • Post in the correct section of the forum eg OSX 10.9 installation
  • Please post your machine specs in your signature so it is easier for others to help you
  • Boot in verbose mode and if you have a problem, post a screenshot if possible
  • See the troubleshooting section of the Noobs Guide and the Vanilla Install Guide and also have a look at the Clover wiki.  My guess is that you have some graphics configuration problem but it is impossible to know without more details

Good luck!

Share this post


Link to post
Share on other sites

somebody help me ... i use the first steps to install osx mountain lion. Everything its ok but when the logo of apple appears then the icon change to a circle with a line (like the prohibited icon ) and nothing more happen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By fusion71au
      Run Vanilla OS X El Capitan, Sierra, High Sierra or Mojave in VMware Workstation on a Windows Host
       
      I wanted to make a simple guide on how to create a vanilla OS X El Capitan virtual machine running on a Windows host.  The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.
       
      There are many guides and videos on the net about running OS X on Windows machines using pre-made VMWare disk images but you can never guarantee what else is in there….
       
      I’ve gathered info for this guide from various threads in the Multibooting and Virtualisation section of this forum eg
       
      Workstation 11/12, Player 7/12, Fusion 7/8 and ESXi 6 Mac OS X Unlocker 2 by @Donk How to Install OS X 10.x from Snow Leopard to El Capitan in VMware Workstation 10/12, Player 6/8 or ESXi 5/6 by @MSOK HOW TO: Create a bootable El Capitan ISO for VMware Credit and thanks to @Donk, @Albert Nietsnie and @MSOK for all their hard work in creating and testing the VMware Unlocker program.
       
      Requirements
      Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X) 4GB or more RAM (2GB or more will be needed for OS X) Hard Disk with at least 40GB free for Virtual Machine VMware Workstation 12 or later VMware Unlocker 2.0.7 or later Install OS X El Capitan app and Mac or Hack to prepare installation iso <-- Now, no longer necessary to have previous access to a Mac or Hack by building the Installer.app from scratch - see post#41 16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC Prepare Installation ISO on your Mac or Hack
      1.  On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.
      2.  Unmount any attached install image/InstallESD.dmg (if currently mounted) by rebooting the system or running the hdiutil unmount command in terminal eg
       
      3.  Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes….
       
       
       
      4.  Open OS X terminal, then run the following commands to execute the script:
      cd downloads chmod +x CECI.tool ./CECI.tool 5.  At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.
       
      Updates:
      @shela has created an ISO generating script compatible with OS X 10.6-10.12: create_osx_iso post #362.
      See post#30 for macOS_iso_cim.tool script to create ISO for macOS 10.13+ using Apple's createinstallmedia utility.
       
      Install and Patch VMware Workstation 12 on your PC
      1.  Download and install VMWare Workstation Player 12 or later
      2.  Download and extract Unlocker 2.0.7 or later to your USB stick…
      3.  Run the win-install.cmd as administrator by right clicking the file in Windows explorer or run it from an Administrative Command Prompt.
       



       
      Create an El Capitan Virtual Machine
      1.  Double click on the VMware Workstation 12 Player icon on your desktop and click “Create a New Virtual Machine”.  Choose “I will install the operating system later” at the How will you install screen….
       

      2.  Select Apple Mac OS X as the Guest operating system and OS X 10.11 as the version.  By default, an OS X 10.11 folder will be created in your Documents\Virtual Machines folder.
       


      3.  Under Specify Disk Capacity, you can leave the default 40GB or set a larger value.  I personally store the virtual disk as a single file.  Click Finish and you will see OS X 10.11 on the Main Screen of Workstation 12.
       


      4.  Next, we need to edit the virtual machine settings to map the virtual SATA CD/DVD drive to the El Capitan installation iso we created earlier.
       


       
      5.  To prevent the virtual machine from crashing in Windows, the virtualHW.version set in the vmx configuration file needs to be changed from 12 to 10 (alternatively, the line smc.version = "0" can be added to the file).  The OS X 10.11.vmx file can be edited with the WordPad program (navigate to the OS X 10.11 virtual machine folder with Windows Explorer and right click on the file to open in WordPad).
       


       
      6.  For HW10, set USB compatibility to USB 2.0, otherwise your mouse and keyboard might not work in the virtual machine.
       

      7.  Finally click “Play virtual machine”
       

      Installation of El Capitan
      Installation should be relatively straight forward, just following the prompts of the OS X installer:
      1.  Select language, agree to legal terms
       

      2.  Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.  I’ve named the drive Macintosh HD but you can enter whatever you like eg El_Capitan.
       



      3.  Quit DU and choose Macintosh HD to install El Capitan on.
       

      4.  After 20-30 min (depending on how fast your system is), the installation will complete and the VM will automatically reboot…
       

      5.  At the welcome screen, choose your country and keyboard layout.  You can skip transfer information, location services and logging in with your Apple ID if you wish…
       


      6.  Create a User Account and select your Time Zone.  You can skip sending diagnostics and usage data to Apple….
       


      7.  Finally, you will arrive at the El Capitan Desktop.  You should eject the Installation iso now by right clicking and selecting “Eject OS X Base System”.  This will allow you to install VMware Tools….
       



      8.  After rebooting, the VM can now be resized or run at full screen resolution.  Audio and network/internet should also work OOB.
       

       
      SMBIOS Customization and iMessage Vars
      To make the Virtual Machine more "Mac like", you can edit the vmx file to add unique identifiers from a real Mac's SMBIOS -
      eg for an iMac 11,3 SMBIOS, you can enter the following lines....
      smbios.reflectHost = "FALSE" board-id.reflectHost = "FALSE" board-id = "Mac-F2238BAE" hw.model.reflectHost = "FALSE" hw.model = "iMac11,3" serialNumber.reflectHost = "FALSE" serialNumber = "W80#######6" Refer How to spoof real Mac in VMware - Multi-booting and Virtualisation.
       
      The critical variables for iMessage/Facetime activation are MLB & ROM.  By default, VMware "reflects" the host's MLB and ROM since it assumes you are running the OSX guest on a real Mac host - see post#42 by @Donk.
       
      If the host is a Windows PC, the following lines need to be added to the vmx file (requires virtualHW.version 12 and smc.version = "0")....
      efi.nvram.var.ROM.reflectHost = "FALSE" efi.nvram.var.MLB.reflectHost = "FALSE" system-id.enable = "TRUE" and the MLB, ROM and optionally system-id entered manually eg
      efi.nvram.var.MLB = "W80######BA1A" (MLB can be 13 or 17 characters long, alphanumeric string) efi.nvram.var.ROM = "<=>?@A" (ROM is entered here as a 6 character ASCII string) uuid.bios = "## ## ## ## ## ## ## ##-## ## ## ## ## ## ## ##" <---Optional (if you want to inject a given system-id hexadecimal value) Note the output for ROM from imessage_debug is a 12 character hexadecimal that needs to be entered here as a 6 character ASCII string eg using an Hex to ASCII converter we find that "3c3d3e3f4041" hex is equivalent to   "<=>?@A".
       
      Vanilla Mavericks and Yosemite
      The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite .  Attached to this post are installer scripts to create bootable Mavericks (CMI.tool) and Yosemite (CYI.tool) ISOs for VirtualBox and VMware.
       
      With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie
       
      To create a Mavericks ISO on your desktop
      cd downloads chmod +x CMI.tool ./CMI.tool To create a Yosemite ISO on your desktop
      cd downloads chmod +x CYI.tool ./CYI.tool Here is a screenshot of the VM running Mavericks 10.9.5...
       

       
      Enjoy
       
      Update for macOS 10.12 Sierra
      The above settings still work for macOS Sierra after upgrading to VMware Workstation 12.5 and unlocker 2.0.8 - see post #13.
       
      Update for macOS 10.13 High Sierra and 10.14 Mojave
      See post#30 for macOS_iso_cim.tool script to create ISO for macOS using Apple's createinstallmedia utility.
      Post#41 describes how to build "Install macOS ******.app" on the fly from installer files downloaded beforehand in /SharedSupport folder.
       
       
      CECI.zip
      CYI.tool.zip
      CMI.tool.zip
    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
       
    • By unixb0y
      Bluetooth + AirDrop + Apple Watch "Auto Unlock" + Continuity / Handoff
      BCM20702 / TP-Link T9E (AC1900)
       
      I have a little update on getting BCM20702 running in Mojave:
       
      Without kext files, nothing worked "OOB" with my USB dongle. So I got "BrcmFirmwareStore" and "BrcmPatchRAM2" from RehabMan.
      I tried putting the kext files in /L/E , didn't work so I tried /S/L/E. * While that didn't work at first, I then tried to refresh the kext cache; the files didn't show up in kextstat.
      I used this command:
      sudo kextcache -invalidate / which told me 2 error messages: BrcmFirmwareStore and BrcmPatchRAM2 had the wrong permissions. This is fixed like so:
      sudo chown -R 0:0 /System/Library/Extensions/BrcmPatchRAM2.kext/ sudo chmod -R 755 /System/Library/Extensions/BrcmPatchRAM2.kext/ sudo chown -R 0:0 /System/Library/Extensions/BrcmFirmwareRepo.kext/ sudo chmod -R 755 /System/Library/Extensions/BrcmFirmwareRepo.kext/ Reboot and be happy! 
      Both the actual Bluetooth entry in System Preferences, that was missing before as well as an entry in System Report > Bluetooth finally appeared!
      I have a TP-Link Archer T9E WiFi card and now in conjunction, AirDrop does work like a charm! 
      Cheers, Dave 
       
      * EDIT:
      RehabMan replied to me on GitHub and it's not recommended to use /S/L/E and you should let that folder remain reserved for Apple original kext files. So I tried putting the files (with the correct permissions) back into /Library/Extensions and Bluetooth and AirDrop both still work fine!
      So I would recommend to put the files either into EFI/EFI/CLOVER/kexts/Other or - like me - into /Library/Extensions and after (or before) copying the two kext files, set the permissions like shown above for both files with chown and chmod.
       
      EDIT2: 
      I totally forgot to mention that even unlock via Apple Watch works! I assumed it would not work, until the "iMac" itself saw my Watch and kindly asked if I wanted to activate it  I immediately turned the feature on and it's working like a charm!
      What also perfectly works is Handoff. It's a feature that I never found really useful, especially between iOS and Mac, however when I have a Safari window open on my iPhone, the Hackintosh shows me the handoff Safari icon in the App switcher as well as in the dock (only tested Safari for now) and it behaves just like on my MacBook Pro!
      Universal Clipboard is also working as well as SMS / MMS.
      I couldn't test "Cellular Calls" and the "Continuity Camera" as I don't have a second phone and it's quite late here right now for calling someone on the telephone and I don't have any iOS 12 devices either. The "Instant Hotspot" did not work, but I think that anybody going the TP-Link T9E + BCM20702 way is building a PC that is permanently attached to WLAN or even LAN (Ethernet), so that's not an issue. I think laptop Hackintoshers should just use a MacBook WiFi card as they probably already have the connector etc. etc. (no adapter or Motherboard-dependent solutions needed).
    • By DarkHarthur
      DH67CL
      R7 250
      2 discos duros
      En el 1: Windows 10 y una partición de datos
      En el 2: High Sierra y una particion de datos
       
      Hola, mi problema es el siguiente Clover ya no me muestra EFI Windows; Tenia todo funcionando bien con High Sierra 10.13.6, quise actualizar a Mojave y como tuve muchos problemas decidí volver a High Sierra con el disco duro USB en el que había hecho una copia con Carbon Copy;
      La situacion es algo así, en la carpeta EFI si dejo la carpeta Microsoft, al encender la PC entra directo a Windows, si elimino la carpeta Microsoft si entra con Clover pero no aparece la entrada EFI Windows, ya active legacy en Clover Configurator pero solo me aparecen otras entradas de Windows pero no EFI, todo esto desde el disco duro supuestamente restaurado a como lo tenia antes.
      Si entro con el disco duro USB que tiene la copia que había hecho, me aparecen todas las opciones.
      Si conecto un pendrive tampoco me aparece la opción EFI Windows. 
      Probablemente paso después de desconectar el disco duro de Windows, pero recuerdo que me seguía apareciendo EFI Windows después de haberlo desconectado. Saludos
    • By fusion71au
      Making a High Sierra USB Installer Entirely From Scratch in Windows
      This is a proof of concept tutorial, to show it's possible to create a vanilla High Sierra installer, entirely from scratch, in Windows (even without App Store downloaded "Install macOS High Sierra.app" from a real Mac ).  @PikeRAlpha's link to Apple's Software Catalog provides us with all the URLs necessary to download the needed files directly from Apple instead of some dubious source from the internet...
       

      Pre-Requisites
      8GB or larger USB drive Boot Disk Utility v2.1.2017rev021b from @CVAD TransMac (free 15 day trial) Paragon Hard Disk Manager Free Download Installer Files Directly from Apple
      1)  Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist (Hint - search page for "InstallESD" to find its URL and others nearby)

      to a folder named "SharedSupport" on your Windows NTFS drive.  A browser download manager (eg Chrono for Chrome, dTA for FireFox) is handy since InstallESD is >4GB ---> allows you to pause/resume interrupted download...

      2)  Rename InstallESDDmg.pkg to InstallESD.dmg
      3)  Edit InstallInfo.plist with WordPad/text editor to remove the chunklistURL and chunklistid keys for InstallESD, and renaming it from InstallESDDmg.pkg to InstallESD.dmg (example of edited file attached to this post)...
      Note:  You can verify the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg with the correct ones at this website.
      Boot Disk Utility to format the Installer USB and Restore OS X Base System HFS partition
      1.  Format USB with BDU & latest Clover ---> creates boot files in CLOVER partition + second FAT partition
      2.  Extract 4.hfs from \SharedSupport\BaseSystem.dmg with BDU --> save to it's local folder
      3.  Restore 4.hfs to USB second partition with BDU --->  2nd partition becomes bootable "OS X Base System"
      Paragon Hard Disk Manager to extend HFS Partition to its Full Extent
      Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed.  Don't forget to apply the changes at the end...
      Transmac to Copy "SharedSupport" folder to OS X Base System
      1.  Open the TransMac program and navigate to the HFS+ Volume/Install macOS High Sierra.app/Contents folder.  Right click anywhere in the empty space on the RHS pane and select "Copy Here"...
      2.  In the next stage, select the "SharedSupport" folder we created above as the "Files and Folders to be copied to the Mac Volume"...
      Clover Settings
      Clover configuration is required now.  The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky.  If not, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.
      The location of the important configuration files for Clover are summarized below
      config.plist--->EFI/CLOVER folder DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist) Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version> or /Other. NB BootDiskUtility by default already has FakeSMC.kext installed here.  You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work. If UEFI booting, you will most likely need one of the OsxAptioFixDrv-64 drivers copied from /EFI/CLOVER/drivers-off/drivers64UEFI to /EFI/CLOVER/drivers64UEFI. If you want to use the installer to run High Sierra in Windows on VMware, you can follow my guide to set up the Virtual Machine and replace Clover's default config with EFI_Clover for VMware (which is compatible to run in VMware).  In the screenshots below, I have attached the USB Installer (in this case PhysicalDrive7) to my macOS Virtual Machine.  Reboot the system to the USB installer to install High Sierra ...
      What happens if we don't have access to TransMac or Paragon Hard Disk Manager?
      Not a problem, as long as we get "OS X Base System" bootable, we can launch terminal from the Utilities Menu to copy the SharedSupport folder over to the Installer app.  In essence, we will build the full installer app = 5GB+ on the target HD eg "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted in this example on /Volumes/DATA)...
      -bash-3.2# cd / -bash-3.2# cp -R Install\ macOS\ High\ Sierra.app /Volumes/Macintosh\ HD/ -bash-3.2# cp -R /Volumes/DATA/SharedSupport /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/  
      ...then start installation with the startosinstall utility...
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD --converttoapfs NO --applicationpath /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app  
      The above steps can be automated with the attached "startosinstall.command" script, which will assemble "Install macOS High Sierra.app" on "Macintosh HD" and launch the startosinstall utility targeting the "Macintosh HD" volume.  Copy/download to "Macintosh HD", then run in terminal (after attaching DATA USB with /Shared Support folder)...
      cd "/Volumes/Macintosh HD" chmod +x startosinstall.command ./startosinstall.command Updated Download Links for macOS Mojave 10.14_18A391
      Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist  
      Note: In Mojave, Apple has removed the --converttoapfs NO and --applicationpath arguments from the startosinstall utility....
       
      eg to use startosinstall for the above section "What happens if we don't have access to TransMac or Paragon Hard Disk Manager?", the syntax is now
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD  
      This basically means that for Mojave, the default installation will always convert the target volume to the apfs file system.
       
       
      startosinstall.command.zip
      InstallInfo.plist_edited_10.13.6.zip
      InstallInfo.plist_edited_10.14.zip
×