I have had no problem with MDS making bootable Big Sur installers, but as I showed in post#14 above, I couldn't make it work for Catalina.That is odd. I used it a few days ago to make 2 BS installers for my M1 MBA.
I have had no problem with MDS making bootable Big Sur installers, but as I showed in post#14 above, I couldn't make it work for Catalina.That is odd. I used it a few days ago to make 2 BS installers for my M1 MBA.
codesign -s - -f createinstallmedia
Sorry to necro but I found a solution, all that is required is to codesign the createinstallmedia binary
this can be done using this commandran from the Contents/Resources folder in the appBash:codesign -s - -f createinstallmedia
May I know how to put the codesign command in the command line? I tried this but did not work:Thanks, that works! For others who run into the same problem: before you can run that codesign command, you have to install XCode command line tools by running "xcode-select --install" in terminal.
codesign -s - -f createinstallmedia /Applications/Install\ macOS\ Catalina.app/Contents/Resources --volume /Volumes/[VolumeName]
That's incorrect: Big Sur is universal (i.e. there isn't two separate installers).
It's probably not working simply because he is trying to create installers on an M1 Mac for an OS that is only available in x86_64.
Thanks! I'll try it one of these days.rongying wrote:
"In the last two weeks I have been searching for ways to create an external bootable drive on my M1 Mac mini so I can reinstall my iMac 27"2013."
I don't own an m1 Mac, so I don't know if the advice I offer will work or not.
But it might be worth trying.
You need to download a FREE app named "Install Disk Creator".
You also need to get a copy of the OS version that's going to become your OS of choice for the iMac 27".
Then, see if Install Disk Creator will run on the m1 (again, I can't answer this because I don't have one).
If it WILL, it might still be able to create a bootable USB installer.
Again, no promises.
Having said that...
Doesn't internet recovery work on the 2013 iMac?
That's "command-OPTION-R" at boot. (This is different from the recovery partition).
I repair Macs, and thus I often need a bootable installer for various macOS versions. I just upgraded to an M1 Macbook Air, and it appears I'm no longer able to use the "createinstallmedia" command line app: it errors out on "Killed: 9":
The same is also true for El Capitan, Sierra, High Sierra, and Mojave. It does work for Big Sur.
I did some googling and "Killed: 9" refers to the program nog having a valid code signature. This can probably be circumvented by disabling the Mac's SIP, but doing so would stop iOS apps from working on the Mac in question.
I figured perhaps I have to re-download the installers, that Apple has updated the app signature. However, trying to do so results in the message "update cannot be found". I also tried it in Terminal:
On my wife's 2015, downloading 10.13.6 works immediately, as does createinstallmedia. I copied the installer from her computer to mine, and the same "Killed: 9" error remains.
He's not trying to make an installer for Big Sur. He already stated that he can do that. He's trying to make bootable installers for other versions as well.Try to download it over the AppStore, search there for Big Sur.
$cd /Applications/Install\ macOS\ Sierra.app/Contents/Resources
$codesign -s - -f createinstallmedia
$cd -
$sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app
Thank you this worked for me to create a Mojave installer using a M1 MacMini running Big Sur.Sorry to necro but I found a solution, all that is required is to codesign the createinstallmedia binary
this can be done using this commandran from the Contents/Resources folder in the appBash:codesign -s - -f createinstallmedia
cd /Applications/Install\ macOS\ Mojave.app/Contents/Resources/
Thank you this worked for me to create a Mojave installer using a M1 MacMini running Big Sur.
to clarify, that command has to be run inside the Contents/Resources folder in the Install macOS ### app. Meaning, do this first.
cd /Applications/Install\ macOS\ Mojave.app/Contents/Resources/
No the cd command, with its parameters, is run separate (on its own line and enter) and codesign is run separate.Do you run it as
cd /Applications/Install\ macOS\ Mojave.app/Contents/Resources/codesign -s - -f createinstallmedia ?
It is installing to my USB now. Hopefully I can boot off of this!No the cd command, with its parameters, is run separate (on its own line and enter) and codesign is run separate.
cd /Applications/Install\ macOS\ Mojave.app/Contents/Resources/
codesign -s - -f createinstallmedia
So rare to find a solution stashed away on a second page of the thread, but I'll take it.Sorry to necro but I found a solution, all that is required is to codesign the createinstallmedia binary
this can be done using this commandran from the Contents/Resources folder in the appBash:codesign -s - -f createinstallmedia
cd /Applications/Install\ macOS \ Catalina.app
find . -type f -exec codesign -s - -f "{}" \;
I created my MacRumors account just to reply to this. You're my hero. I work in a repair shop and frequently need to make USB installers for customers' devices, usually older ones that run macOS too old for the M1 Macs to run, and therefore, create installers for. Once I got my M1 MBA, I realized the horror. It's been driving me crazy for a long time. You saved my butt, so thank you. The one without your extra stuff didn't work on Catalina as you said, and that's the macOS version I'm working with today. So thank you.Code-signing the "createinstallmedia" executable works on some versions, but others (I'm testing Catalina at present) throw code signing errors on a bunch of other files. The easiest fix is to code sign everything in the installer:
Code:cd /Applications/Install\ macOS \ Catalina.app find . -type f -exec codesign -s - -f "{}" \;
It will take a few minutes, but then the "createinstallmedia" command should work without errors.
cd /Applications/Install\ macOS\ Catalina.app
find . -type f -exec codesign -s - -f "{}" \;
M1 (and all other Apple Silicon Macs) have additional codesigning/notarization/whatever requirements. Big Sur and newer adheres to this. Catalina and earlier does not. This also applies to createinstallmedia and startosinstall, both of which will have difficulty executing on an M1 Mac even with Rosetta 2 in tow.Hi. I failed to create a Catalina installer on my M1 mac either but managed to create an El Capitan one via the Terminal.
I guess it's something with the Catalina OS itself. My mom's MacBook Pro is still Snow Leopard which cannot be upgraded directly to Catalina using the App Store. App Store says you must upgrade to Mavericks first and then step by step to Catalina.
Thanks man, this works!Code-signing the "createinstallmedia" executable works on some versions, but others (I'm testing Catalina at present) throw code signing errors on a bunch of other files. The easiest fix is to code sign everything in the installer:
Code:cd /Applications/Install\ macOS \ Catalina.app find . -type f -exec codesign -s - -f "{}" \;
It will take a few minutes, but then the "createinstallmedia" command should work without errors.