Terminal command line

What is wrong with my terminal command: sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia/Volumes/64GBCruzerBlade/Applications/Install\ OS\ X\ El\ Capitan.app

I am on an ld MacPro 2008 running on Yosemite 10.10.5

Mac Pro, OS X 10.10

Posted on Jun 11, 2023 4:26 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 13, 2023 10:02 AM

As the command is posted here, you have no spaces between the command and its various options, plus you neglected to include the option flags "--volume" and "--applicationpath".


Here is an Apple article with the necessary instructions...just make sure to note the actual spaces between options:

Create a bootable installer for macOS - Apple Support


Here is the command from the Apple article:

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



Assuming your USB stick is named "64GBCruzerBlade" with no spaces in the name, then here is the command you should have used:

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


Make sure not to use any spaces in the name of the USB stick as that just makes things much more difficult & confusing.


FYI, in the future when posting Terminal commands it is best to use the "Code Insertion" tool whose icon looks like "</>" on the forum editing toolbar. This "Code Insertion" tool makes it much easier for us to read any Terminal commands & messages since characters & spaces are more legible due to a different font used by the Code Insertion tool. The command line is very unforgiving so it is important to be able to clearly distinguish each character including spaces.

2 replies
Question marked as Top-ranking reply

Jun 13, 2023 10:02 AM in response to SigiRNZ

As the command is posted here, you have no spaces between the command and its various options, plus you neglected to include the option flags "--volume" and "--applicationpath".


Here is an Apple article with the necessary instructions...just make sure to note the actual spaces between options:

Create a bootable installer for macOS - Apple Support


Here is the command from the Apple article:

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



Assuming your USB stick is named "64GBCruzerBlade" with no spaces in the name, then here is the command you should have used:

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


Make sure not to use any spaces in the name of the USB stick as that just makes things much more difficult & confusing.


FYI, in the future when posting Terminal commands it is best to use the "Code Insertion" tool whose icon looks like "</>" on the forum editing toolbar. This "Code Insertion" tool makes it much easier for us to read any Terminal commands & messages since characters & spaces are more legible due to a different font used by the Code Insertion tool. The command line is very unforgiving so it is important to be able to clearly distinguish each character including spaces.

Jun 11, 2023 4:40 PM in response to SigiRNZ

Sierra won’t install to SSD, thanks to Eau Rouge…

https://discussions.apple.com/thread/251358124?answerId=252770772022#252770772022


Open Terminal (Applications/ Utilities) now copy and paste this command into the Terminal window,


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


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.

Terminal command line

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