• Stars
    star
    474
  • Rank 92,640 (Top 2 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This script prepares macOS installer disk images for use with virtualization software like VMware Fusion or Parallels.

Pre-requisites

  1. This script
  2. An installer for one of the following versions of macOS:
  • 10.12.x
  • 10.13.x
  • 10.14.x
  • 10.15.x
  • 11.x
  • 12.x
  • 13.x

Running the script

Run the create_macos_vm_install_dmg.sh script with two arguments: the path to an "Install macOS.app" and an output directory.

Example usage:

If you have a macOS Mojave 10.14.x installer available, run this command:

sudo /path/to/create_macos_vm_install_dmg.sh "/Applications/Install macOS Mojave.app" /path/to/output_directory

This should produce a disk image file at the specified output directory named something similar to macOS_[OS Version Number Here]_installer.dmg.

What the script does:

  1. Creates an empty read-write disk image file.

  2. 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.

  3. 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.

Once 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.

This script has been tested with the following OS installers:

  • macOS 10.12.6
  • macOS 10.13.6
  • macOS 10.14.6
  • macOS 10.15.7
  • macOS 11.7.6
  • macOS 12.6.5
  • macOS 13.3.1

NOTE:

An 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:

  • 10.7.x
  • 10.8.x
  • 10.9.x
  • 10.10.x
  • 10.11.x
  • 10.12.x

More Repositories

1

rtrouton_scripts

Scripts to share
Shell
1,303
star
2

profiles

Management profiles for OS X / macOS
518
star
3

Payload-Free-Package-Creator

AppleScript
198
star
4

create_os_x_vm_install_dmg

Shell
186
star
5

create_macos_recovery

Tool for repairing the Recovery volume (APFS) or partition (HFS+) on Macs running macOS 10.13.x or later.
Shell
117
star
6

First_Boot_Package_Install_Generator

Shell
106
star
7

privacy_preferences_control_profiles

Repository for Privacy Preferences Policy Control profiles, also known as TCC profiles
95
star
8

Simple-Package-Creator

87
star
9

CasperCheck

Shell
81
star
10

First-Boot-Package-Install

Shell
59
star
11

set_microsoft_outlook_as_default_application

41
star
12

autopkg-conductor

Script for managing AutoPkg runs
Shell
36
star
13

payload-free_package_printer_generator

Shell
34
star
14

First-Boot-Package-Install-With-Automated-Apple-Software-Update

Shell
27
star
15

esxi_macos_vm_creation

Shell
20
star
16

aws_scripts

Shell
18
star
17

autopkg_setup_for_jamf_pro

This utility is designed to install and configure AutoPkg and JSSImporter on macOS
Shell
17
star
18

documentation_VM_profiles

These are management profiles I use when creating VMs for documentation purposes.
17
star
19

AutoPkg_Processors

Python
12
star
20

Show-or-Hide-Desktop-Icons

11
star
21

documentation_VM_scripts

Shell
9
star
22

aws_lightsail

This repo is for posting and sharing AWS Lightsail setup scripts.
Shell
8
star
23

jp400-09-2019

Scripts and other info developed as part of a Jamf Pro certification training class in September 2019.
Shell
8
star
24

2015_cce_class

Shell
8
star
25

jamf_infrastructure_manager

This repo is for Jamf Infrastructure Manager-related scripts.
Shell
8
star
26

afp548keychainminder

This repository stores the source code for the original Keychain Minder, formerly hosted by AFP548.com
Objective-C
8
star
27

ec2_systems_manager

Shell
4
star
28

pbj

Peanut butter and jelly images
1
star