Save this as dmg2iso and run from the terminal:
if [ -z "$1" ]; then
echo "Usage: ${0##*/} <file>"
exit 1
fi
file=${1%.dmg}
hdiutil makehybrid ${file}.dmg -o $file
Save this as dmg2iso and run from the terminal:
This morning I needed to choose a hex color, but I didn’t have easy access to the Color Picker utility in Mac OS X. So I spent about 15 minutes creating a Color Picker.app utility and installed some plugins. Yes, you can install plugins for Color Picker.

Download Color Picker.app here.
Just drag to /Applications/Utilities/ and then you can find the Color Picker in Spotlight.
While you’re at it, make Color Picker more useful by installing these plugins:
Leopard users know how useful Quick Look can be, but using it from the command line is harder than it should be. After looking at other people’s solutions, I decided to write my own.
Besides saving on typing, this script has a few other advantages over the qlmanage command:
-t option.Feel like wasting several hours? Try installing Windows XP with Boot Camp 2.0 (the version released as part of Mac OS X 10.5 Leopard) using NTFS, the file system required for partitions larger than 32 GB. Then watch as it fails miserably, again and again.
Windows could not start because the following file is missing or corrupt:
<Windows root>system32hal.dll.
Please re-install a copy of the above file.
Sound familiar? You didn’t do anything wrong—this is actually Apple’s fault. Hal.dll, the “hardware abstraction layer”, doesn’t have any particular significance; it just happens to be the first file that Windows looks for as it’s loading. Attempting to replace this file with the copy on disk won’t work, and your boot.ini is probably fine.
So how do you fix it, then? The solution is a bit involved, but not too bad all things considered. Here are the steps:
Then type this to reboot the computer:
That’s it! If things went well, the lovely 256-color Windows logo should load and you’ll be looking at Napa Valley in no time.