Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save coolaj86/fec04e2dc405862a0d9542c95df80cef to your computer and use it in GitHub Desktop.

Select an option

Save coolaj86/fec04e2dc405862a0d9542c95df80cef to your computer and use it in GitHub Desktop.
How to create a bootable macOS Catalina Installer from MacOS. See https://bootableinstaller.com
#########################
# bootableinstaller.com #
#########################
set -e
set -u
# Create an empty
hdiutil create -o /tmp/empty -size 8400m -volname "Catalina" -layout SPUD -fs HFS+J
# Rename to .img since this isn't a compressed disk image
mv /tmp/empty.dmg /tmp/catalina.img
# Mount the empty disk image
hdiutil attach /tmp/catalina.img -noverify -nobrowse -mountpoint '/Volumes/Install macOS Catalina/'
# Create the installer image
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --nointeraction --volume '/Volumes/Install macOS Catalina/'
# Detach the installer
hdiutil detach '/Volumes/Install macOS Catalina/'
# This is actually already in the correct format
mv /tmp/catalina.img catalina.iso
# Many thanks to https://support.apple.com/en-us/HT201372
@ipepe
Copy link
Copy Markdown

ipepe commented Oct 8, 2020

I'm not sure if You are author of website: https://bootableinstaller.com/macos/#macos but link there is broken for this file

@coolaj86
Copy link
Copy Markdown
Author

coolaj86 commented Oct 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment