createinstallmedia: command not found

I'm not asking a question but sharing my experience since upgrading to Sonoma and burning my hands every time I take the MacBook Pro out of my backpack. Also when I press the "any key" it no longer wakes up from screen saving mode. Oh yeah, all my LT2P VPN connections into Windows boxes have distorted or pixelated video especially when moving the mouse/touch pad.


I'm going back to Ventura and wanted to make a bootable USB. (I do this once every 5 years and couldn't remember the procedure.) There are plenty of Terminal commands out there to research and I too struggled to get it to work. This is what I ended up doing. I download Ventura from the App Store and it saved to the Applications folder. (Be patient, it's like 12Gb and can take an hour) I renamed the file name, "Install macOS Ventura.app" to just Ventura.app to avoid syntax issues. You can do this in the GUI with a Right Click or in Terminal with the MV command.


Insert your USB and open Terminal. CD into Volumes and do a "ls" (el S) and you need to get the volume name of the USB. In this example, the name was listed as RokhyUSB. Next change into Applications. (cd /Applications) Confirm you're in there with a PWD.


The command I use: sudo Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/RokhyUSB

Guess what? It worked! This is what you'll see:


Ready to start.

To continue we need to erase the volume at /Volumes/RokhyUSB.

If you wish to continue type (Y) then press return: Y

Erasing disk: 0%... 10%... 20%... 30%... 100%

Copying essential files...

Copying the macOS RecoveryOS...

Making disk bootable...

Copying to disk: 0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100%


I hope this helps someone.

MacBook Pro 13″, macOS 14.3

Posted on Feb 14, 2024 11:52 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 14, 2024 1:43 PM

FWIW, I’d usually suggest quoting the file spec this way:

sudo "/Applications/Install macOS Ventura.app/Contents/Resources/createinstallmedia" --volume /Volumes/MyVolume


Be cautious which quote characters are used, too. The shell expects the vertical (straight) quote and double quotes, and not the angled quotes.

Similar questions

4 replies
Question marked as Top-ranking reply

Feb 14, 2024 1:43 PM in response to WMCI20

FWIW, I’d usually suggest quoting the file spec this way:

sudo "/Applications/Install macOS Ventura.app/Contents/Resources/createinstallmedia" --volume /Volumes/MyVolume


Be cautious which quote characters are used, too. The shell expects the vertical (straight) quote and double quotes, and not the angled quotes.

Feb 14, 2024 12:18 PM in response to WMCI20

A lot of users find the Terminal commands error-prone or even baffling.


if you DON'T rename the installer,

DO make sure the Installer is in the /Applications folder,

Name your USB stick exactly MyVolume...


...you can COPY the command from the article

(be sure to triple-click to get the ENTIRE command from the article) then

PASTE with NO modifications to the Terminal command prompt:


Create a bootable installer - Apple Support


.



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.

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