{"id":13844784,"url":"https://github.com/rtrouton/create_macos_vm_install_dmg","last_synced_at":"2025-05-16T00:00:16.998Z","repository":{"id":43676393,"uuid":"86624593","full_name":"rtrouton/create_macos_vm_install_dmg","owner":"rtrouton","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-07T15:04:52.000Z","size":29,"stargazers_count":481,"open_issues_count":1,"forks_count":70,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-04-08T10:34:46.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtrouton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-29T20:06:33.000Z","updated_at":"2025-03-11T09:58:30.000Z","dependencies_parsed_at":"2022-09-02T17:14:28.320Z","dependency_job_id":"ff38f856-e630-4428-a546-1bb5edb2f2d5","html_url":"https://github.com/rtrouton/create_macos_vm_install_dmg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtrouton%2Fcreate_macos_vm_install_dmg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtrouton%2Fcreate_macos_vm_install_dmg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtrouton%2Fcreate_macos_vm_install_dmg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtrouton%2Fcreate_macos_vm_install_dmg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtrouton","download_url":"https://codeload.github.com/rtrouton/create_macos_vm_install_dmg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442854,"owners_count":22071877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:02:56.776Z","updated_at":"2025-05-16T00:00:16.718Z","avatar_url":"https://github.com/rtrouton.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell","Mac/iOS"],"sub_categories":["Containers"],"readme":"This script prepares macOS installer disk images for use with virtualization software like VMware Fusion or Parallels. \n\n**Pre-requisites**\n\n1. This script\n2. An installer for one of the following versions of macOS:\n\n* 10.12.x\n* 10.13.x\n* 10.14.x\n* 10.15.x\n* 11.x\n* 12.x\n* 13.x\n\n\n**Running the script**\n\nRun the `create_macos_vm_install_dmg.sh` script with two arguments: the path to an \"Install macOS.app\" and an output directory. \n\n\nExample usage: \n\nIf you have a macOS Mojave 10.14.x installer available, run this command:\n\n`sudo /path/to/create_macos_vm_install_dmg.sh \"/Applications/Install macOS Mojave.app\" /path/to/output_directory`\n\nThis should produce a disk image file at the specified output directory named something similar to  `macOS_[OS Version Number Here]_installer.dmg`.\n\n\nWhat the script does:\n\n1. Creates an empty read-write disk image file.\n\n2. Uses the macOS installer's `createinstallmedia` tool to erase the disk image, copy the installer files and set up the disk image to be bootable.\n\n3. If desired, a second disk image in `.iso` format can be generated. This should produce a disk image file at the specified output directory named something similar to  `macOS_[OS Version Number Here]_installer.iso`.\n\nOnce you have the disk image file created, you can choose it as an install disk image in VMware Fusion or Parallels when creating macOS virtual machines.\n\nThis script has been tested with the following OS installers:\n\n* macOS 10.12.6\n* macOS 10.13.6\n* macOS 10.14.6\n* macOS 10.15.7\n* macOS 11.7.6\n* macOS 12.6.5\n* macOS 13.3.1\n\n\n\n\n**NOTE**: \n\nAn earlier script for preparing disk images for macOS virtual machines is available in the `previous_version` directory. This script supports building installers for the following versions of Mac OS X, OS X and macOS:\n\n* 10.7.x\n* 10.8.x\n* 10.9.x\n* 10.10.x\n* 10.11.x\n* 10.12.x\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtrouton%2Fcreate_macos_vm_install_dmg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtrouton%2Fcreate_macos_vm_install_dmg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtrouton%2Fcreate_macos_vm_install_dmg/lists"}