Command not found on createinstallmedia

I use the following command to create a boot disk and get the command not found error...


sudo /Applications\ macos\ "Install macOS High Sierra".app/Contents/Resources/createinstallmedia --volume /volumes/USB20FD


Note, "Install macOS High Sierra".app is not in the Install directory, but in the Applications directory


Does the boot disk have to be created from the command line? Is there a GUI way to do this?


Thanks for any suggestions.


Kristin

MacBook Pro 17", 10.12

Posted on Jan 25, 2019 10:52 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 26, 2019 9:34 AM

Created a High Sierra boot disk with diskmakerx.com. Thank you.


Funny thing, the full installer was on my ailing MBP that I had connected via Target Disk mode to the working MBP that only had the stub. Diskmakerx pulled the full installer from the Target Disk (my sick MBP) to make the USB boot disk.


While this worked, sadly my early 2011 15” MBP still won’t boot, gets stuck on white/gray screen & when connected to an external monitor (our TV via an HDMI to Thunderbolt cable), I get green bars & green solid.


Does this mean that the whole logic board needs to be replaced or just a graphics card? Not sure about the internals. I’ll ask this question separately.


Thanks again Leroy & Barney for your help.


Kristin

16 replies
Question marked as Top-ranking reply

Jan 26, 2019 9:34 AM in response to Kristin620

Created a High Sierra boot disk with diskmakerx.com. Thank you.


Funny thing, the full installer was on my ailing MBP that I had connected via Target Disk mode to the working MBP that only had the stub. Diskmakerx pulled the full installer from the Target Disk (my sick MBP) to make the USB boot disk.


While this worked, sadly my early 2011 15” MBP still won’t boot, gets stuck on white/gray screen & when connected to an external monitor (our TV via an HDMI to Thunderbolt cable), I get green bars & green solid.


Does this mean that the whole logic board needs to be replaced or just a graphics card? Not sure about the internals. I’ll ask this question separately.


Thanks again Leroy & Barney for your help.


Kristin

Jan 25, 2019 3:40 PM in response to Kristin620

Try the command exactly as presented in the Apple support article. Mixing posix path with quoted paths may not work (I can’t test right now).


Also, Apple has begun sending a “stub” installer to systems that are not currently running that OS. The stub installer just initiates the install from the internet. You can’t make a boot drive from the stub. If the installer app isn’t 5-6GB, then you have the stub.

Jan 25, 2019 2:04 PM in response to Kristin620

Once you run the installer it is removed / deleted from the Applications folder. 


You can download it again if you wish. 


Imperative you quit the installer if it launches. 


There it will sit in the Applications folder; the title of the app is “ Install macOS High Sierra.app”


search by by name or recently modified.


Sent from my iPhone


On Jan 25, 2019, at 1:44 PM, Apple Support Communities <noreply@apple.com> wrote:

Apple Support CommunitiesKristin620 has posted in the macOS High Sierra community.Command not found on createinstallmediaJust tried this...
sudo /Applications/Install\ macOS\ "Install macOS High Sierra".app/Contents/Resources/createinstallmedia --volume /Volumes/USB20FD

And got “command not found”.
To post a reply, go to the discussion in Communities.               You are receiving this email from Communities. You can change your email preferences in your Communities Profile. Please expect a slight delay in visibility of points awarded.TM and copyright © 2019 Apple Inc. One Apple Park Way, Cupertino, CA 95014.All Rights Reserved | Privacy Policy | Terms of Use | Apple SupportThis message was sent to you from an email address that does not accept incoming messages.
Any replies to this message will not be read. If you have questions, please visit support.apple.com/contact.


Jan 25, 2019 11:03 AM in response to Kristin620

<< sudo /Applications\ macos\ "Install macOS High Sierra".app/Contents/Resources/createinstallmedia --volume /volumes/USB20FD

>>




That command line does not look right for createinstallmedia

compare the following—of course include your correct drive name like above USB20FD


(copy and paste, or scroll to see the entirety of the command below)


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




you can try https://diskmakerx.com/ I have never used it , however it is often referenced

Jan 25, 2019 1:37 PM in response to leroydouglas

Thanks Leroy.


I’m happy to make a Sierra or High Sierra boot disk. I was unable to find a way to get the Sierra.app installer. “Install High Sierra”.app is in the root of the /Applications directory.


I’ve now upgraded the MBP from which I am trying to create the book disk to High Sierra. The “Install High Sierra”.app is in the /Applications directory. There is no /Applications/Install directory. Or am I misunderstanding and Install is not a directory but a command? I will try it this way.


Thanks for the suggestions!

Jan 25, 2019 3:27 PM in response to leroydouglas

The file is there in the /Applications directory & still getting the “command not found”.


But, it just occurred to me that I may be able to install High Sierra to my ailing MBP using Target Disk Mode from a working MBP that we have. I’ll try that next before trying to create a USB boot disk. But strange that those commands, provided by Apple, do not work.


Thanks for the thoughts!

Jan 25, 2019 10:33 PM in response to Barney-15E

Thank you Leroy & Barney.


Perhaps my quotes are in the wrong place? Instead of “Install High Sierra”.app, it should be “Install High Sierra.app”?


Anyway, I’ve got Time Machine on a working MBP backing up the ailing MBP using Target Disk Mode & an external Passport drive.


Next I’ll try installing High Sierra from the working MBP to the ailing MBP also using Target Disk mode. Hopefully that will work and I can avoid the command line.


Thanks again!

Jan 26, 2019 6:51 AM in response to Barney-15E

Now I see what you were saying. The backslashes (posix path, I guess-- I need to look that up) are used instead of quotations in this command to denote spaces. Eureka!


So, I tried this...

sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB20FD


And got the following error... progress!

/Applications/Install macOS High Sierra.app does not appear to be a valid OS installer application.


My Install macOS High Sierra.app is only 22.7 MB, so must be the "stub" that Barney mentions above.


Is there any way to create an external boot disk?


I'll go look at diskmakerx.com.


Thanks!

Kristin

Jan 25, 2019 11:09 AM in response to Kristin620

Also note that Sierra (not High Sierra) is installed on this MBP. Does High Sierra need to be installed in order for this to work?


First you have to download the installer, quit the installer if it launches, it sits in your Applications folder.


ref: https://support.apple.com/en-us/HT201372



What bootable installer are you trying to make? Above you say High Sierra.


If you are trying to make a Sierra bootable installer, of course the syntax is different:

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





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 on createinstallmedia

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