karlic Posted March 14, 2017 Share Posted March 14, 2017 An Idiot’s (My!) Guide to Installing Mac OS X Sierra 10.12.3 on a Dell Optiplex 780 Small Form Factor Before you begin What you will need: A Dell Optiplex 780 SFF (I did say it’s an idiot’s guide) A Radeon HD5450 Graphics Card (the on-board card is not supposed to work, although it did for me) A USB stick, at least 8GB The following downloads: Clover EFI bootloader from https://sourceforge.net/projects/cloverefiboot/ Clover Configurator (Vibrant Edition) from http://mackie100projects.altervista.org/download-clover-configurator/ DSDT.aml.zip from http://www.insanelymac.com/forum/topic/312656-guide-macos-sierra-1012-dell-optiplex-780-760-755-790/ my_Optiplex_config.plist.zip from http://www.insanelymac.com/forum/topic/312656-guide-macos-sierra-1012-dell-optiplex-780-760-755-790/ AppleALC.kext from https://github.com/vit9696/AppleALC/releases AppleIntelE1000e.kext from https://sourceforge.net/projects/osx86drivers/ FakeSMC.kext from https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads USB_Injector.kext from http://www.insanelymac.com/forum/topic/312656-guide-macos-sierra-1012-dell-optiplex-780-760-755-790/ boot1h from https://www.tonymacx86.com/threads/how-do-you-fix-boot0af-error.109717/ What will be useful: A computer with access to the Internet (preferably NOT the Optiplex in case you need to download something halfway through) A camera/phone for taking photos of settings Another USB stick of about 2GB or more. Check BIOS version Shutdown the Optiplex 780 SFF Restart the 780 and watch the boot screen Look at the very bottom of the screen for, “BIOS Revision AXX”, where XX is a number If the number is less than 15, you need to update the BIOS Shut down the Optiplex 780 SFF. Record BIOS settings (in case you break something later on) Restart the 780 and when Dell logo appears keep pressing F2 until you hear a beep Scroll through each of the BIOS settings pages and take a photo for future reference Shutdown the Optiplex 780 SFF. Updating the BIOS (only do this if it is less than version A15) Download O780-A15.exe from here http://www.dell.com/support/home/uk/en/ukbsdt1/product-support/product/optiplex-780/drivers Download and install unetbootin from here https://unetbootin.github.io Insert a spare USB stick in a USB port (IT WILL BE ERASED) Erase and format the USB stick for MS-DOS Open Disk Utility Select the USB stick Click on Erase Name = USB Format = MS-DOS (FAT) Scheme = Master Boot Record Click on Erase Click Done and quit Disk Utility If it fails the first time, click Done and do step 4. again (the USB stick was still mounted) Run unetbootin Enter your login password, when prompted Select Distribution = FreeDOS Select Version = 1.0 Type = USB Drive Drive = [wherever your USB stick is] Click OK and wait for it to finish Eject USB stick and remove it Re-insert USB stick Copy O780-A15.exe to the USB stick (at the top level, not in a folder) Eject USB stick and remove it Insert USB stick into Optiplex 780 SFF Start the Optiplex 780 SFF and press F12 when Dell logo appears Select USB Device and press Return Select Default and press Return OR wait for it to time out Select FreeDOS Safe Mode and press Return Type C: and press Return Type in DIR and press Return. You should see O780-A15.exe Type in O780-A15.exe and press Return (NB. first is a letter ‘oh’ the second is a number ‘zero’) Press any key when prompted. (If you don’t have an ‘any’ key, just press Return) ;-) Wait for it to finish and restart When the Dell logo appears keep pressing F2 until you hear a beep Scroll through the BIOS settings and check they haven’t changed from those you recorded earlier. Shut down the Optiplex 780 SFF Remove the USB stick. Setting up the BIOS for Hackintosh (Make sure you have a record of current settings) Start the Optiplex 780 SFF When the Dell logo appears keep pressing F2 until you hear a beep Click on Load Defaults Click on OK Click on Yes, if you’re asked about changing SATA settings Select (everything else stays the same): Settings/Drives/Diskette Drive/Disabled Settings/Drives/SATA Operation/RAID Autodetect / AHCI and click Yes Settings/Drives/SMART Reporting/Enable SMART Reporting Settings/System Configuration/Parallel Port/Disable Settings/System Configuration/Serial Port #1/Disable Settings/Performance/Intel SpeedStep/Enable Intel SpeedStep Settings/Performance/C States Control/C States Control Settings/Virtualization Support/Virtualization/Enable intel Virtualization Technology Settings/Power Management/AC Recovery/Last Power State Click Apply Click Exit Shutdown the Optiplex 780 SFF. Creating Sierra install USB stick On a Mac, open the App Store, search for macOS Sierra Click Download on the macOS Sierra entry Wait for it to download (times vary, but when it prompts to begin installing, close it down) Format a spare USB stick with 8GB or more free space (IT WILL BE ERASED) Open Disk Utility Select the USB stick Click on Erase Name = USB Format = Mac OS Extended (Journaled) Scheme = GUID Partition Map Click on Erase Click Done and quit Disk Utility If it fails the first time, click Done and do step 4. again (the USB stick was still mounted) Open Terminal Copy these lines and paste into Terminal:sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ Sierra --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction Enter your login password and press Return Go and make a cup of tea. Now you can begin Make the USB stick Hackintosh ready Run Clover_v2.4k_r4012.pkg (the numbers will vary depending on when you downloaded it) Click Continue, Click Continue Click Change Install Location… <— YOU MUST DO THIS! Select Install macOS Sierra Click Continue Click Customize <— YOU MUST DO THIS! Select (all others are should be UNselected): Bootloader/Install boot0af in the MBR CloverEFI/Clover-EFI 64Bit SATA Drivers64UEFI/EmuVariableUefi-64 Drivers64UEFI/OsxAptioFixDrv-64 <— There is NO ‘2’ in this Drivers64UEFI/PartitionDxe-64 Click Install Enter your login password Click Install Software Click Close Run Clover Configurator (Vibrant Edition) Open config.plist Select Gui Select Language and change it to match your own Select Screen Resolution and change it to match your own Select SMBIOS and click the Magic Wand (right-hand side) Select the left-most icon Select iMac (10,1) - Core 2 Duo Select each of the (2) shake buttons Select System Parameters Click Generate New Select File/Save Close Clover Configurator (Vibrant Edition) Copy config.plist to /Volumes/Install\ macOS\ Sierra/EFI/Clover/ Click Authenticate Click replace Enter your login password Click OK Copy DSDT.aml to /Volumes/Install\ macOS\ Sierra/EFI/Clover/ACPI/patched/ Click Authenticate Enter your login password Click OK Copy: AppleALC.kext, AppleIntelE1000e.kext, FakeSMC.kext, and USB_Injector.kex to: /Volumes/Install\ macOS\ Sierra/EFI/CLOVER/kexts/10.12/ Click Authenticate Enter your login password Click OK Copy boot1h to /Volumes/Install\ macOS\ Sierra/ (this will only be used if you have problems) Click Authenticate Enter your login password Click OK Copy Clover_v2.4k_r4012.pkg to /Volumes/Install\ macOS\ Sierra/ Click Authenticate Enter your login password Click OK Eject the USB stick Install macOS Sierra. Install Sierra on your Optiplex 780 SFF Remove any disks other than the one you intend to install onto (prevents accidents) Install the HD5450 graphics card and other devices you intend to use (USB mouse, keyboard, etc) Insert the USB stick Install macOS Sierra Start the Optiplex 780 SFF and press F12 when Dell logo appears Select USB Device and press Return Select Boot OS X Install from Install macOS Sierra and press Return The screen appears to freeze, be patient Test your reading speed as the console text scrolls past ;-) Select Disk Utility and click Continue Select your target disk and click Erase Name = Sierra Format = Mac OS Extended (Journaled) Scheme = GUID Partition Map Click Erase Click Done Close Disk Utility Select Install MacOS and click Continue Click: Continue Agree Agree Select the Sierra disk and click Install After about 30 mins (during which the screen may go blank) the Optiplex 780 SFF will reboot and again after another 30 mins IF it hangs, switch off Start the Optiplex 780 SFF and press F12 when Dell logo appears Select USB Device and press Return Select Boot macOS Install from Sierra and press Return Select your country and keyboard and click Continue after each Click Continue Click Continue and Don’t Use Select Don’t Sign in, Continue, and Skip Click Agree and Agree Enter your details and click Continue Select your time zone and click Continue DEselect Send diagnostics & usage date to Apple and click Continue Click Continue Click Continue and press the key next to the Shift key, then click Done Open Terminal and type in sudo spctl --master-disable and press Return Enter your login password and press Return Run Clover_v2.4k_r4012 from the USB stick /Volumes/Install\ macOS\ Sierra Click Continue, Click Continue Click Change Install Location… <— YOU MUST DO THIS! Select Install macOS Sierra Click Continue Click Customize <— YOU MUST DO THIS! Select (all others are should be UNselected): Bootloader/Install boot0af in the MBR CloverEFI/Clover-EFI 64Bit SATA Drivers64UEFI/EmuVariableUefi-64 Drivers64UEFI/OsxAptioFixDrv-64 <— There is NO ‘2’ in this Drivers64UEFI/PartitionDxe-64 Install RC scripts on target volume Install Clover Preference Pane Click Install Enter your login password Click Install Software Click Close Copy: /Volumes/Install\ macOS\ Sierra/EFI/Clover/config.plist to /EFI/Clover/ /Volumes/Install\ macOS\ Sierra/EFI/Clover/ACPI/patched/DSDT.aml to /EFI/Clover/ACPI/patched/ /Volumes/Install\ macOS\ Sierra/EFI/Clover/kexts/10.12/* to /EFI/Clover/kexts/10.12/ Shut down the Optiplex 780 SFF and remove the USB stick Start the Optiplex 780 SFF. IF it hangs with boot0af: error, switch off and reinsert the USB stick. Start the Optiplex 780 SFF and press F12 when Dell logo appears Select USB Device and press Return Select Boot OS X Install from Install macOS Sierra and press Return Be patient Use the top menu to open Terminal Type in: mount And press Return Look for /Volumes/Sierra and note the entry to the left, which will be /dev/diskXsY, where X and Y are numbers Type in: cd /Volumes/Image\ Volume umount /dev/diskXsY sudo dd if=boot1h of=/dev/diskXsY bs=4096 shutdown -h now where X and Y are the numbers from above and pressing Return after each line Remove the USB stick and start the Optiplex 780 SFF Enjoy your Hackintosh. I had to visit System Preferences | Sound | Output and select HDMI to hear any sound 5 Link to comment Share on other sites More sharing options...
billg66 Posted March 30, 2017 Share Posted March 30, 2017 Thanks so much for this! I just received an Optiplex 780 I purchased on eBay, and I'm about to embark on this process. Two questions: How much memory should I have, and will this work with the newly released 10.12.4, or should I stick with 10.12.3? Thanks again! I'm looking forward to this! Link to comment Share on other sites More sharing options...
joeyvfx Posted March 30, 2017 Share Posted March 30, 2017 Thank you so much for the guide! I'm having trouble after booting from the USB in clover. I get stuck at these console messages. Could someone help me diagnose this? http://i.imgur.com/uCQkSGA.jpg Link to comment Share on other sites More sharing options...
billg66 Posted March 31, 2017 Share Posted March 31, 2017 I could not find the USB_injector.kext at the link provided: USB_Injector.kext from http://www.insanelym...80-760-755-790/ Is there an alternate download link? Am I somehow missing it? I did a search... thanks! Link to comment Share on other sites More sharing options...
joeyvfx Posted March 31, 2017 Share Posted March 31, 2017 I could not find the USB_injector.kext at the link provided: USB_Injector.kext from http://www.insanelym...80-760-755-790/ Is there an alternate download link? Am I somehow missing it? I did a search... thanks! Here's the link - 10.12.zip It is on that page. Link to comment Share on other sites More sharing options...
billg66 Posted March 31, 2017 Share Posted March 31, 2017 Here's the link - 10.12.zip It is on that page. Thank you... I'm sorry I missed it. I found everything else. Link to comment Share on other sites More sharing options...
joeyvfx Posted April 1, 2017 Share Posted April 1, 2017 Thank you... I'm sorry I missed it. I found everything else. No problem, let me know if you get yours working... I'm still having problems with mine! Link to comment Share on other sites More sharing options...
billg66 Posted April 3, 2017 Share Posted April 3, 2017 No problem, let me know if you get yours working... I'm still having problems with mine! Wilco. I'm just updating the BIOS as I'm typing this. I'm waiting for the video card to come in before I tackle the actual Sierra Install. Probably by the weekend. Link to comment Share on other sites More sharing options...
billg66 Posted April 3, 2017 Share Posted April 3, 2017 Copy these lines and paste into Terminal:sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ Sierra --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction Enter your login password and press Return I've done this precisely, and the message I get in Terminal is "/Volumes/Install macOS Sierra is not a valid volume mount point." Install macOS Sierra is in the Applications folder where I downloaded it. Should I move it someplace else? Link to comment Share on other sites More sharing options...
joeyvfx Posted April 4, 2017 Share Posted April 4, 2017 @billg66 There are other terminal commands out there, I found one on google that worked for me. I forget which one it was, but I know it didn't take me long to find a slightly different one. Link to comment Share on other sites More sharing options...
billg66 Posted April 4, 2017 Share Posted April 4, 2017 @billg66 There are other terminal commands out there, I found one on google that worked for me. I forget which one it was, but I know it didn't take me long to find a slightly different one. Thank you, Sir. Figured out that I needed to replace the volume reference at the tail end of the command with the name of my local USB drive, and baddbing, baddaboom. Install drive created. 1 Link to comment Share on other sites More sharing options...
billg66 Posted April 7, 2017 Share Posted April 7, 2017 I'm a bit confused by this instruction on the actual installation: 42. Run Clover_v2.4k012 from the USB stick /Volumes/Install\ macOS\ Sierra 43. Click Continue, Click Continue 44. Click Change Install Location… <— YOU MUST DO THIS! 45. Select Install macOS Sierra 46. Click Continue This seems to indicate that I should install Clover to the USB drive (which I have already done as part of "Make the USB Stick Hackintosh Ready") Is that a mistype? Should I actually be installing it to the Sierra drive on the Optiplex? That would seem to make more sense given this stage of the installation. Or am I missing something? Link to comment Share on other sites More sharing options...
billg66 Posted April 10, 2017 Share Posted April 10, 2017 Success! I tried to post a picture, but I can't figure out how to upload a photo. Linked file here: http://imgur.com/YahG0Zo Only thing is, no sound. All I see in my sound control panel are my airplay devices. When I look in system report, I see sound out, etc. (no option for HDMI). Any thoughts? Thank you for the guide! Link to comment Share on other sites More sharing options...
sakis6977 Posted July 13, 2017 Share Posted July 13, 2017 Hello, i follow this guide and i stock in this image this is when i boot from usb to install mac os. Any ideas? Link to comment Share on other sites More sharing options...
window Posted July 14, 2017 Share Posted July 14, 2017 How did you get your on-board graphics to work? Link to comment Share on other sites More sharing options...
sakis6977 Posted July 14, 2017 Share Posted July 14, 2017 How did you get your on-board graphics to work? I have this card asus 210 sl tc1gd3 l Link to comment Share on other sites More sharing options...
window Posted July 30, 2017 Share Posted July 30, 2017 After many attempts, I successfully installed MacOS 10.12.6 using this guide. Thanks Link to comment Share on other sites More sharing options...
sakis6977 Posted August 18, 2017 Share Posted August 18, 2017 Can anyone help me? http://imgur.com/a/nfmel stack here Link to comment Share on other sites More sharing options...
sakis6977 Posted August 28, 2017 Share Posted August 28, 2017 Hello again. I boot finaly and it works. But i dont have sound and full hd graphics. Any help??? Link to comment Share on other sites More sharing options...
marsil.novitio Posted August 30, 2017 Share Posted August 30, 2017 Hello again. I boot finaly and it works. But i dont have sound and full hd graphics. Any help??? Hello! I have same red writing: "x64 Exception Type ecc ecc..." How did you solve it? Thanks a lot Link to comment Share on other sites More sharing options...
sakis6977 Posted August 31, 2017 Share Posted August 31, 2017 Hello! I have same red writing: "x64 Exception Type ecc ecc..." How did you solve it? Thanks a lot delete DSDT file Link to comment Share on other sites More sharing options...
billg66 Posted October 13, 2017 Share Posted October 13, 2017 I'm having an issue now where my Optiplex 780 Hack loses ethernet after waking from sleep. It shows a good IP, but it won't connect. Do I need to update my driver? I'm using the AppleIntel1000e kext referenced in the first post... Link to comment Share on other sites More sharing options...
billg66 Posted October 18, 2017 Share Posted October 18, 2017 Anyone have any thoughts? Link to comment Share on other sites More sharing options...
funnynypd Posted March 3, 2018 Share Posted March 3, 2018 I was stuck at the "Continue" page. Anyone has a clue? Link to comment Share on other sites More sharing options...
flod Posted December 3, 2018 Share Posted December 3, 2018 I was able to install, and boot into Sierra up to step 65 in Install Sierra on your Optiplex 780 SFF above. From there on the internal drive with Sierra installed isn't seen by the system. I followed the remaining steps but got a "command not found" error when entering the unmount command in Terminal as noted in step 78. Can anyone help? Link to comment Share on other sites More sharing options...
Recommended Posts