command not found: createinstallmedia

I'm trying to create a bootable installer for MacOS Sierra so I can install that OS on a volume I've created on my 1TB Fusion Drive. This is all on late 2015 iMac updated to Catalina. When I try the commands recommended in the Apple Support article HT201372 (all of which use the "create install media" command, Terminal responds "command not found: createinstallmedia". When I use the "man" command followed by "createinstallmedia", the response is "No manual entry for createinstallmedia".


Has the "createinstallmedia" command vanished from Terminal? Perhaps with the switch to the zsh shell?

iMac 27″, macOS 10.15

Posted on Dec 5, 2020 10:17 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 5, 2020 11:11 PM

No it should work, where did you get the Sierra installer app from

and are you using the correct Terminal command.


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


Did you download the InstallOS.dmg from the link provided in this article,

please use Safari whenever clicking on links.

How to get old versions of macOS - Apple Support

Scroll down to Download OS and click on macOS Sierra,

this will download InstallOS.dmg to your Downloads folder.

Open InstallOS.dmg to the InstallOS.pkg, open the .pkg

and you will see an installation window, this will create the

Install macOS Sierra.app you need to create a bootable USB

in your Applications folder.


When Apple released this version of Sierra they made a mistake in the coding that

will show an error when making a bootable USB.

The error will say Volumes/MyVolume (or whatever name you call your USB stick)

is not a valid mount point. As far as I am aware Apple has not bothered to fix this in over a year.


Use this workaround.


With Install macOS Sierra.app in your Applications folder open Terminal.


Paste in this command


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

Similar questions

4 replies
Question marked as Top-ranking reply

Dec 5, 2020 11:11 PM in response to kmcmichael

No it should work, where did you get the Sierra installer app from

and are you using the correct Terminal command.


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


Did you download the InstallOS.dmg from the link provided in this article,

please use Safari whenever clicking on links.

How to get old versions of macOS - Apple Support

Scroll down to Download OS and click on macOS Sierra,

this will download InstallOS.dmg to your Downloads folder.

Open InstallOS.dmg to the InstallOS.pkg, open the .pkg

and you will see an installation window, this will create the

Install macOS Sierra.app you need to create a bootable USB

in your Applications folder.


When Apple released this version of Sierra they made a mistake in the coding that

will show an error when making a bootable USB.

The error will say Volumes/MyVolume (or whatever name you call your USB stick)

is not a valid mount point. As far as I am aware Apple has not bothered to fix this in over a year.


Use this workaround.


With Install macOS Sierra.app in your Applications folder open Terminal.


Paste in this command


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

Dec 7, 2020 8:50 AM in response to kmcmichael

kmcmichael wrote:

Thanks Much!
Following your advice, I was able to finish creating the bootable installer for MacOS Sierra. Sadly, when I booted from it, it showed neither of the volumes on my internal hard drive. Not the main one on which Catalina is installed, nor the smaller one on which I hoped to install Sierra. Apple Support's only suggestion was to nuke the whole thing and start over.

macOS 10.13+ have changed the drive layout and file systems used on the boot drive so older operating systems like macOS 10.12 won't be able to work on (or with) an APFS formatted volume. While I know that macOS 10.12.6 itself is able to recognize an APFS volume the macOS 10.12 installer may not have this capability. You definitely do not want to install macOS 10.12 onto an APFS volume.

Dec 6, 2020 10:15 PM in response to Eau Rouge

Thanks Much!

Following your advice, I was able to finish creating the bootable installer for MacOS Sierra. Sadly, when I booted from it, it showed neither of the volumes on my internal hard drive. Not the main one on which Catalina is installed, nor the smaller one on which I hoped to install Sierra. Apple Support's only suggestion was to nuke the whole thing and start over.


I also tried all of the Recovery options. The simplest one, cmd-R offered to "Reinstall Big Sur." The others (Internet Recovery) never showed any any of the hard drive volumes.


Seems like the problem is with my iMac, but I don't think its worth nuking it since I can use an old MBPro running El Capitan to run 32 bit apps. Thanks again for your advice. I've learned a lot.

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.

command not found: createinstallmedia

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