Jump to content
InsanelyMac Forum

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

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.


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)


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)


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

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



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;




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)


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:






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 :).




  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



  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


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

   with 7-Zip




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




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





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


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


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


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





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


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


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


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...





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



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

    Packages folder we extracted earlier to C:/Mavericks







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:





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>


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


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.



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.




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 ITzTravelInTime
      Hi guys, this thread is to show you a new and open source app, created by me, that I called TINU:
      The name means: TINU Is Not #####, the U refers to a popular software that is used to create Mac OS hackintosh installers (that for good reasons is banned on this forum), but the aim of the name is to explain that this app is a totally different thing from that software and works in a totally different way.
      This app basically is a graphical interface for the createinstallmedia executable that is inside the Mac OS installer apps, it is capable to create a Mac OS installer on a drive completely vanilla like what you do using the command line method, and also this method is recommended by apple itself.
      Allows you to create easily a macOS install media without messing around with command line stuff and without using disk utility, all you need to do is use the app and then install clover on the usb drive once TINU has finished or leave it as is you want to use it on a Mac.
        - Simple to use UI that allows you to easily start the macOS install media creation process   - It can work with every Mac OS installer app that has the createinstallmedia executable inside of it's resources folder (including also beta and newly released installers)   - You can use any drive or partition you want that can be erased and is at least 7 GB of size   - Works on Mac OS recovery, so you can create a macOS install media from a bootable macOS installer or from the macOs recovery   - All vanilla, the macOS install medias created with this tool are 100% vanilla, just like you created them using the command line "createinstallmedia" method   - Open source, you will know what this program does on your computer and also you can create your own version by downloading and playing with the source code   - Does not requires to do anything of special first, just open the program   - No need to go in disk utility first, TINU can format your drive for you   - Uses recent and more modern APIs and SDKs and Swift 3 language   - Transparent graphics style available (use alt + s on the keyboard or View->Use transparent style)   - Works using the latest versions of macOS and will also support newer Mac installers out of the box without needing for an update    Features that I'd like to add in the future:    - Advanced section, to customize your macOS install media   - Installer customization: Kernelcache/prelinkedknerel and boot files replacement (a feature that can be handy while dealing with old Macs or with beta installers when you need to mod or change the boot files some times)   - Install clover and configure clover   - Install kexts inside the kexts folder of clover   - Clover drivers customization   - Use custom dsdt in clover   - integrated pre-made clover config templates database from a remote and open repository   - Support for other languages, at least Italian   Rquirements:  - A computer that runs Mac OS X Yosemite or a more recent version (Mac OS X El Capitan is required to use TINU in a macOS recovery or installer)  - A drive or a free partition of at least 7 GB that you want to turn into a macOS/Mac OS X installer  - A copy of a macOS/Mac OS X installer app (Maveriks or newer versions are supported) in the /Applications folder or in the root of any storage drive in your machine (excepted the drive or volume you want to turn into your macOS install media)   Note that this app is under the GNU GPL v3 license so any reuse of the source code must follow the license's terms   TINU 1.1 Stable release:    - Download available here:    https://github.com/ITzTravelInTime/TINU/releases    - Source code:     https://github.com/ITzTravelInTime/TINU   TINU 2.0 pre-release:    - Source code:    https://github.com/ITzTravelInTime/TINU/tree/development    - Download available here:    https://dl.dropboxusercontent.com/s/nvzss51qcieynve/TINU.zip     Frequently asked questions about TINU: https://github.com/ITzTravelInTime/TINU/wiki/FAQs     NOTE: if you have problems with your USB installer of 10.13.4 or newer version not being detected by clover you have to use the latest clover and if it still does not detectets your usb installer you have to remove the invivible file called .IAPhysicalMedia located into the root of the usb installer. This issue is caused by a changement in the apple's createinstallmedia, don't blame TINU for that, tinu does only uses the installer creation method from apple, which has been changed, causing this problem for hackintosh users, this issue should be resolved in the latest versions of clover which will no longer require that you do changements to let your usb dive to be detected, a setting to do this fix automatically in tinu is also comeing in a new pre-release of TINU 2 I leave also some screenshots as well

    • By LarryKu
      Hi everyone,
      I am new, I hope I am posting in the correct forum.
      My specs:
      Processor: Core i5 6500 Skylake 3.2ghz
      Mobo: Gigabyte h170-d3h
      M2SSD: WD Black 256gb PCIe (Mac OSx)
      SSD: Samsung 860 Evo (WIndows 10)
      HDD: WD Blue 1TB
      GPU: Radeon RX 480
      Monitor: BenQ RL2460 24"

      I was able to install High Sierra on a new m2 drive, that I added to the above configuration with windows 10 already installed.
      I had a few issues during install, including the monitor turning off at boot screen.

      Unfortunately, this persists even now. It turns off at about 60% of the progress bar, and to turn it on again I have to unplug/plug back my hdmi.
      Additionally, while all of the usb ports worked during install and while running it out of the clover I had on the usb stick, only the rear ones appear to work now.
      The audio doesn't work either, though I added the correct patch according to my mobo

      Lastly, my other drives are not recognized in the bios anymore. They run fine from boot override but they don't show up in the boot priority (while multiple entries of mac OS do, and they seem to increase in number at every reboot)

      Thanks in advance for the help
    • By anka97
      Hello everyone! I'm a newbie !
      I tried to set up my USB installer, but I cannot. 
      Would u like to be so kind if u help me to setup my clover EFI partition. I'm stuck here and I cannot boot to USB.
      Everything is OK. Just about my Clover configuration! 
      My model profile:
      CPU : Intel Core i3 6100U Skylake-U/Y 
      RAM: 4.00GB Single-Channel DDR3 @ 532MHz (7-8-8-28)
      Motherboard: ASUSTeK COMPUTER INC. TP501UA (U3E1)
      Graphics: Intel HD Graphics 520 (ASUStek Computer Inc) 
      Monitor: Generic PnP Monitor (1920x1080@60Hz)                 
      Storage HDD: 465GB Seagate ST500LT012-1DG142 (SATA)
      Audio: Realtek
      Network: Qualcomm Atheros AR946x Wireless Network Adapter
    • By Angelo_
      Non sono sicuro di essere nella sezione giusta ma stavo cercando un adattatore wifi usb compatibile con high sierra per un paio di hackintosh(di mio fratello e di un amico) che non possono essere connessi in lan e non riesco a trovare niente né nei negozi di elettronica né su amazon, avete qualche suggerimento? Ho anche provato una breve ricerca su google sia in italiano che in inglese senza ottenere risultati :v