Skip to content

Instantly share code, notes, and snippets.

@siniradam
Created January 7, 2025 01:04
Show Gist options
  • Save siniradam/010f43eb2654ed02f14db695228240ef to your computer and use it in GitHub Desktop.
Save siniradam/010f43eb2654ed02f14db695228240ef to your computer and use it in GitHub Desktop.
MacOs Sierra Installation Drive

MacOs Sierra Installation Drive

If you are having problems to create an installation media for MacOs Sierra here is the solution

  • First you need to download installation, if you have DMG File, run the PKG in DMG Image.
  • This will copy your installation to your /Applications/ folder.
  1. This command will fix the installation to make your USB Drive
sudo plutil -replace CFBundleShortVersionString -string "12.6.03"  /Applications/Install\ macOS\ Sierra.app/Contents/Info.plist
  1. List your volumes to find your Drive. It might be something like "NO NAME" or something else.
ls /Volumes/
  1. Use your drive path in this command below to create your drive. This process formats the drive.
sudo  /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/NO\ NAME --applicationpath  /Applications/Install\ macOS\ Sierra.app

If you are having issues with the drive, try using Disk Utility to format as "MacOs Journaled" then try step 3 again.

sudo  <Install Package Path>.app/Contents/Resources/createinstallmedia --volume /Volumes/<DRIVE_NAME> --applicationpath  <Install Package Path>.app

If you have space character in anywhere try placing \ character before the space to escape it.

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