sudo command not found - making external drive bootable

Joined
Jul 18, 2012
Messages
69
Reaction score
2
Points
8
I'm using the following command to make an external drive bootable but getting "command not found".

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

Can anyone see what's wrong?

I've named my device "MyVolume".
 
Joined
May 21, 2012
Messages
10,790
Reaction score
1,217
Points
113
Location
Rhode Island
Your Mac's Specs
M1 Mac Studio, 11" iPad Pro 3rd Gen, iPhone 13 Pro Max, Watch Series 7, AirPods Pro
Do you have the Install OS X El Capitan (app) in your Applications folder? It can't be a dmg file.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,800
Reaction score
2,152
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Are you using auto completion (by hitting the Tab key) to get the correct folder and command to execute? I want to make sure that you aren't just copying that command from someplace.

What happens when you type the following command?
Code:
which sudo
file [COLOR=#333333]/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia
[/COLOR]
 
OP
D
Joined
Jul 18, 2012
Messages
69
Reaction score
2
Points
8
Thanks guys - Just found out the installion file wasn't in Applications. Duh.
Thanks for the replies.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top