command not found, trying to create a bootable drive with Sierra for an older IMAC that has been wiped clean of OS

I have an older iMac that I somehow reformatted to ****. It has nothing left on it and I'm trying to create a bootable USB to see if I can get it to install the OS back on there. Any help? I've gone through the steps listed but I'm tying something wrong:


sudo  /Applications/Install\ OS\ X\ InstallOSsierra.dmg/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ InstallOSsierra.dmg

Posted on Oct 28, 2023 11:41 AM

Reply

Similar questions

7 replies

Nov 2, 2023 8:49 AM in response to Encryptor5000

The steps mentioned by @Encryptor5000 are definitely required, but it is missing another very important step as well since the macOS 10.12 Sierra installer is broken when it comes to creating a bootable USB installer. The extra step involves modifying one character in one to the installer's file. See the instructions in the following link on how to fix the Sierra installer once you follow @Encryptor5000's Steps 1-3:

https://discussions.apple.com/thread/251386184?answerId=252696531022#252696531022


Then after fixing the installer, you can proceed with Steps #4 & 5 from @Encryptor.


FYI, your 2011 Mac can run macOS 10.13 High Sierra as well. This would be the best option assuming you are not using some third party audio software which won't work on High Sierra.



Oct 28, 2023 2:20 PM in response to JoolaJen

Hi JoolaJen,


macOS Sierra comes in a disk image and must be unpacked before you can use it to create a bootable installer.


To unpack the installer:

  1. Open and mount the installossierra.dmg file.
  2. Double-click the installer package (.pkg) file inside the disk image.
  3. Follow the onscreen instructions to unpack and install the macOS Sierra installer into your Applications folder.
  4. Once the "Install macOS Sierra" app is in your Applications folder, use the command at the bottom in Terminal to create a bootable installer (based from your previous command).
  5. Enter your password when prompted in Terminal. Terminal won't show any characters as you type the password.


sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app

Oct 28, 2023 1:00 PM in response to D.I. Johnson

I have 2 iMacs. I have downloaded the OS file Sierra and put it on my good iMac in the apps folder and named it installossierra.dmg, I am on my working iMac. I opened the terminal to type in the command to format my usb drive that I can then plug into my old iMac and try to boot from and instal the OS. Does that make sense? Are you saying that my because I'm running a much newer OS on my new iMac that I cannot format the drive and upload the OS Sierra? If this is the case what can be done? I've exhausted every means of attempting to install an OS on this old Imac


Oct 28, 2023 2:05 PM in response to Tesserax

It’s a 2011 iMac that was running Sierra after the final available update for that old of a mac. It’s got nothing left to run recovery. I’ve somehow wiped it clean where the entire hard drive is free space.


I was just wanting to donate it because it still worked great and warned to reformat it to be certain none of my personal data would be left on it.

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.

command not found, trying to create a bootable drive with Sierra for an older IMAC that has been wiped clean of OS

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