Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Only call IOCloseFile() after a successful open. Black and grey.

To everyone interested in this project:

[P]eople must be aware that [this and other] interim future versions are NOT intended as a replacement for the official repository versions. Until further notice, those of you who want to use Pike's boot.efi ought to go to http://piker-alpha.github.io/macosxbootloader/ and download either the "black" version or the "grey" one, according to your particular preference (the change is purely cosmetic; otherwise, they are exactly the same; the choice is irrelevant as far as the operating system is concerned). Pike alone will decide when such repository versions will be updated with a newer version.

Please, notice that the [enclosed and other] upcoming experimental versions might contain bugs that could cripple your ability to boot your old Mac. So, unless you are absolutely certain of what you are doing and know how to reverse such undesirable situations, KEEP AWAY FROM THEM. In general terms, [these] versions ARE NOT FOR YOU!
 

Attachments

  • boot 8eb2a25982d43871d952743a4218ea363f9d3cc2.zip
    412.4 KB · Views: 258
d/l of current ElCap .app from app store in both Yosemite and El Cap currently just wait indefinitely with the spinner in the app store
I can confirm that's exactly what happened to me. However, when I rebooted the computer with v3.0 in place after installing El Capitan 10.11.1, the App Store offered me (without asking again) to download El Capitan 10.11.1. The only thing is that it wouldn't work, because my original installer had been created using an "Install OS X El Capitan.app" (10.11.0) originally downloaded on one of my sons' supported Mac using his Apple ID. It would appear that such an Apple ID is stored somewhere on one's hard drive, because when I tried to re-download El Capitan 10.11.1 from the App Store, it prompted me for the password of my son's Apple ID, which I don't know, so I couldn't proceed any further.
 
Last edited:
[edit]

I have pulled commit 8eb2a259, and set DEBUG_KERNEL_PATCHER = 1, and re-enabled verbose for personal diag.

[/edit]

Boot into createinstallmedia:

Fails boot...

imageboot-setup-now: container image url is file:///Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg

hfs-ValidateHFSPlusVolumeHeader: unknown Vilume Signature : 44b9

output attached


edit: addition of said build into USB-based createinstallmedia successful, for whatever reason (I do not know (I have changed only boot.efi x3 in both of these installers))....

I need to rebuild all my installers from scratch before I test (and clog the board), any more ;/
 
Last edited:
Boot into createinstallmedia:

Fails boot...

imageboot-setup-now: container image url is file:///Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg

hfs-ValidateHFSPlusVolumeHeader: unknown Vilume Signature : 44b9

output attached
Boot into El Capitan and try to mount that image. Does that work?

Edit: The next step would be to check if this bug is related to the new legacy detection:

1.) Open Main.cpp
2.) Comment out lines 362 and 363.
3.) Comment out the lines 554-574 (whole block).
 
Last edited:
I can confirm that's exactly what happened to me. However, when I rebooted the computer with v3.0 in place after installing El Capitan 10.11.1, the App Store offered me (without asking again) to download El Capitan 10.11.1. The only thing is that it wouldn't work, because my original installer had been created using an "Install OS X El Capitan.app" (10.11.0) originally downloaded on one of my sons' supported Mac using his Apple ID. It would appear that such an Apple ID is stored somewhere on one's hard drive, because when I tried to re-download El Capitan 10.11.1 from the App Store, it prompted me for the password of my son's Apple ID, which I don't know, so I couldn't proceed any further.

Download of ElCap from within 10.10.5 starts the download of ElCap GM Candidate?!?

see attached

I'll still have to open a VM to download the latest, for now (later).
 

Attachments

  • image.jpeg
    image.jpeg
    633.1 KB · Views: 127
Commit 8eb2a...

Boots into installer GUI just fine. Anything specific needs testing yet?

Pike, shall I destroy the "slide=0" boot arg?
 
Boot into El Capitan and try to mount that image. Does that work?

--8<-------

Odd . . . InstallESD.dmg will not mount (no mountable file systems), and says it was modified, yesterday, at 8:53 PM, and weighs-in at 5.34GiB (the original ///ElCap.app/C/SS/InstallESD.dmg weighs-in at 6.08GiB)

No idea, whatsoever could cause such a mod... it's like something extracted a BaseSystem.dmg-sized chunk, and left without leaving a calling card...

Replaced old, with fresh:

'DSMOS has Arrived...' . . . boots into 'To set up the installation...'

Go figure ;/

Thanks for the suggestion on where to look, Pike. . .don't want to clog the thread with cruft.
 
Last edited:
I'm working on getting a build environment set up, to help streamline the kextpatcher testing. Didn't realize that all the needed tools are free: VirtualBox, MS VM image for testing IE, and Visual Studio Community. Hopefully I'll be up and running with it soon.

I already have a copy of 10.11.0 installed, and ready to test the kextpatcher by installing the 10.11.1 update, once we reach that point.

splifingate, I keep having to refresh my USB installer, because it keeps getting corrupted just by booting the installer from it! It seems strange, as it ought only need to be mounted read-only. So anyway, it's not just you.
 
That is not the regular CatalogURL. You probably changed the CatalogURL

Code:
splifingatesPro:~ splifingate$ sudo defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

2015-10-25 10:14:33.279 defaults[834:11300] 

The domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, CatalogURL) does not exist

splifingatesPro:~ splifingate$ sudo /usr/sbin/softwareupdate --set-catalog 

https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz

softwareupdate: Changed catalog to https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz

Still get the spinner, and no d/l, but this is Correct, and I want it to (continue to) be this way. thx
 
I'm working on getting a build environment set up, to help streamline the kextpatcher testing. Didn't realize that all the needed tools are free: VirtualBox, MS VM image for testing IE, and Visual Studio Community. Hopefully I'll be up and running with it soon.

I already have a copy of 10.11.0 installed, and ready to test the kextpatcher by installing the 10.11.1 update, once we reach that point.

splifingate, I keep having to refresh my USB installer, because it keeps getting corrupted just by booting the installer from it! It seems strange, as it ought only need to be mounted read-only. So anyway, it's not just you.
That sounds fantastic. Download links?

Edit: I installed VirtualBox v5.0.8 r103449 and I think that you are talking about https://dev.modern.ie/tools/vms/mac/

@PeterHolbrook,

What are you using?
 
Last edited:
Microsoft Visual Studio 2013 Professional running in Windows 8.1 on a VMware Fusion 8.0.1 VM running in El Capitan 10.11.1 running on a Mac Pro 1,1->2,1 masquerading as a Mac Pro 3,1 thanks to version 3.0 of your boot.efi!
Thanks. One problem. I have only 2GB space left. Need new hardware first.

Edit: Didn't even know that I had so little free space left. Removed some projects and now I have 15GB free. Good to go.

Edit-2: This setup should be added to the project Wiki

Edit-3: I need to install some kind of tools, but I don't know how to do that. Anyone here?
 
Last edited:
Edit-3: I need to install some kind of tools, but I don't know how to do that. Anyone here?
Tools? I don't suppose you're talking about VMware Tools or Parallels Tools, are you? If you are, you should go (in the case of VMware Fusion) to the Virtual Machine menu and select Install VMware Tools. It should be done automatically. It probably requires that you restart your virtual machine. Afterwards integration between the Windows guest and the OS X host improves significantly.
 
Tools? I don't suppose you're talking about VMware Tools or Parallels Tools, are you? If you are, you should go (in the case of VMware Fusion) to the Virtual Machine menu and select Install VMware Tools. It should be done automatically. It probably requires that you restart your virtual machine. Afterwards integration between the Windows guest and the OS X host improves significantly.
No. Install Visual C++ 2015 Tool for Windows Desktop. I can't seem to locate the Visual Studio Setup app.

Edit: My mistake. I chose "Typical" during the installation, instead of "Custom" so now I had to go into Control Panel and select uninstall. This launched setup and there I could select the missing toolset.
 
Last edited:
No. Install Visual C++ 2015 Tool for Windows Desktop. I can't seem to locate the Visual Studio Setup app.
I installed em by going in Control panel -> add/remove programs, select VS2015 and then enable VC++ components, they should include all the tools and the compilers needed (apart from nasm).
 
No. Install Visual C++ 2015 Tool for Windows Desktop. I can't seem to locate the Visual Studio Setup app.
I wouldn't know. I don't recall getting any missing components when I installed VS 2013. The 2015 version might be different, though. Have you tried a full install?
 
I installed em by going in Control panel -> add/remove programs, select VS2015 and then enable VC++ components, they should include all the tools and the compilers needed (apart from nasm).
Yup. That's what I did.

Edit: Now it can't find nasm. I installed 2.11.08 and it's there in C:\Users\IEUser\AppData\Local\nasm but Visual Studio 2015 can't find it. Need to copy the file... Done.

I also had to upgrade the solution files (boot/rijndael) by right clicking on them and selecting update (or something like that).
 
Last edited:
I also had to upgrade the solution files (boot/rijndael) by right clicking on them and selecting update (or something like that).
Hmm. Have the solution files been upgraded in the repository? If so, I suppose I should be updating VS to 2015. Otherwise, I imagine VS 2013 might fail to read them now. What is your advice?

Edit: Or do you want to do all the compiling yourself from now on?
 
Hmm. Have the solution files been upgraded in the repository? If so, I suppose I should be updating VS to 2015. Otherwise, I imagine VS 2013 might fail to read them now. What is your advice?

Edit: Or do you want to do all the compiling yourself from now on?
No. I did not update the solution files in the repo, and no I rather want someone else to compile the files. This however gives more people a chance to compile the source code.

Edit: Oops. I need to setup a channel here for our German guests. Some of them want to watch: "Formel 1 Das Rennen/Siegerehrung und Highlights" on RTL. Yummy.
 
Last edited:
  • Like
Reactions: PeterHolbrook
Yup. That's what I did.
Hmm. Have the solution files been upgraded in the repository? If so, I suppose I should be updating VS to 2015. Otherwise, I imagine VS 2013 might fail to read them now. What is your advice?

Edit: Or do you want to do all the compiling yourself from now on?

I'm not sure if I did something wrong, but the boot.efi output when I upgraded so it would compile with 2015 didn't work for me, and I didn't have time to try again yet with 2013.
 
I'm not sure if I did something wrong, but the boot.efi output when I upgraded so it would compile with 2015 didn't work for me, and I didn't have time to try again yet with 2013.
Make sure you compile it as "Release/Win32". Notice that the size of the boot.efi created in VS 2015 will probably be different from the one created in VS 2013. In any case, either should work fine.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.