

I also suggest you cut and paste the command from the terminal rather then adding a screen capture. To see if anything strange is coming up between the last o in nano and the first / You can also try something likeĮcho 'sudo nano /private/etc/hosts' | od -c In this case because of the quotes around nano and /etcĪs you have included a screenshot there is no way to see just what exactly is going on. In the second command the error message is similar to what you get, the whole line is trying to be run. Nottice in the first line the command foo is not found and that way is reported. That is the shell is trying to find a command called 'nano /private/etc/hosts' 100%Įrror: Error Domain=NSCocoaErrorDomain Code=512 "“SharedSupport.dmg” couldn’t be copied to “SharedSupport”." UserInfo=The copy of the installer app failed.The problem isn t that the command nano is not found, if that was the case the error message would be If you wish to continue type (Y) then press return: YĮrasing disk: 0%. To continue we need to erase the volume at /Volumes/target.


Sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia -volume /Volumes/target I have gotten the same error twice, the log from the Terminal is:
#Mac terminal bash sudo command not found install#
I would delete the installer, I would empty the trash, I would re-download the installer via the Terminal.app as posted above by Barney-15E.Ĭreation of bootable USB drive for OS install failing Following the instructions in I tried to create a bootable USB drive to re-install Monterey once I reformat my hard drive. You are not logged into your Admin/User account īut simply the command can not be completed-so I would expect a corrupted installer(?) I've read somewhere it could be a problem with my PATH, and I remember I did changed something on the PATH variable while doing some installations but I can't. But once I do that all the commands stop working rootip-172-31-33-121 ec2-user yum bash: yum: command not found. So the command line is correct.not the " command not found". To become a root user now on my server I have to type sudo su. Your command line looks correct I run the same command with no Installer in my Applications folder it reports exact same error. ad infinitumįor the record can you state the exact Mac.an Intel 16" MBP or a M1 16" MBP(?)Īnd the GB size of the Installer sitting in your Applications folder(?) Once I enter it, I get the following response: "sudo: /Applications/Install macOS Monterey.app/Contents/Resources/createinstallmedia: command not found"Įveryone replying here gets your post. The line I enter into Terminal is exactly as I copied it from the instructions on the Apple page: "sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia -volume /Volumes/MyVolume"Īfter I run the command, it asks for my password. Taking another suggestion from a response to my question, I have renamed my usb drive to "MyVolume". In my Applications Folder is the app "Install macOS Monterey.app".
