create El Capitan usb bootable

samjesse

macrumors newbie
Original poster
Oct 30, 2015
23
0
Hi
I downloaded the El Capitan and the USB is ready but the following terminal command is failing

host:~ user$ sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/elcapitaninstaller --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app –nointeraction

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
sudo: /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia: command not found
host:~ user$
 

KALLT

macrumors 601
Sep 23, 2008
4,921
3,003
Are you sure that the Install OS X El Capitan.app is in your /Applications directory? I think you also made a typo at the end. Arguments have to be preceded by two dashes ("--") for this command. There is no reason to append the nointeraction argument anyway, just leave it out.

Th check whether the path is correct, type the following into Terminal (it will return "Found" when it's there):
Code:
[ -f /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia ] && echo "Found" || echo "Not found"
 
Last edited:

Shirasaki

macrumors G3
May 16, 2015
9,418
3,434
Can you check your install image to see if that tool is there? Mine is there.
And no typo, no error on command. Yes.
 

samjesse

macrumors newbie
Original poster
Oct 30, 2015
23
0
Are you sure that the Install OS X El Capitan.app is in your /Applications directory? I think you also made a typo at the end. Arguments have to be preceded by two dashes ("--") for this command. There is no reason to append the nointeraction argument anyway, just leave it out.

Th check whether the path is correct, type the following into Terminal (it will return "Found" when it's there):
Code:
[ -f /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia ] && echo "Found" || echo "Not found"
Dock > Applications, I see the icon with the name under it "Install OS X El Capitan" without the .app at the end.
In a terminal, ls shows Applications but cd into it and ls again does not show "Install OS X El Capitan.app"
I am not sure where to go from here.
 

KALLT

macrumors 601
Sep 23, 2008
4,921
3,003
Dock > Applications, I see the icon with the name under it "Install OS X El Capitan" without the .app at the end.
In a terminal, ls shows Applications but cd into it and ls again does not show "Install OS X El Capitan.app"
I am not sure where to go from here.
Have you entered the command I posted? Maybe the download of the installer failed. Download it again from the Mac App Store if nothing else works.
 

CoastalOR

macrumors 68020
Jan 19, 2015
2,455
899
Oregon, USA
Dock > Applications, I see the icon with the name under it "Install OS X El Capitan" without the .app at the end.
In a terminal, ls shows Applications but cd into it and ls again does not show "Install OS X El Capitan.app"
I am not sure where to go from here.
Is USB thumb drive formatted Mac OS X Extended (Journaled) named elcapitaninstaller?

Here is an article on making a bootable El Capitan USB installer:
http://arstechnica.com/apple/2015/09/how-to-make-your-own-bootable-os-x-10-11-el-capitan-usb-install-drive/
Maybe try the free (donations accepted) DiskMaker X mentioned in the link.
 

samjesse

macrumors newbie
Original poster
Oct 30, 2015
23
0
Would downloading it again over writes the old file or I need to delete the old before re-downloading it.
 

CoastalOR

macrumors 68020
Jan 19, 2015
2,455
899
Oregon, USA
Would downloading it again over writes the old file or I need to delete the old before re-downloading it.
You need to remove the "Install OS X El Capitan" file from the Applications folder before the App Store Purchased section will let you download the full installer. You can remove "Install OS X El Capitan" by deleting it or move to some other location (my recommendation).
 

CoastalOR

macrumors 68020
Jan 19, 2015
2,455
899
Oregon, USA
How do I move it to other location?
Select the installer app, hold the command key, and drag the app to the location you want to move it. Check the Applications folder to see that the "Install OS X El Capitan" app is no longer in the Applications folder before you try to download it from the App Store.
 

CoastalOR

macrumors 68020
Jan 19, 2015
2,455
899
Oregon, USA
Errr drag it then delete the original???
My experience is that if I try to drag an app out of the Applications folder I end up with an alias of the app in the new location and the full app remains in the Applications folder. That is why I use the command key drag for a move.
 

samjesse

macrumors newbie
Original poster
Oct 30, 2015
23
0
I am not sure how to choose another location "Mac with Broken Finder" to move this Installer OX El Capitan to. I dragged it to the Trash but he terminal command "suggested by KALLT" shows Found still, and the icon still in the Applications group of icons.