![]() Looks for SharedSupport/OSInstall.mpkg within the app bundle, and if itĬan’t find that, falls back to looking for SharedSupport/ist.Ensures that the bundle identifier of the application begins with.Validates the existence of that path, and that it’s a directory.Accepts an NSString * as its only parameter, which is the path to Install macOS Sierra.app that the user specified for the -applicationpath flag to.Rather than regurgitating a wall of x86_64 assembly here, I’ll just explain Sub_100001cb2, as Hopper calls it, isn’t too terribly difficult to read, but We don’t jump anywhere, and execute the next instruction after 0x1000017b3. If it returns anything other than 0 or 1, Which point the does not appear to be a valid OS installer application message If it returns 0, we jump to 0x10000198c, at If the validation routine at sub_100001cb2 returns 1, we jump toĠx1000018b7 and continue on. In on the cause of the does not appear to be a valid OS installer applicationĮrror message, centered around a failing validation routine called at addressĠx1000017a3: 00000001000017a0 mov rdi, r13 Using Hopper to disassemble createinstallmedia, I quickly narrowed Immediately, we get /Applications/Install macOS Sierra.app does not appear to be a valid OS installer application. applicationpath /Applications/Install\ macOS\ Sierra.app Mounted at /Volumes/Untitled): % sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia \ Now let’s copy the installer app to /Applications: % sudo ditto ~/Desktop/InstallOS/InstallOS.pkg/Payload/Install\ macOS\ Sierra.app \Īnd attempt to run createinstallmedia (assuming we have a blank flash drive The Payload file within the installer package. expand isn’t enough to cause Install macOS Sierra.app to be extracted from Note that we use pkgutil’s undocumented -expand-full flag here, because ![]() ![]() OK, fine-we’ll extract the contents of the installer package manually: % pkgutil -expand-full /Volumes/Install\ macOS/InstallOS.pkg ~/Desktop/InstallOS Package is preventing me from even installing Install macOS Sierra.app. My machine (a 2019 Mac mini) is too new to run Sierra, so the installer Of this Apple support document, I mounted the disk image, andĪttempted to run the installation package, only to be met with this dialog: problem #1: missing InstallESD.dmgĪfter downloading InstallOS.dmg via the Download macOS Sierra link in step 4 Internet, so I set my sights on figuring out how to prepare the installation Possibly-sketchy older version of the installer from some random place on the I neither had an older Mac, nor was I content with downloading a Install the Sierra installer (or if it’s not in working order), you’re kind of With those instructions, if you don’t have an older Mac upon which you can Then renaming the older installer app bundle out from under createinstallmediaīefore confirming that you’d like to erase the target disk. Running createinstallmedia from within the newer installer app bundle, and Sierra installer can be installed, involves finding and downloading an olderĬopy of Install macOS Sierra.app from a who-knows-how-trustworthy source, The oft-suggested workaround, assuming you have an older Mac upon which the If you don’t care for the nitty gritty technical analysis, you can skip right to Reverse-engineering, I was able to figure out how to make it work. Yielded a slightly different set of problems, but with a bit of Like /Volumes/XYZ is not a valid volume mount point.Īttempting to use Sierra’s createinstallmedia on my macOS Catalina machine Tl dr: In late 2019, Apple published an updated macOS Sierra installer whichīroke the ability to create bootable installation media, failing with an error To hold the installer using createinstallmedia, a quick bit of Googling starts MacOS Sierra on an older Mac, and you want to create a bootable USB flash drive If, like a friend of mine, you find yourself needing to install a fresh copy of Cody krieger Creating bootable macOS Sierra installation media on macOS Catalina
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |