Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

High Sierra createinstallmedia: command not found

I want to reinstall my macOS, and I follow this website: Create a bootable installer for macOS - Apple Support.

However, I always get this error:

"sudo: /Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia: command not found".


Can anyone help me? Thanks.

Posted on Oct 19, 2017 6:35 AM

Reply
Question marked as Best reply

Posted on Mar 5, 2018 9:42 PM

I can't believe how complicated the instructions are for us the uninitiated. I have been trying to follow what seems to be simple instructions with no success for an hour. Finally, I realized that most of this can be done with drag and drop with the exception of typing sudo and --volume:

For High Sierra:

Make sure that you have downloaded the install macOS High Sierra app and that your boot media (usb key or external hard drive) is properly formatted to mount (that you see it on your desk top when you plug it in).

1) Bring up a new Terminal window by clicking on Launchpad, finding Terminal and clicking on it

2) Type "sudo" and a space

3) Open a finder window

4) Open Applications

5) Find "Install macOS High Sierra.app

6) Hold down the control key and click on the "install macOS High Sierra.app"

7) Click on "Show Package Contents"

8) Scroll down to "createinstallmedia" and drag and drop it into the Terminal window that you opened in 1)

9) Type "--volume" and a space

10) Drag and drop the boot media (usb key or external drive) into the Terminal window.

You will end up with the following:

sudo /Application/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/the name of your boot drive

11) Type the enter key to begin.

12) Enter the password when prompted

13) Enter "Y" when prompted.

14 replies
Question marked as Best reply

Mar 5, 2018 9:42 PM in response to lyzk

I can't believe how complicated the instructions are for us the uninitiated. I have been trying to follow what seems to be simple instructions with no success for an hour. Finally, I realized that most of this can be done with drag and drop with the exception of typing sudo and --volume:

For High Sierra:

Make sure that you have downloaded the install macOS High Sierra app and that your boot media (usb key or external hard drive) is properly formatted to mount (that you see it on your desk top when you plug it in).

1) Bring up a new Terminal window by clicking on Launchpad, finding Terminal and clicking on it

2) Type "sudo" and a space

3) Open a finder window

4) Open Applications

5) Find "Install macOS High Sierra.app

6) Hold down the control key and click on the "install macOS High Sierra.app"

7) Click on "Show Package Contents"

8) Scroll down to "createinstallmedia" and drag and drop it into the Terminal window that you opened in 1)

9) Type "--volume" and a space

10) Drag and drop the boot media (usb key or external drive) into the Terminal window.

You will end up with the following:

sudo /Application/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/the name of your boot drive

11) Type the enter key to begin.

12) Enter the password when prompted

13) Enter "Y" when prompted.

Oct 19, 2017 8:05 AM in response to lyzk

Your command line seems to be correct, but just to make sure:


1) You do see the "Install macOS High Sierra" application in your Applications folder, right?


2a) If you don't, then you need to download it again.

2b) If you do see it: control-click, choose Show Package contents, then navigate down to Contents, then Resources.

Do you see "createinstallmedia" in there?

Good. Drag it to an open Terminal window, then complete the command line and try again.

Feb 7, 2018 3:07 AM in response to lyzk

TWO POINTS TO NOTE:

  1. Ensure Apple gave you the complete Download as I have noticed somteimes instead of a 5GB file you have actually downloaded a tiny Symlink about 20mb. If this is the case delete and try again from the App Store.
  2. Your original Command is wrong - every time their is a space in a name you need to use a \ in Terminal if you don't know that simply copy and paste the code from Apple Official site and make necessary changes.

Oct 19, 2017 7:02 AM in response to lyzk

Use drag and drop for the last part and let Terminal fill in the correct name of the USB drive. So, first copy/paste this line into Terminal:


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


Make sure there's a space after --volume (this assumes you have not changed the name of the High Sierra installer, and it's still in the Applications folder).


Then grab the icon of the flash drive on the desktop and drop it into Terminal. The path to the drive will be filled in for you after "--volume ". Press enter to run the command, followed by your admin password.

Oct 19, 2017 7:45 AM in response to lyzk

You appear to be missing some more syntax after MyVolume which the link you provided is also missing for High Sierra. You can review the Sierra command to see what I'm talking about.


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

High Sierra 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 ID.