Installing create-dmg via Homebrew on macOS 10.5 fails with 'cmd not found' error

the cmd's for instaling create-dmg dont work i keep getting a cmd not found for shbrew the first operation to install create-dmg. I'm obviously new to the cmd line and trying to learn as I go using google-U, I can't understand why I'm getting this error, It toook me a while but I got homebrew installed sucessfuly (I can pull up the brew help menu though I don't know what to do with it. If someone can help me install create-dmg that would be great. If not if someone could point me toward something that I can use to burn a .iso file to disc while controling the size and shrinking it down while still keeping it looking enough like the origional that an old mac running 10.5 will recognize it. thanks



[Re-Titled by Moderator]

Original Title: I want to make a copy of macos 10.5 on to a dvd disc with create-dmg or some other option where i can control the size because I only havw 4.7g dvd discs and 10.5 is like 7.9g or something like that. I installed homebrew but the cmds dont work?

iPhone 12, iOS 18

Posted on Jul 22, 2025 11:09 PM

Reply
5 replies

Jul 23, 2025 11:13 AM in response to BeenHackedAgainuuyt

It has been a decade since I tried to make a bootable image of those old DVD installers (I think it was for 10.6). I think you can use Disk Utility to do so, but Disk Utility is not a great app for doing this. I never tried using CCC to make a bootable clone of a macOS installer DVD to a DMG archive.



BeenHackedAgainuuyt wrote:

the cmd's for instaling create-dmg dont work i keep getting a cmd not found for shbrew the first operation to install create-dmg.

For one, you need a space between "sh" and "brew". It would really help if you provided links to the utilities & formulas involved in addition to knowing your exact version of macOS being used with Homebrew.


And for you to post a screenshot of the Terminal window showing the actual command used and its output. You can also copy & paste that information from the Terminal window into the text editing window making sure to use the "Code Insertion" tool whose icon looks like a "</>" on the forum editing tool bar so that the code snippet is easier to read.


I'm obviously new to the cmd line and trying to learn as I go using google-U, I can't understand why I'm getting this error,

I highly recommend you review the basics of using the command line here:

https://scriptingosx.com/2017/07/first-steps-in-terminal/


FYI, you must be extremely careful when using the command line since there are absolutely no safety nets. I certainly hope you have a good backup. With the command line even a simple typographical error can have catastrophic results such as accidentally deleting all of your data on the drive. This mistakes can even happen to people with decades of command line experience. Plus you should always understand commands you are using....at least well enough to have a general idea what they will do. Do not trust what someone has posted since many times commands may be for a very specific instance which may not apply to you....or the command may need to be modified for your situation.


If not if someone could point me toward something that I can use to burn a .iso file to disc while controling the size and shrinking it down while still keeping it looking enough like the origional that an old mac running 10.5 will recognize it. thanks

Are you trying to create a DMG or ISO image of an existing OSX installer DVD as well?


Or do you already have a DMG or ISO image of such a DVD and just need to burn it to DVD?


Usually when you burn an ISO image to a disk, it will utilize the entire disc/disk whether CD/DVD or USB. At least with a USB stick it may be possible to use specialized utilities to attempt to use the space after the "burned" image (not sure if that is possible with any macOS utilities....I have done so using Linux though).


Is this for booting a PPC Mac or an Intel Mac?



Jul 23, 2025 11:50 AM in response to BeenHackedAgainuuyt

Are you trying to clone the MacOS installer disk?

More importantly, are you expecting this installer to work, after the fact?


If so, I can tell you now to stop wasting your time.


There is no utility in the world that can cram 7.9GB of MacOS Installer data (which is already compressed) onto a 4.7GB disc. You might be able to split the data across two discs, but it won't be functional in that way since the Installer app expects all the data to be on the same volume.


If, on the other hand, you're just looking to back up your MacOS 10.5 system, there are better options available.

Jul 23, 2025 06:41 PM in response to BeenHackedAgainuuyt

Assuming that you - as you indicate - have Homebrew installed correctly, the general way to use it is to open your Terminal and use the command:

brew

followed by whatever parameters or sub-commands are needed. So for example:

brew info create-dmg

will print out a bunch of info about that package.

brew home create-dmg

Will take you to the homepage of the project responsible for that package

brew install create-dmg

will install it into the standard Homebrew Cellar location on your system.


However, none of that will allow you to put a 7.9 GB DMG into a 4.7GB DVD. You might - might - be able to get away with it with a double-layer 8.5GB DVD...but you would be far better off trying to use a 16GB USB flash drive.




Installing create-dmg via Homebrew on macOS 10.5 fails with 'cmd not found' error

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