Select Page

Create Apple OS X Mavericks 10.9 ISO

I’ve created this post as I had the need for a OS X Mavericks ISO and could not find out how to actually create a working copy of the installer. This was required to as I needed to install OS X Mavericks on VMware ESXI. You can create an ISO by using this command after downloading the Mavericks ISO on an Apple machine. I will also add the download link to the ISO to my Downloads page as If you don’t have an Apple machine there isn’t another way to create the ISO.

# Mount the installer image

hdiutil attach /Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle

hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks

# Increase the sparse bundle capacity to accommodate the packages

hdiutil resize -size 8g /tmp/Mavericks.sparseimage

# Mount the sparse bundle for package addition

hdiutil attach /tmp/Mavericks.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files

rm /Volumes/install_build/System/Installation/Packages

cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Unmount the installer image

hdiutil detach /Volumes/install_app

# Unmount the sparse bundle

hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space

hdiutil resize -size `hdiutil resize -limits /tmp/Mavericks.sparseimage | tail -n 1 | awk ‘{ print $1 }’`b /tmp/Mavericks.sparseimage

# Convert the sparse bundle to ISO/CD master

hdiutil convert /tmp/Mavericks.sparseimage -format UDTO -o /tmp/Mavericks

# Remove the sparse bundle

rm /tmp/Mavericks.sparseimage

# Rename the ISO and move it to the desktop

mv /tmp/Mavericks.cdr ~/Desktop/Mavericks.iso

This will create the ISO and put it on to the desktop on the Apple machine. You can then export this to another windows machine or use the vSphere client/vSphere Web Client on the Apple machine.

Pin It on Pinterest

Share This