segers909

macrumors regular
Original poster
Jun 7, 2009
202
11
Belgium
I think these third party tools simply provide a GUI for the createinstallmedia command, and that Apple would have to issue new versions of macOS installers (like they've done when the certificate thing broke), which include an updated createinstallmedia. I doubt they'll do it though.
 
Comment

Zaprit

macrumors newbie
Jul 14, 2020
1
3
Sorry to necro but I found a solution, all that is required is to codesign the createinstallmedia binary
this can be done using this command
Bash:
codesign -s - -f createinstallmedia
ran from the Contents/Resources folder in the app
 
Comment

dandeco

macrumors 6502a
Dec 5, 2008
534
282
Brockton, MA
This is another good reason for me to hold onto at least one Intel Mac, even if I start regularly using Apple Silicone Macs for the most part. Plus, I've taken an interest in collecting older Macs that will boot up and operate (since Macs are built to last), so this is good to know. Also at the electronics recycling/reselling warehouse I work at I often use a late 2009 21" iMac and have created bootable MacOS installers on it for when I work on Mac laptops we get from school districts and the like.
 
  • Like
Reactions: 4sallypat
Comment

segers909

macrumors regular
Original poster
Jun 7, 2009
202
11
Belgium
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.

Sorry to necro but I found a solution, all that is required is to codesign the createinstallmedia binary
this can be done using this command
Bash:
codesign -s - -f createinstallmedia
ran from the Contents/Resources folder in the app
 
  • Like
Reactions: 4sallypat
Comment

rongying

macrumors newbie
Jun 18, 2021
2
0
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.
May I know how to put the codesign command in the command line? I tried this but did not work:
Bash:
codesign -s - -f createinstallmedia /Applications/Install\ macOS\ Catalina.app/Contents/Resources --volume /Volumes/[VolumeName]
Sorry if I sound like a newbie, because I am indeed 😂 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.
 
Comment

Tech198

macrumors P6
Mar 21, 2011
15,888
2,142
Australia, Perth
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.

I like the detective work.. A better error message could have prompted that too.. Very much the same as when you ty and open exe files you get a popup "This is deigned on Windows"

However, the failed error it IS under Terminal, so i guess the expecttaton is understandable.
 
Comment

Fishrrman

macrumors Core
Feb 20, 2009
22,468
8,397
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).
 
Comment

rongying

macrumors newbie
Jun 18, 2021
2
0
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).
Thanks! I'll try it one of these days.
I tried both Recovery partition and Internet Recovery but could not reinstall Mac OS. No matter how many times I tried and format the disk, when I boot it always shows Recovery page.
 
Comment

haralds

macrumors 68000
Jan 3, 2014
1,927
695
Silicon Valley, CA
I've had problems with sticks being reused as installers of different versions. I usually erase and format in Disk Utility. That one often has trouble ejecting. Apple's stuff is buggy these days.
 
Comment

Fishrrman

macrumors Core
Feb 20, 2009
22,468
8,397
rongying wrote:
"I tried both Recovery partition and Internet Recovery but could not reinstall Mac OS. No matter how many times I tried and format the disk, when I boot it always shows Recovery page."

A VERY IMPORTANT STEP you might have overlooked.
a. Boot to INTERNET recovery
b. Open disk utility
c. GO TO THE VIEW MENU and choose SHOW ALL DEVICES.
NOW you can see the actual disk in disk utility.
 
Comment

Yebubbleman

macrumors 601
May 20, 2010
4,426
1,202
Los Angeles, CA
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.

I'd be curious as to whether or not you could run createinstallmedia from the older installers by doing so in Terminal running under Rosetta 2 instead of natively. It's good that code signing it worked. Though, dumb of Apple to not code sign their old installers. There's no reason why one ought to not be able to make bootable installers for older OSes on an Apple Silicon Mac.

Try to download it over the AppStore, search there for Big Sur.
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.
 
Comment

13rodie

macrumors newbie
Jul 2, 2021
1
0
I tried this today using the following commands and it did not work. I'm on an M1 mac mini running Big Sur but I also tried on my M1 macbook air running macOS Monterey Beta. They don't ask for a password or yes/no confirmation - I run the command and it just sits there giving no output.

$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

UPDATE: I finally got output from this, though I don't know what it means!
Update 2: Solution for my error is here: https://discussions.apple.com/thread/251386184?answerId=252696531022#252696531022
 

Attachments

  • Image 7-2-21 at 11.52 AM.png
    Image 7-2-21 at 11.52 AM.png
    105.8 KB · Views: 39
Last edited:
Comment

pshufd

macrumors 603
Oct 24, 2013
5,610
11,840
New Hampshire
I have four Intel Macs though one is so old that I don't think that it would be able to create a bootable installer. That still leaves me with three systems. I also routinely create macOS bootable installers on Linux using Sosumi, Simple-macOS-KVM, Docker-KVM, OSX-KVM. Those packages are designed to create macOS Virtual Machines without a Mac.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.