This is Ultimate tutorial for installing Mac OSX up to EL Capitan 10.11.
You don't need working mac installation or AHCI capable motherboard, it can be done on any PC.
Tools that you need:
OSF Mount - http://www.osforensics.com/tools/mount-disk-images.html - This is most important tool, it can mount efi partition on image and edit it.
image link: https://goo.gl/nMcpOG
win 32 disk imager - http://win32-disk-imager.en.uptodown.com/ - this will be used to write image to USB, you can also use other software, there are many of them, i use this one.
In case you did not listen to me and you want to do this harder way:
http://www.hackintosh.zone/file/828-bootdiskutility-v212015/ - utility that can install clover from windows.
https://sourceforge.net/projects/cloverefiboot/files/Installer/ - Clover installer package
The most important note!!! Lego games. ---- You need Sata kext in 10.11 folder, that will make your HDD to show up in disk manager, without it you will get still waiting for root device and your HDD wont show up in disk utility and you wont be able to install EL Capitan on your HDD.
My Specs :
Processor - e7200 core2duo
Ram - 6gb - different modules with different speed and latency
HDD - 320+720gb - sata2
USB - 16gb Kingstone
GPU - HD 7850 2gb dual bios.
Motherboard - P5N-D - https://www.asus.com/Motherboards/P5ND/
How To Boot El Capitan From Usb
Boot El Capitan From Usb Drive
Here's how to make a bootable installer of El Capitan on a USB Thumbdrive. It is the quickest way but it uses the terminal so it is for advanced users. Apple allows you to upgrade to the new OS X El Capitan directly from the installed OS X Yosemite, but at least once every couple of years it is recommended to do a “clean” installation. Lord of the rings game battle for middle earth. Finally, I could boot up the Mac while holding 'option/alt' and my USB drive appeared as a bootable device! 17 minutes later I can startup OSX! I may go ahead and re-download the installer and create a new bootable USB using 'createinstallmedia', just in case there was a problem with the image I used, but at least now I can boot up the computer!