Lion DiskMaker is a small application programmed with AppleScript that you can use with Mac OS X 10.6 or 10.7 to burn a DVD or build a bootable USB key from Mac OS X Lion's Installation programm.
What's New
Version 1.7:
4 GB USB thumb drive support for OS X 10.7.3 Lion (not tested with 10.7.4 yet). I had to cheat someway though : this is why the AdditionalSpeechVoices.pkg is NOT copied with on the thumb drive. However, you will be proposed to have this package copied on your Desktop after creating the drive.
Now you can use a volume without formatting the whole disk. So you can now a single partition on a big disk and Lion DiskMaker will not format the whole disk. You should use a dedicated thumb drive though…
A small bonus if you use a volume bigger than 4 GB : the disk will be visible in the Startup disk System Preference… if your disk was partitioned using GUID partition scheme
More localizations : Lion DiskMaker is now translated in Italian (thanks Nicola Castaman), German (thanks Johannes Huber) and simplified Chinese ((thanks Tommy Yang) !
No more timeouts if a dialog is left open and idle, woohoo !
Version 1.7:
4 GB USB thumb drive support for OS X 10.7.3 Lion (not tested with 10.7.4 yet). I had to cheat someway though : this is why the AdditionalSpeechVoices.pkg is NOT copied with on the thumb drive. However, you will be proposed to have this package copied on your Desktop after creating the drive.
Now you can use a volume without formatting the whole disk. So you can now more...
Not sure Platypus could do it right for me. However, I think I'll try to implement some of the AppleScriptObjC stuff which should help to create some progress bar. May arrive sooner or later :)
However, I noted one thing that seemed odd. It repartitions the target drive (yes the entire drive, as some have warned) using the Master Boot Record (MBR) partition scheme and then puts a Mac OS Extended (Journaled) volume onto it. You can verify this by checking the resultant installer using Disk Utility.
Since MBR is primarily a Windows PC partition scheme, I thought the "GUID Partition Table" (GPT) might be a more natural choice for an Intel Mac. So following is how to modify Lion DiskMaker 1.6.3, so that it uses GPT instead of MBR.
Warning: The developer of DiskMaker is obviously a pretty bright guy. And the program seems to work as it is. It may be that he had some reason for using MBR instead of GPT. Most new memory sticks come formatted MBR. And I've noticed that sometimes you get an initial error from Disk Utility when reformatting them. But a second attempt typically succeeds. In any case, I have not thoroughly tested this, so use at your own risk.
These instructions assume that Lion DiskMaker version 1.6.3 has been installed in your /Applications folder. If you have installed it in a different location, or are using a different version, the instructions may have to be adjusted accordingly.
Assuming that you have installed Lion DiskMaker
Make a backup copy of Lion DiskMaker in case this doesn't work for you.
Using AppleScript Editor, open the file at /Applications/Lion DiskMaker 1.6.3 Modified/Lion DiskMaker.app/Contents/Resources/Scripts/main.scpt
Note: This is a file inside of the Lion DiskMaker appliction.
Using AppleScript Editor's "Find" Command, replace "MBR" with "GPT". There should be two replacements. One is in a comment and one is in a shell script. Save the results.
This should now work as before, but will create a GPT partition scheme instead of MBR.
The developer explained why he uses MBR in a previous reply:
"Hello,
I am the developer. Lion DiskMaker does no magic but uses two tricks to allow using a 4 GB key :
1) Instead of using the Disk restore feature of Disk Utility (with asr), I use a simple file copy with ditto. The main problem of InstallESD.dmg is that the disk image itself is bad as it contains +200 MB of free space that ASR can't restore as it needs a bit more than 4 GB to restore.
2) The USB drive is partitioned as MBR instead of GUID, saving +200 . MB.
Don't forget that you can open the script with AppleScript Editor and analyze the code if you wish ;-)"
I am unashamedly a DiskMaker fan boy, so am indeed perplexed that I repeatedly fail with v1.6.2. I had no problems with v1.6.1 and wish I hadn’t mucked about with the new version.
The making process begins normally and is nearly complete, when I get the following error:
>>This disk could not be created because of an error. An error occurred: -10006. Finder got an error: Can’t set window “Mac OS X Lion Install Disk” to 128.< <
What am I dong wrong? I wrote the developer, but he has not yet had time to reply.
I just received a reply from the developer (that was fast):
“A few people complained about this bug. It is not easily reproducible. It may happen of the disc's window is not the front most one when LDM tries to "enhance" the window. However the disc will work. I'll see next week if I can do something about this.”
At least the issue is minor and a true fix is likely near-term.
Sorry Harv, I should have addresses that to the developer. Thanks, though, for replying with his response. I guess he wants to perfect it before releasing a new version.
Again, my mistake for addressing my comment to you — it was late, and I was nodding off.
Lion DiskMaker is a great little program. What it does, isn't rocket science, but it is still quite handy.
A few minor enhancements that would be nice include:
Support burning to external optical drives.
If you use it on an older Core 2 Dual Mac with one of those "combo" drives, then you need to use an external drive to be able to burn DVDs. But my experience was that Lion DiskMaker errored out in this condition.
Making the resultant DVD Auto Open
Most Apple installers will automatically open to a window showing you the installer. This is definitely a bit of polish and not necessary for functionality.
Making the Window Background Work
Apple seems to have provided a background image for the window. But it doesn't seem to work. Again, this is definitely polish, not necessary for functionality.
Don't shoot the messenger, but AFP548 seems to be saying that these are machine specific. See the article titled "Downloading Hardware Specific Lion Installers" at the following URL:
If AFP548 is correct, then these really aren't general purpose installers. They are sort of replacements for the machine specific installers that used to come bundled with our Macs. So, just to be sure, you may need to make a separate one for each model of Mac that you have and label them accordingly.
Or is this just a scam to get us to all run out and buy Apple's "OS X Lion USB Thumb Drive" at $69 each? Maybe, hopefully, those will actually work for all models. (At least until the next new model ships ;-)
I'm somewhat confused as to how this manages to squeeze the InstallESD.dmg file and all the other things needed onto a 4gb disk when a disk utility restore of the InstallESD.dmg file fails due to lack of space on a 4gb disk??
Is this script doing something clever or is it not putting everything onto the disk??
Am using an 8gb disk and disk utility restore of InstallESD.dmg file in the mean time.
Like the idea of this utility especially if I could use a 4gb drive and not waste so much of the 8gb one.
You need an 8 gig stick. The lion install is designed to fit on a DVD, not a 4 gig usb stick. I bought a 4 gig stick for Lion and while I was there I bought an 8 gig. Lucky I did as I needed the 8 gig stick!
That was the point of my post. You CAN use a 4gb stick with this utility. It creates what looks like a perfectly usable copy of the Lion install, though I have not tried it. A disk utility restore of the InstalESD.dmg image will NOT go onto a 4gb stick. My query what why were the 2 processes different.
I am the developer. Lion DiskMaker does no magic but uses two tricks to allow using a 4 GB key :
1) Instead of using the Disk restore feature of Disk Utility (with asr), I use a simple file copy with ditto. The main problem of InstallESD.dmg is that the disk image itself is bad as it contains +200 MB of free space that ASR can't restore as it needs a bit more than 4 GB to restore.
2) The USB drive is partitioned as MBR instead of GUID, saving +200 . MB.
Don't forget that you can open the script with AppleScript Editor and analyze the code if you wish ;-)
There are currently no troubleshooting comments. If you are experiencing a problem with this app, please post a comment.
Please login or create a new MacUpdate Member account to use this feature
Watch Lists are available to MacUpdate Desktop Members Upgrade Now
Download and auto-install
using MacUpdate Desktop. Save
time moving folders and cleaning-up.
Lion DiskMaker is a small application programmed with AppleScript that you can use with Mac OS X 10.6 or 10.7 to burn a DVD or build a bootable USB key from Mac OS X Lion's Installation programm.
+303
Xplicit reviewed on 20 May 2012
+9
myy'q reviewed on 11 May 2012
+20
It would be nice if there was a progress bar for the rsync process, and any other lengthy process of this script.
Perhaps take a look at Platypus (http://sveinbjorn.org/platypus)
Maybe wrap that into the program for these processes?
+1
Not sure Platypus could do it right for me. However, I think I'll try to implement some of the AppleScriptObjC stuff which should help to create some progress bar. May arrive sooner or later :)
+2
+14
However, I noted one thing that seemed odd. It repartitions the target drive (yes the entire drive, as some have warned) using the Master Boot Record (MBR) partition scheme and then puts a Mac OS Extended (Journaled) volume onto it. You can verify this by checking the resultant installer using Disk Utility.
Since MBR is primarily a Windows PC partition scheme, I thought the "GUID Partition Table" (GPT) might be a more natural choice for an Intel Mac. So following is how to modify Lion DiskMaker 1.6.3, so that it uses GPT instead of MBR.
Warning: The developer of DiskMaker is obviously a pretty bright guy. And the program seems to work as it is. It may be that he had some reason for using MBR instead of GPT. Most new memory sticks come formatted MBR. And I've noticed that sometimes you get an initial error from Disk Utility when reformatting them. But a second attempt typically succeeds. In any case, I have not thoroughly tested this, so use at your own risk.
These instructions assume that Lion DiskMaker version 1.6.3 has been installed in your /Applications folder. If you have installed it in a different location, or are using a different version, the instructions may have to be adjusted accordingly.
Assuming that you have installed Lion DiskMaker
Make a backup copy of Lion DiskMaker in case this doesn't work for you.
Using AppleScript Editor, open the file at /Applications/Lion DiskMaker 1.6.3 Modified/Lion DiskMaker.app/Contents/Resources/Scripts/main.scpt
Note: This is a file inside of the Lion DiskMaker appliction.
Using AppleScript Editor's "Find" Command, replace "MBR" with "GPT". There should be two replacements. One is in a comment and one is in a shell script. Save the results.
This should now work as before, but will create a GPT partition scheme instead of MBR.
+544
"Hello,
I am the developer. Lion DiskMaker does no magic but uses two tricks to allow using a 4 GB key :
1) Instead of using the Disk restore feature of Disk Utility (with asr), I use a simple file copy with ditto. The main problem of InstallESD.dmg is that the disk image itself is bad as it contains +200 MB of free space that ASR can't restore as it needs a bit more than 4 GB to restore.
2) The USB drive is partitioned as MBR instead of GUID, saving +200 . MB.
Don't forget that you can open the script with AppleScript Editor and analyze the code if you wish ;-)"
+46
Does that occur during the "burning" the DVD install disc or during the installation ?
+1
+1
+230
Harv reviewed on 01 Oct 2011
I just DL'd it and gave it a go. As for me, my previous problem is now resolved and all works as designed.
Bravo to all those who were so responsive and diligent, and making success look easy.
+2
+230
The making process begins normally and is nearly complete, when I get the following error:
>>This disk could not be created because of an error. An error occurred: -10006. Finder got an error: Can’t set window “Mac OS X Lion Install Disk” to 128.< <
What am I dong wrong? I wrote the developer, but he has not yet had time to reply.
+2
+230
“A few people complained about this bug. It is not easily reproducible. It may happen of the disc's window is not the front most one when LDM tries to "enhance" the window. However the disc will work. I'll see next week if I can do something about this.”
At least the issue is minor and a true fix is likely near-term.
Now, that’s great develop support!
+230
On 20 Sep, the developer advised that he thinks he may have found a solution; perhaps relating to:
Activating in Finder an option to show the full path of folders in windows, e.g., "/Volumes/Mac OS X Install Disk" instead of "Mac OS X Install Disk".
Since then, I have had no additional communication.
Again, my mistake for addressing my comment to you — it was late, and I was nodding off.
+8
+14
Paul Cook reviewed on 18 Aug 2011
A few minor enhancements that would be nice include:
Support burning to external optical drives.
If you use it on an older Core 2 Dual Mac with one of those "combo" drives, then you need to use an external drive to be able to burn DVDs. But my experience was that Lion DiskMaker errored out in this condition.
Making the resultant DVD Auto Open
Most Apple installers will automatically open to a window showing you the installer. This is definitely a bit of polish and not necessary for functionality.
Making the Window Background Work
Apple seems to have provided a background image for the window. But it doesn't seem to work. Again, this is definitely polish, not necessary for functionality.
Don't shoot the messenger, but AFP548 seems to be saying that these are machine specific. See the article titled "Downloading Hardware Specific Lion Installers" at the following URL:
http://www.afp548.com/article.php?story=getting-lion-installers
If AFP548 is correct, then these really aren't general purpose installers. They are sort of replacements for the machine specific installers that used to come bundled with our Macs. So, just to be sure, you may need to make a separate one for each model of Mac that you have and label them accordingly.
Or is this just a scam to get us to all run out and buy Apple's "OS X Lion USB Thumb Drive" at $69 each? Maybe, hopefully, those will actually work for all models. (At least until the next new model ships ;-)
http://store.apple.com/us/product/MD256Z/A
+3
Radar68 reviewed on 06 Aug 2011
Is this script doing something clever or is it not putting everything onto the disk??
Am using an 8gb disk and disk utility restore of InstallESD.dmg file in the mean time.
Like the idea of this utility especially if I could use a 4gb drive and not waste so much of the 8gb one.
+1
+3
+1
+3
I am the developer. Lion DiskMaker does no magic but uses two tricks to allow using a 4 GB key :
1) Instead of using the Disk restore feature of Disk Utility (with asr), I use a simple file copy with ditto. The main problem of InstallESD.dmg is that the disk image itself is bad as it contains +200 MB of free space that ASR can't restore as it needs a bit more than 4 GB to restore.
2) The USB drive is partitioned as MBR instead of GUID, saving +200 . MB.
Don't forget that you can open the script with AppleScript Editor and analyze the code if you wish ;-)
+2
Port-Royal rated on 14 Feb 2012
+15
Tommy_Gun rated on 02 Oct 2011
+2
Port-Royal rated on 25 Aug 2011
SwissMarco rated on 25 Aug 2011
+38
Shallowp rated on 06 Aug 2011
Marccc rated on 05 Aug 2011
-58
LizBo rated on 04 Aug 2011