Skip to content

Instantly share code, notes, and snippets.

@naftulikay
Created July 21, 2016 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naftulikay/4fa7d86e0c019ecc1eaa0b4f466c8e27 to your computer and use it in GitHub Desktop.
Save naftulikay/4fa7d86e0c019ecc1eaa0b4f466c8e27 to your computer and use it in GitHub Desktop.

OSX Reinstall for Linux Users

  1. Make sure that there is at least 128MiB of free space after your OSX root partition. OSX needs this space for upgrading itself. OSX will fail to upgrade otherwise.
    1. If this gap doesn't exist and you need it to, boot into a Linux LiveCD with GParted.
    2. Delete the OSX boot and recovery partitions (don't worry, we still have internet recovery mode).
    3. Create a single HFS+ filesystem where the partitions used to be.
    4. Leave 128MiB or more free after the partition! Probably more, maybe the recovery partition needs to occupy this space.
  2. Boot into Internet Recovery mode using a Thunderbolt ethernet adapter or the built-in ethernet adapter if present. This can be accomplished by holding Alt+Super+R on boot.
  3. Using the Disk Utility, erase the OSX boot partition. If you don't do this, reinstalling OSX will basically accomplish absolutely nothing and it'll take around 45 minutes to do so.
  4. If you had to create partitions in GParted, enable journaling on the new OSX boot partition in Disk Utility.
  5. Using the Internet Recovery, reinstall OSX.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment