You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Well I to am in the land of the lost and “command not found”. I did review the solutions prior to posting my query. That said, Mac OS Mojave 14.6, running on a Mid 2012 Mac Pro. The OS has been reinstalled. All software updates are current.

I have a metal supported GPU (Radeon RX 580). Attempting to create a bootable installer for MacOS Mojave 14.6 to be deployed on a USB 16 gig flash drive (MyVolume). Installer(s) are downloaded via the Apple website to my applications folder. Current status as follows:


Last login: Fri Jan 20 19:16:03 on ttys000

admins-Mac-Pro:~ admin$ sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Password:

sudo: /Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia: command not found

admins-Mac-Pro:~ admin$ 


Please advise. Forever grateful for your time, expertise and thoughtful consideration regarding my “command not found” issue. Thank you kindly Apple Support Community,


Leonard Zangs

Posted on Jan 20, 2023 5:36 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2023 6:25 PM

That USB-stick maker procedure reaches into the incoming macOS Mojave Installer package (REQUIRED to be sitting in your current /Applications folder) and executes the binary inside it that produces the USB-stick.


command not found probably means the thing named "Install\ macOS\ Mojave.app" in not in the right place our does not have the right name.


--------

wait, now that I cut and pasted it I see another problem. those are not supposed to be vertical bars inside the name. They are supposed to be backslashes, used as escape characters around embedded spaces.


NB>> if you name your incoming USB stick exactly MyVolume, you can copy and paste the very long Terminal command from the article directly into the Terminal window, without having to change anything.


How to create a bootable installer for macOS - Apple Support


Create a bootable installer for macOS - Apple Support


Similar questions

11 replies
Question marked as Top-ranking reply

Jan 20, 2023 6:25 PM in response to leonard1956

That USB-stick maker procedure reaches into the incoming macOS Mojave Installer package (REQUIRED to be sitting in your current /Applications folder) and executes the binary inside it that produces the USB-stick.


command not found probably means the thing named "Install\ macOS\ Mojave.app" in not in the right place our does not have the right name.


--------

wait, now that I cut and pasted it I see another problem. those are not supposed to be vertical bars inside the name. They are supposed to be backslashes, used as escape characters around embedded spaces.


NB>> if you name your incoming USB stick exactly MyVolume, you can copy and paste the very long Terminal command from the article directly into the Terminal window, without having to change anything.


How to create a bootable installer for macOS - Apple Support


Create a bootable installer for macOS - Apple Support


Jan 24, 2023 7:10 AM in response to leonard1956

if you have a Mac of comparable age, you use this article to access the downloads of MacOS:


How to download macOS - Apple Support


if you Mac is mostly running, in most cases you can re-install MacOS of the same version right in place, without disturbing anything, PROVIDED your disk is not weak. Since over 350,000 files will be re-written, a trusted backup is Prudent.


The process uses the recovery partition on the drive, and is accessed through Command-R. at startup:


How to reinstall macOS - Apple Support




.



Jan 21, 2023 1:09 PM in response to Grant Bennet-Alder

Good afternoon Mr. Bennet,


first things first, please excuse me if I did not get the right configuration regarding your name/last name. My apologies. Secondly, thank you for your responsive correspondence. Thirdly, I just wanted to be sure that I am accurately interpreting your reply and please understand this isn’t in anyway a slight on your part concerning what your reply communicates. That said….


I downloaded the Mojave OS (macOSUpdCombo10.14.6.dmg) one more time. Upon which landed in donwnload folder which hasn’t been the case previously. Usually the OS ends up in the app folder. The installer package created from the .dmg has been placed into the applications folder. Here lies the crux of my inquiry.


So the “macOSUpdCombo10.14.6.pkg” file can be manipulated via cut, paste and replace extension etc. to read “Install/ macOSUpdCombo10.14.6/ Mojave.app” OR “Install/ macOS/ Mojave.app”. I’m assuming, as indicated in your correspondence that the “Install/ macOS/ Mojave.app” is the correct format for the installer. Please advise.


Also, a space after each back slash is also part of the necessary protocols for creating the USB bootable OS installer. USB flash drive is and has been labled exactly MyVolume. I have performed  this technique on several occasions successfully. This time not so much. 


Thank you kindly for your patience and your support,


Leonard

Jan 29, 2023 5:38 AM in response to Grant Bennet-Alder

Good morning Mr. Bennet,


Thank you once again for your patience, expertise, and priceless ability to keep the faith. I have made some progress. Created a bootable macOS USB drive using the terminal. A 2013 MacBook Pro enabled me to download the proper Mojave OS. Though, attempting to boot the MacPro (mid-2012) with the USB drive failed no matter what key command I used at startup. I tried the Option key at startup, the Command-R keys, Command Option Shift delete keys, Command Option-R, etc. Keep in mind when using the Key Commands ....this MacPro failed to startup at all when executing these key commands. Of course, this negated booting from the recovery partition (Base System). Disk Utilities and a Re-install of Mojave plus updates all proved to be fruitless, though the mental anguish was flourishing. And yes the SSD could possibly be an issue, though the Disk Utilities are not indicating any issues with the internal drive. Even so, I have reservations concerning its performance. I’m kind of curious to see what happens if I install a Brand new drive. Anyway, I did mention that I’ve made some progress right......


This dilemma prompted me to use a 3rd party disk utility that installs/creates a partition for its recovery drive. Once the installation was successful it immediately prompted me to choose a startup disk......you guessed it...... there it was the bootable macOS Mohave USB installer that was created using the terminal. Thus the clean install did ensue. The capacity to boot from alternate disks, both internal and external has been restored as a result.


ATTENTION: My apologies regarding editing concerns for my previous post (01/12/24)

01/22-23/23

my Mid 2012 Mac Pro was running Mac OS Mojave 14.6 when purchased it last year. While the OS has been “reinstalled” and OS software updates are current, an erase and a fresh OS install will be of benefit for measuring the performance impact potential of future hardware upgrades. It needed a LOT more than that after UPS got thru with it. It took me 2 plus months to get that debacle ironed out. Another story for another time. Doesn’t look good in these pics but this MacPro seemed to be in good working order even with all its dents, bumps, and bruises. The enclosure has been replaced and the CPUs have been upgraded. A work in progress.


Thank you kindly for all your support, Mr. Bennet. Ever grateful for the responsive feedback!

Jan 21, 2023 1:21 PM in response to leonard1956

To make a USB-stick Installer, you can NOT start with a Combo update. Combo update does not contain ALL the parts to be bootable, so it can not possibly work to make a fully bootable USB stick.


You need the full installer, which last I checked is over 6 GB in size.

It needs to be located in the /Applications folder, and named exactly as the script says:

Install MacOS Mojave.app

Jan 24, 2023 6:52 AM in response to Grant Bennet-Alder

Good morning Mr.Bennet, 


Forgive me this is yesterday’s news. I live in Cincinnati and was a little distracted with Sunday’s sporting event.....My communique, may it be a day late, will reveal why the wheels have falling off the wagon and how this kid ended up in the land of the lost and “command not found”. And even more so, answer your question, “why do you want Bootable USB stick installer of Mojave”?


01/22-23/23

my Mid 2012 Mac Pro was running Mac OS Mojave 14.6 when purchased last year. While the OS has been “reinstalled” and OS software updates are current, an erase and a fresh OS install will be of beneficial for measuring performance impact potential of other hardware upgrades. It needed a LOT more than that after OPS got thru with it. It took me 2 plus months to get that debacle ironed out. Another story for another time.


If you recall I was in pursuit of a bootable full version of Mojave that oddly enough didn’t play out so well. I found update versions, update combo versions, supplements, etc. No luck accessing a full version installer of Mojave and for what ever reasons, it felt like I was chasing a ghost. Eventually the mystery was resolved but, for a minute the quest/search was futile. So now I'm thinking this is reminding me of another “command not found” kinda thing if you will..... My suspicion was that Safari may some how be corrupt. With that in mind, I deployed the FireFox browser. In the process/attempt to sync the browser bookmarks I discovered issues with the library content. The .plist files required to sync bookmarks with the two browsers the required .plist files were missing. A closer exam of the both library and system library content was looking sketchy. While most all folders were present within the libraries the content within the folders wasn’t always complete and a lot of the file titles were rendered w/gray type instead of black.. didn’t appear to have a recovery disk either??…… So ….I have a bootable version of High Sierra on a USB flash drive. Now it’s a matter of erase and replace the inadequate Mojave OS with High Sierra in order to.... in theory, allow me to access a full version of Mojave. Two attempts to boot w/the USB lnstaller/two different key commands ...Nothing/NADA/zilchhhh. ..........dead. Awesome failure.......outstanding!!! why???? The finder is Corrupt. Once again.......... drum roll..A corrupt finder....An excellent reason the “command not found” error was terrorizing me. I booted a 2013 MacBookPro with the High Sierra bootable USB flash drive. Performed a search that revealed a carousel of full versions of Mojave. It’s not over yet. To be continued.

Well I to am in the land of the lost and “command not found”. I did review the solutions prior to posting my query. That said, Mac OS Mojave 14.6, running on a Mid 2012 Mac Pro. The OS has been reinstalled. All software updates are current.

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