Benches macOS

17

Command not found on createinstallmedia

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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

17 replies

Sign in or join Beachball Help to reply.

  1. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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 <[email protected]> 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.

  2. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

    You don't need quotes at all. But, I don't think that will solve it as I stated above.

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

  3. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

  4. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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?

    Thanks!

  5. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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
    

  6. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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!

  7. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Just tried this...

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

    And got “command not found”.

  8. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    And without the space before macOS

    still “command not found”

  9. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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 <[email protected]> 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.

  10. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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!

  11. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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.

  12. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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!

  13. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

    You don't need quotes at all. But, I don't think that will solve it as I stated above.

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

  14. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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

  15. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Does this mean that the whole logic board needs to be replaced or just a graphics card?

    The GPU is soldered to the board, therefore not replaceable independent of the CPU.

  17. 0

    Kristin620

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you.

    i found this workaround...

    https://apple.stackexchange.com/questions/267581/gpu-problem-boot-hangs-on-grey-screen/295805#295805

    It’s back up and working so far.