Unable to Create Sierra USB Bootable Disk

Steps I followed:

  1. Download Sierra image from apple (InstallOS.dmg)
  2. Open InstallOS.dmg
  3. Open InstallOS.pkg
  4. Once installation is complete, run command, in my case (my MacOS formatted USB volume name is "SIERRA" - and I've tried this on two different known good USB Sticks - a 32gb and a 64GB): sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/SIERRA --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
  5. I receive the following error:
createinstallmedia[94979:1384666] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 35'

*** First throw call stack:

(

0  CoreFoundation           0x00007fff2061cbfb __exceptionPreprocess + 242

1  libobjc.A.dylib           0x00007fff20355d92 objc_exception_throw + 48

2  Foundation             0x00007fff213b3a71 -[NSConcreteTask launchWithDictionary:error:] + 4990

3  Foundation             0x00007fff213d9c49 +[NSTask launchedTaskWithLaunchPath:arguments:] + 146

4  createinstallmedia         0x00000001044eb968 createinstallmedia + 6504

5  libdyld.dylib            0x00007fff204c5f3d start + 1

6  ???                 0x0000000000000006 0x0 + 6

)

libc++abi: terminating with uncaught exception of type NSException



6. Then I found another thread where the solution was to run this command:

 sudo plutil -replace CFBundleShortVersionString -string "12.6.03" /Applications/Install\ macOS\ Sierra.app/Contents/Info.plist


I ran that, but then I got an error that the install app was an invalid installer. I thought maybe that had corrupted my installer, so I deleted it and did steps 1-4 again, and I still got the invalid installer error. So then I ran step 6 again but using my own current macos version (instead of "12.6.03) which is Big Sur: 11.7.2 - That got me passed the error again, but I got the same result - the error 35 listed above.


I'm trying to restore an older iMac with Sierra - The internet recovery server is down for it so at this point feeling quite stuck.

Earlier Mac models

Posted on Jul 29, 2023 11:11 PM

Reply

Similar questions

6 replies

Aug 1, 2023 8:20 PM in response to pogslam

pogslam wrote:

I’m using MacBook Pro Late 2013 Retina running Big Sur 11.7.2 for this particular task. Trying to do the reinstall on an older iMac. It should work to create the USB, right?

Yes, it should work.


I've never seen those errors with the Sierra installer before. Either Apple has changed the installer since the last time we've tried it, or something else is going on. Have you tried making the USB while booted into Safe Mode in case you have some third party software installed which is interfering with the normal operation of macOS?


What happens when you try using Internet Recovery Mode? If you are booting into earlier versions of macOS installer, then you may need to adjust the system date to some time in 2017 since the certificates with those older online installers have expired and may produce several different errors.


Do you need macOS 10.12 Sierra instead of macOS 10.13 High Sierra? High Sierra should be much easier to work with to create a bootable USB installer.


What is the exact model of the Mac which needs macOS? If it can run macOS 10.11, then perhaps it would be easier to create a macOS 10.11 USB installer. Once macOS 10.11 is installed, you can just perform a normal OS upgrade to 10.12. Not a direct method, but it may be easier than trying to figure out issues related to creating a bootable 10.12 USB installer (especially if Apple has modified the installer and introduced new unknown issues with it).


Aug 1, 2023 7:10 PM in response to pogslam

Ignore the SSD part for our purposes...


What you need to do is make a bootable USB stick using the Install macOS Sierra.app and the createinstallmedia command

in Terminal.


Put the Install macOS Sierra.app back into your Applications folder.


Open Terminal (Applications/ Utilities) now copy and paste this command into the Terminal window,



sudo plutil -replace CFBundleShortVersionString -string "12.6.03" /Applications/Install\ macOS\ Sierra.app/Contents/Info.plist


press return

enter your password

press return


Now paste in the createinstallmedia command for Sierra where MyVolume can be replaced with the name of your USB stick


If your USB name has more than one word separated by spaces you would need to type it in as


/The\ USB\ Name



sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app


press return 

follow the prompts


When that is done you will be able to boot to the USB stick and install Sierra.


Restart your mac while pressing and holding the option/ alt key.

After a couple of minutes you will see the Startup Manager, select the bootable USB, press Return.

The mac will boo to the USB you should see a Utilities panel, select Install OS, press Continue.

The installer should start up follow the prompts and when asked choose the SSD for the installation.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to Create Sierra USB Bootable Disk

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.