createinstallmedia: command not found

My OS now is Sierra, I want to create a bootable installer for "EI Captian".


I use the command below, and it turns out "sudo: /Applications/Install OS X EICaptian.app/Contents/Resources/createinstallmedia: command not found".


sudo /Applications/Install\ OS\ X\ EI\Captian.app/Contents/Resources/createinstallmedia --volume /Volumes/Captian --applicationpath /Applications/Install\ OS\ X\ EI\Captian.app --nointeraction



The same happened when I intend to create a bootable installer for "Sierra". (Once I thought it may not be allowed to create a lower version OS installer on a higher OS ?! )


So, how can I solve it?! I want to create a bootable installer on my "Sierra".

MacBook Air (13-inch, Early 2015)

Posted on Nov 17, 2016 4:05 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on May 11, 2017 6:39 PM

Hi,

My apologies for not specifying that command. Type this in a terminal window:


sudo chmod u+x /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia

22 replies
Sort By: 

May 9, 2017 1:02 AM in response to Midori2

Hi!

I had this exact same problem, I kept getting "command not found" no matter what I did. I finally got it to work by changing the permissions of the createinstallmedia program to u+x, i.e. owner executable. Hope this helps someone.

Reply

Jul 2, 2017 9:32 AM in response to Midori2

Try this one Man. 100% worked.


sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Capitan --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app


Enjoy 🙂


Souphouta

Reply

May 13, 2017 8:09 AM in response to Midori2

COPY/PASTE the command, not type it.

/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia

You do that by clicking three times on the line to select the whole line, then "copy", then paste it in Terminal.

This command is correctly mentioned by Barney in his post above.

Reply

Nov 17, 2016 7:23 PM in response to keg55

Thank you very very very much for your answer! I just realized what a stupid mistake I have made... (>_<||)


But, I still get the same error when I followed your addvice?!!!


My volume is named Capitan. My "Capitan" is right in the "Application Floder" and named "Install OS X EI Capitan".

User uploaded file

I coped the command of yours.

User uploaded file

Still, not right. I just don't konw what's wrong with it... - -

Reply

Nov 18, 2016 4:20 AM in response to Midori2

Not sure what's happening.


Open your Applications folder. Right click on your Install OS X El Capitan.app file, choose Show Package Contents and expand the folders for Contents, Resources and see if the createinstallmedia file is in Resources.


User uploaded file

Reply

May 12, 2017 1:38 AM in response to grero

Hi, I'm running macOS Sierra (macbook pro) and want to create a usb boot with Mavericks.

Mavericks.app is under the application folder.



Sudo / Applications / Install \ OS \ X \ Mavericks.app/Contents/Resources/createinstallmedia --volume / Volumes / MyVolume --applicationpath / Applications / Install \ OS \ X \ Mavericks.app



But gets error "command not found"

Reply

Nov 17, 2016 7:08 AM in response to Midori2

You have El\Captian in your sudo command instead of El\ Capitan with a space after the \. Just fix those 2 misspellings/spacing and try again. Make sure El is E L not E I(eye).


Yours:

sudo /Applications/Install\ OS\ X\ EI\Captian.app/Contents/Resources/createinstallmedia --volume /Volumes/Captian --applicationpath /Applications/Install\ OS\ X\ EI\Captian.app --nointeraction

Should be:

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Capitan --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

For Sierra it should be (make sure your external volume name is Sierra for the following to work):

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

Reply

Nov 18, 2016 6:26 AM in response to keg55

Are you trying to do this locally or remotely?


Your screenshot of your Terminal command looks like you're using ssh remotely. If that's the case, make sure the Install OS X El Capitan.app file is in the remote Mac's /Applications folder and spelled correctly. I have always created these locally.

Reply

Nov 22, 2016 8:25 PM in response to keg55

Thanks again!!! My createinstallmedia is just in the right place when I checked as you said. Every files seemed just right. I did not do anything to change them though.


I have tried everything those past days. Use command, use tools as guys mentioned in other answers.

But, none of them succeed...neither on my mac mini in my company and my MacBook air...


I even bought a new flash driver this morning.I used command to create a installer, and I got "Error erasing disk error number(-69888,0)". I used "DiskMaker X 6" , I got "This disk could not be created because of an error: An error occurred:-10006".

(Can't upload a image, don't know why.)


Maybe something wrong with my current OS? Maybe I just cannot make a installer from my "Sierra"?


...by the way, my Mac mini can't be use now, thanks to myself... - -||

Reply

May 13, 2017 6:04 AM in response to Jorge-RR

Sudo / Applications / Install \ OS \ X \ Mavericks.app/Contents/Resources/createinstallmedia --volume / Volumes / MyVolume --applicationpath / Applications / Install \ OS \ X \ Mavericks.app

If that is the exact command you used, then it will fail as you have put spaces in front of every escape character (\)

There should be no space before the escape character ( \ )

If you copy and paste from the link I posted above, it will be formatted correctly.

Reply

Jul 2, 2017 9:35 AM in response to Midori2

@Midori2. Try this one. 100% worked.

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Capitan --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app


(your USB must name:Capitan)


Peach,


Souphouta 🙂

Reply

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.

createinstallmedia: command not found

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