


If you have difficulty/receive an error, you can also do this in Disk Utility.Hdiutil unmount "/Volumes/OS X Base System/"ĭiskutil unmountDisk $(diskutil list | grep "OS X Base System" -B 4 | head -1)ĭiskutil unmountDisk $(diskutil list | grep "OS X Install ESD" -B 4 | head -1) Hdiutil unmount "/Volumes/OS X Install ESD/" Copy the base system into the sparse image:Ĭp "/Volumes/OS X Install ESD/BaseSystem."* "/Volumes/OS X Base System/".Hdiutil mount "/Applications/Install OS X Yosemite.app/Contents/SharedSupport/InstallESD.dmg" Hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage Convert into UDSP (sparse image) format:.

Iesd -i "/Applications/Install OS X Yosemite.app" -o yosemite.dmg -t BaseSystem Install iesd, to customize OS X InstallESD:.The following instructions are heavily borrowed from frdmn’s notes blog with additional notes added as needed. It took me about half an hour to download, but depending on your connection speed your mileage may vary. To get started, download Yosemite from the App Store.įair warning: the download is ~5.5GB. I was in luck! It turns out this is actually really easy to do. Recently when working with a client we encountered a situation where it would be beneficial run a Mac VM on our Mac laptops, so I decided to investigate.
