Skip to content

MacOsInstallerToDiskImg is a command line utility to transform the macOS installer you found on the app store in an Disk Image you can use to install a VM for example

Notifications You must be signed in to change notification settings

stephane-archer/MacOsInstallerToDiskImg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MacOsInstallerToDiskImg

MacOsInstallerToDiskImg is a command-line utility that converts a macOS installer obtained from the App Store into a bootable disk image (ISO). This disk image can be used to install macOS on a virtual machine (VM), or for other purposes that require an ISO image.

Features

  • Converts a macOS installer app into a bootable disk image (ISO).
  • Simple and fast conversion process.

Requirements

  • Go (for building the project)
  • macOS installer from the App Store (e.g., /Applications/Install macOS Mojave.app/)

Installation

Option 1: Install with go install

You can easily install MacOsInstallerToDiskImg using Go by running the following command:

go install https://github.com/stephane-archer/MacOsInstallerToDiskImg@latest

This will install the executable in your $GOPATH/bin directory, making it available for use system-wide.

Option 2: Build from Source

If you prefer to build the utility from source, follow these steps:

  1. Ensure you have Go installed on your system.
  2. Clone or download this repository.
  3. Open a terminal and navigate to the project directory.
  4. Run the following command to build the binary:
    go build
    This will generate an executable file named MacOsInstallerToDiskImg in the current directory.

Usage

Step 1: Download a macOS Installer

Ensure you have downloaded a macOS installer from the App Store. You can typically find it in the /Applications folder. For example:

/Applications/Install macOS Mojave.app/

Step 2: Run the Command

To convert the macOS installer into a disk image, run the following command:

MacOsInstallerToDiskImg /path/to/macos/installer.app /path/to/output.iso

For example, to convert the macOS Mojave installer into an ISO file, you would run:

MacOsInstallerToDiskImg /Applications/Install\ macOS\ Mojave.app/ ~/MacOSMojave.iso

This will create an ISO image of the macOS Mojave installer in your home directory with the name MacOSMojave.iso.

About

MacOsInstallerToDiskImg is a command line utility to transform the macOS installer you found on the app store in an Disk Image you can use to install a VM for example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages