Sep 22

This post is very useful if you have ever needed to make a readonly mac .dmg file writable. Say for instance that you wanted to create a Mac OS X install disk, then mount it up writable, add something to it and then save it to be used to install OS X in say “VMware”. Listed below are the steps to make this happen:

From Terminal:
###This creates a writable dmg image###
hdiutil convert nameoffile.dmg -format UDRW -o nameoffile_writable.dmg

###This tells you the size of the image###
hdiutil resize -limits nameoffile_writable.dmg

###This resizes your dmg image so that you will have space to add stuff to it. Make sure you substitute the first number from the previous command and add to it sufficiently for the 9999etc. number###
hdiutil resize -sectors 999999 nameoffile_writable.dmg

###This mounts the new dmg writable image so that you can add stuff to it###
hdiutil attach nameoffile_writable.dmg






Sep 20

If you have ever run into the need to convert a mac .dmg file to an .iso file…..It is super easy.  If you have access to a mac computer you only need to type one command to make this conversion:

hdiutil convert /Users/username/Desktop/nameoffile.dmg -format UDTO -o /Users/username/Desktop/nameoffile.iso  - Type this into terminal and that’s it. In just a few minutes you have your dmg converted to windows iso format.







preload preload preload