Andy Vandijck Posted December 9, 2014 Share Posted December 9, 2014 I created a hackintosh specific version of the MacOSX bootloader. I tested it so far under legacy Clover. Project page including more downloads: https://github.com/andyvand/macosxbootloader Built result hack specific is attached. Test please, I need feedback as this is a new version. Might need some more fixing here and there. When testing please note the following in the report: - Legacy boot / UEFI boot - 32 / 64 bit Clover use - Result This one is Yosemite optimized and should work (support for hackintosh in initial stage) EDIT: New version. Added strict warning, enable all warnings flag and set warnings as errors flags, fixed some issues, implemented -f support and finally made sure everything was built optimized. Also reimplemented driver loading (now works optimal and fast). EDIT2: Added Clover build tools version. boot.efi.zip boot.clovertools.efi.zip 2 Link to comment Share on other sites More sharing options...
crusher Posted December 9, 2014 Share Posted December 9, 2014 Sorry Andy copy this file on usr/standalone/i386 folder or...? I'm on UEFI Clover install. Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 9, 2014 Author Share Posted December 9, 2014 Sorry Andy copy this file on usr/standalone/i386 folder or...? I'm on UEFI Clover install. This goes into /System/Library/CoreServices/boot.efi First do sudo chflags nouchg /System/Library/CoreServices/boot.efi Make sure to test on USB stick first... 1 Link to comment Share on other sites More sharing options...
crusher Posted December 9, 2014 Share Posted December 9, 2014 Does not work for me on Yosemite!!! Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 9, 2014 Author Share Posted December 9, 2014 Does not work for me on Yosemite!!! Any report to give? Link to comment Share on other sites More sharing options...
crusher Posted December 9, 2014 Share Posted December 9, 2014 Any report to give? After reboot my PC blocked on boot. Now see where is the problem. Thanks!!! Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 9, 2014 Author Share Posted December 9, 2014 After reboot my PC blocked on boot. 2014-12-09 17.37.29.jpg Now see where is the problem. Thanks!!! Try using legacy Clover boot. Aptio reloc doesn't work yet (needs fix). EDIT: Also note - this boot.efi is universal (32 + 64 bit arch). You can also test 32-bit legacy Clover to boot into 64-bit kernel (works). Link to comment Share on other sites More sharing options...
alexanderq Posted December 9, 2014 Share Posted December 9, 2014 KP unable to find driver for this platform with Clover legacy for me. Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 9, 2014 Author Share Posted December 9, 2014 KP unable to find driver for this platform with Clover legacy for me. Damn... do you have a patched DSDT in /EFI/CLOVER/ACPI/Patched? If not, put one there... Just to check... Link to comment Share on other sites More sharing options...
alexanderq Posted December 9, 2014 Share Posted December 9, 2014 Same thing. Link to comment Share on other sites More sharing options...
jamiethemorris Posted December 10, 2014 Share Posted December 10, 2014 What benefit does this have for hacks have over the normal boot.efi? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 10, 2014 Author Share Posted December 10, 2014 Extremely fast boot after last update (If I can get the hackintosh specific bug fixed that doesn't enable ACPI platform init). The new version has -f support (ignore kernel cache). You might want to try this too... EDIT: By the way - when I get home I'll add auto installer packages.... (need my dev certificates for signing these). EDIT2: On the Github page you also find the regular built version (this can be used for real MacPro or so with only EFI32 to run Yosemite) with latest optimizations and strict flags and stuff and code modifications it should work real fast on such a machine... 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 10, 2014 Author Share Posted December 10, 2014 Anyone with an Ozmozis flashed mobo willing to test and report? Would like to see reports there (as it's kind of weird that is doesn't load ACPI, should work as it does so on real Macs...) Let me know please Link to comment Share on other sites More sharing options...
pico joe Posted December 10, 2014 Share Posted December 10, 2014 Hi Andy unfortunately with boot.clovertools.efi get blank boot with uefi n legacy (intel machine) Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 10, 2014 Author Share Posted December 10, 2014 Hi Andy unfortunately with boot.clovertools.efi get blank boot with uefi n legacy (intel machine) And Apple version? I allready noted some time ago that the combined 32+64 bit UEFI files only work when built from MS sources or Apple's.. You could easily rebuild though... make CLOVERTOOLS=1 for 64 bit or make CLOVERTOOLS=1 ARCH=i386 for 32 bit. And don't combine them into and UEFI combined, I noticed it does not work... Stay tuned currently updating project. Post more on Github soon. Link to comment Share on other sites More sharing options...
ErmaC Posted December 10, 2014 Share Posted December 10, 2014 Hi Andy. I send you a PM. EDIT: you just reply in the meantime. I'm going to move this topic in the bootloader section. EDIT2: topic moved, and a temp link from previous source section as been given. ErmaC 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 10, 2014 Author Share Posted December 10, 2014 BTW: Don't try any VM (VMWare, Virtualbox / Paralles) because don't work yet... When I get that working: I'll post here Tested auto-installer, Work insanely great. It is integrated for build within main Makefile of Github sources too. It execututes an universal build and then packages it. - make newinstaller (make flat style package). - make legacy-installer (make Tiger style package. Greetz Andy I added the packages and also the script. It works great and makes booster (2 scripts and one Makefile ) Link to comment Share on other sites More sharing options...
jamiethemorris Posted December 11, 2014 Share Posted December 11, 2014 Hey Andy, I know I already asked this but this has piqued my curiosity. I know the macpro1,1 requires a 32-bit bootloader but I don't really understand what this is for as far as hackintoshes go. Would I benefit from this on my 2600k build? It still needs another boot loader like clover or chameleon right? Sorry if it's a dumb question... Link to comment Share on other sites More sharing options...
barnum Posted December 16, 2014 Share Posted December 16, 2014 Hi Andy, I have clover install on legacy mode (bios mode) How can I install your version ? just copy the "boot.efi" file in "/System/Library/CoreServices/boot.efi" and then reboot using clover ? regards, Barnum Link to comment Share on other sites More sharing options...
Alien::X Posted December 20, 2014 Share Posted December 20, 2014 Please write ans. >> http://www.insanelymac.com/forum/topic/303073-pattern-of-mlb-main-logic-board/page-12?do=findComment&comment=2096379 Link to comment Share on other sites More sharing options...
exenatt Posted February 6, 2015 Share Posted February 6, 2015 How to install ? Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted February 10, 2015 Share Posted February 10, 2015 I noticed that you use ARCHCFLAGS -target x86_64-pc-win32-macho for the 64-bit version of boot.efi but there is no target set for the 32-bit variants. What about using i386-pc-win32-macho? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted February 10, 2015 Author Share Posted February 10, 2015 I noticed that you use ARCHCFLAGS -target x86_64-pc-win32-macho for the 64-bit version of boot.efi but there is no target set for the 32-bit variants. What about using i386-pc-win32-macho? It doesn't work, try it... I tested and noticed it didn't want to use it. Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted February 11, 2015 Share Posted February 11, 2015 It doesn't work, try it... I tested and noticed it didn't want to use it. Oops. That should have read: x86-pc-win32-macho Anyway. I guess that you will still get the backend triplet error. I know that x86-pc-darwin-macho compiles, but that is probably also wrong. You better ask on the EDKII mailing list what to use for 32-bit EFI applications. I would have asked it myself, but I can't (work related limitation). Or file a clang bug report perhaps (since x86_64-pc-win32-macho works)? 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted February 11, 2015 Author Share Posted February 11, 2015 Oops. That should have read: x86-pc-win32-macho Anyway. I guess that you will still get the backend triplet error. I know that x86-pc-darwin-macho compiles, but that is probably also wrong. You better ask on the EDKII mailing list what to use for 32-bit EFI applications. I would have asked it myself, but I can't (work related limitation). Or file a clang bug report perhaps (since x86_64-pc-win32-macho works)? Tried all of those... Found nothing with stock clang for 32 bit win target... So I implemented it the way it is now Link to comment Share on other sites More sharing options...
Recommended Posts