
OpenCore is the most commonly used boot loader at the moment, and is responsible for loading any third-party kexts and patches to boot OS X. We’re essentially creating a Hackintosh, so you’ll need some sort of boot loader to boot Mac OS X on “standard” PC hardware. This step might not be required since the changes in removable drive handling in UTM v2.4.0, but is included here for posterity: $ qemu-img convert -p /tmp/sl_utm.cdr -O raw sl_utm.img Reading GPT Header (Backup GPT Header : 8).įinally, we need to convert the ISO into something that can be mounted by UTM (/qemu). Reading GPT Partition Data (Backup GPT Table : 7).

Reading GPT Partition Data (Primary GPT Table : 2). Reading GPT Header (Primary GPT Header : 1). Reading Protective Master Boot Record (MBR : 0). Now, we need to convert the disk image to a CDR master: $ hdiutil convert /tmp/sl_utm.dmg -format UDTO -o /tmp/sl_utm.cdr $ hdiutil eject /Volumes/Mac\ OS\ X\ Install\ DVD\ 1

Validating target.doneĮrase contents of /dev/disk5s2 (/Volumes/utm_installer)? : y source /Volumes/Mac\ OS\ X\ Install\ DVD \Įnter y when prompted. Then, use Apple System Restore to write the installer to the read-write disk image: $ sudo asr restore \ … which mounts the blank disk image to /Volumes/utm_installer. dev/disk5s2 Apple_HFS /Volumes/utm_installer

… and mount it: $ hdiutil mount /tmp/sl_utm.dmg This step is required because it creates the EFI boot partition in the disk image.Ĭreate a blank read-write disk image: $ hdiutil create -size 10G -fs HFS+ -volname utm_installer /tmp/sl_utm.dmg Use ASR to restore disk image to a new disk image This will mount the disk image to /Volumes/Mac OS X Install DVD.

I downloaded the 10.6.7-10J4139-ACDT-OSX.dmg disk image from the Internet Archive. I installed QEMU via brew: $ brew install qemu You’ll need qemu-img, which is provided by QEMU. If you are storing files elsewhere, update the paths appropriately. Here’s how to do it.įor this process, I’ll be saving everything to /tmp. I’ve been working to get Snow Leopard running in UTM (by extension, it would probably also work in QEMU, too). UTM is a frontend for QEMU that works on Mac and iOS.
