DMG file are the image file which are most commonly use by Apple family. In fact whenever you download the Mac OS X Installer App from App Store it also contents the DMG file name as InstallESD.dmg. But this DMG file won’t directly works on VMWARE Workstation as well as Player which is biggest problem when you tying to install Mac OS X on VMARE. Because workstation needs Bootable ISO file so true overcome this issue you have to Convert Mac OS X DMG To ISO ,So that you can easily install MAC OS X on VMWARE workstation.
Requirement For Convert Mac OS X DMG To ISO
- Mac OS X image (InstallESD or the MAC OSX Installer.App)
- Working Macintosh as well as Hackintosh System (virtual machine also works)
Let’s Start Convert Mac OS X DMG To ISO
Step 1:- Open Terminal From /Application/Utility and Mount the DMG which you wann Convert.
hdiutil attach /Applications/Install\ OS\ X\ El\ -noverify -nobrowse -mountpoint /Volumes/Coverted_image
Where Converted_image is image name that you can change it to any thing its up to you.
Step 2:-Now Create the El Capitan Blank image with the size of 7316mb and with with a Single Partition – Apple Partition Map.
hdiutil create -o /tmp/ -size 7316m -layout SPUD -fs HFS+J
Step 3:- Mount the ElCapitan Blank ISO Image.
hdiutil attach /tmp/ -noverify -nobrowse -mountpoint /Volumes/install_build
Step 3:- Restore the BaseSystem image into the ElCapitan Blank ISO Image.
asr restore -source /Volumes/Converted_Image/ -target /Volumes/install_build -noprompt -noverify -erase
Step 4:- Now, Remove Package link and replace with actual files.
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -rp /Volumes/Converted_Image/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
Also Read our other Popular Articles on VMWARE Workstation
Step 5:- Now Copy El Capitan installer dependencies in to the image so that image become bootable for installation.
cp -rp /Volumes/Converted_Image/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist cp -rp /Volumes/Converted_Image/ /Volumes/OS\ X\ Base\ System/
Step 6:- Once it finish , Unmount the installer image.
hdiutil detach /Volumes/Converted_Image
Step 7:- Now, Unmount the ElCapitan ISO Image with following terminal commands.
hdiutil detach /Volumes/OS\ X\ Base\ System/
Step 8:- Convert the ElCapitan ISO Image to ISO/CD master (Optional).
hdiutil convert /tmp/ -format UDTO -o /tmp/
Step 9:- Rename the ElCapitan ISO Image and move it to the desktop.
mv /tmp/ ~/Desktop/
Quick Note:- Convert Mac OS X DMG To ISO allow you to use Retail Image (Installer.App). So that you can easily install Mac OS X in VMWARE Workstations. No more Distro and pre install images is needed have Mac OS X, See following image. In my case i use Install_app is the name of my El Capitan image so select the name properly so you can avoid trouble. Also This method i have tested with OS X Yosemite and El Capitan and its works great.