Code Monkey home page Code Monkey logo

create_macos_vm_install_dmg's Introduction

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.0 beta 1

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.5
  • macOS 11.0 beta 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

create_macos_vm_install_dmg's People

Contributors

rtrouton avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.