Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephane-archer/macosinstallertodiskimg
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
https://github.com/stephane-archer/macosinstallertodiskimg
macos macos-catalina macos-mojave macos-setup macos-vm
Last synced: 20 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/stephane-archer/macosinstallertodiskimg
- Owner: stephane-archer
- Created: 2023-11-07T22:08:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T09:01:56.000Z (3 months ago)
- Last Synced: 2024-09-09T10:49:44.352Z (3 months ago)
- Topics: macos, macos-catalina, macos-mojave, macos-setup, macos-vm
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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:
```bash
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:
```bash
/Applications/Install macOS Mojave.app/
```
### Step 2: Run the CommandTo convert the macOS installer into a disk image, run the following command:
```bash
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:
```bash
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`.