# Create Almost Any MacOS Installation Media [Developer Betas | Old Versions]

## Things You Will need

- An existing MacOS Device or VM
- 30-40 GB of free disk space

## Downloading MacOS Installers

1. Download gibMacOS Download
2. Extract the downloaded .zip file
3. Double click the gibMacOS.command file > Click Open to confirm
4. If prompted to install Python, type Y > Press Enter
5. Use the keyboard and on screen instructions to navigate the menus and download the desired version of MacOS

## Creating USB Installation Media

1. Input a USB flash drive, 16GB or larger
2. In Finder, navigate to the gibMacOS folder /
3. Double click the InstallAssistant.pkg file to install it
4. Follow the prompts of the installer to complete the setup
5. Start LaunchPad from the dock
6. Search disk utility > Click Disk Utility to launch it
7. Select the USB flash drive on the left side
8. Select Erase > Set the Name to MacOSUSB and the Format to ExFAT > Click Erase
9. Start LaunchPad from the dock
10. Search terminal > Click Terminal to launch it
11. Run the following commands in terminal, altering the MacOS Installer name as needed
    # write the installation files to USB flash media
    sudo /Applications/Install\ macOS\ Ventura\ beta.app/Contents/Resources/createinstallmedia --volume /Volumes/MacOSUSB
12. When prompted, enter your password
13. Type Y and press Enter to confirm the action

## Creating a Bootable .iso

1. Start LaunchPad from the dock
2. Search terminal > Click Terminal to launch it
3. Run the following commands in terminal, altering the MacOS Installer name as needed
   # create temporary disk image, make sure its larger than the downloaded installer
   hdiutil create -o /tmp/macOS -size 13800m -volname macOS -layout SPUD -fs HFS+J
   # mount the temporary disk image
   hdiutil attach /tmp/macOS.dmg -noverify -mountpoint /Volumes/macOSISO
   # use createinstallationmedia utility to copy files
   sudo /Applications/Install\ macOS\ Ventura\ beta.app/Contents/Resources/createinstallmedia --volume /Volumes/macOSISO --nointeraction
   # unmount the temporary disk image, alter the OS name as needed
   hdiutil detach -force /Volumes/Install\ macOS\ Ventura\ beta
   # convert the disk image to .iso
   hdiutil convert /tmp/macOS.dmg -format UDTO -o ~/Desktop/macOS.cdr
   # change the extension from .cdr to .iso
   mv ~/Desktop/macOS.cdr ~/Desktop/macOS.iso