Osx Disk Utility Restore

broken image


Select Reinstall macOS from the utilities window in macOS Recovery, then click Continue and follow the installer's instructions. Follow these guidelines during installation: Allow installation to complete without putting your Mac to sleep or closing its lid. Disk Drill: The best data recovery software for Mac OS X. Recover deleted or lost data from any storage device, iOS and Android.

How to use disk utility
  1. Available on newer Macs with OS X Lion or later, this mode downloads a Recovery System image from Apple's servers, and then starts up your Mac from it. Internet Recovery provides the same utilities and options as macOS' Recovery Mode on a startup drive, Disk Utility included.
  2. How to Restore Yosemite's Disk Utility into EL Capitan in 2021!This video is about how to restore the old Yosemite's Disk Utility onEl Capitan 10.11.
  3. Mac OS X comes with an easy-to-use application, called Disk Utility, that allows users to verify and repair hard disks using a graphical user interface and it is recommended for most Mac users that are not comfortable using the terminal. However, this can also be performed using the command-line.

In Mac OS X 10.11 ('El Capitan') Apple replaced the good old 'Disk Utility.app' with a completely overhauled and colorful but less powerful version. Many features have been sacrificed in favor of an easier and more usable UI. This post explains how to get that old version back.

Osx Disk Utility Restored Windows

DISCLAIMER: Using an outdated version of a system utility bears a lot of risks and may result in the complete loss or corruption of your data. If you're doing this, you are on your own and Apple will certainly not support you in a way. This is where the fun begins! 😀

Os X Disk Utility Restore

I cannot provide the binary of the patched Disk Utility as a download since that would violate Apple's copyright. Instead, I will explain how you can patch the file yourself:

  1. Open Time Machine to get a copy of the pre-'El Capitan' Disk Utility:
  2. Go to the Utilities folder (or simply press Command + Shift + U)
  3. Browse back in time to a backup before you installed El Capitan. Select the Disk Utility app and restore it to a place of your choosing. I use the Desktop. You will have to enter your password, that's okay.
  4. Download a Hex editor like the free Hex Fiend.
  5. Open the Terminal app (which also resides in the Utilities folder, remember: Command + Shift + U) and verify that you have the same version of Disk Utility as me because otherwise the patch will not work (you may have to adapt this to your paths):

    If the computed hash value (that long hex number) is the same for you as it is for me you can continue.

  6. Open the restored Disk Utility in Hex Fiend with admin privileges with this command (again adapt the paths to your own):
  7. Scroll down to offset 25056, which is the line where this number appears on the grey'ish bar on the left side of the editor:
  8. As in the screenshot above you should see these two words (yes, they are called like that):
  9. Select the '85' in the right word and change it for '84'. Take care that you overwrite the number instead of insert it. Afterwards it should read:
  10. Save the file and close Hex Fiend.
  11. You can make sure that you did the patch right by calculating another SHA256 hash on the patched file like this (again compare the long hex number):
  12. Done: Run the app from your desktop.

Open Disk Utility

You just changed a processor instruction in the application from JNE (Jump Not Equal, opcode 0F 85) to JE (Jump Equal, opcode 0F 84). Basically it is like this: Disk Utility checks if your system version matches its expectation. If this is not the case (= not equal), it shows a message and terminates. The patch above changes that check: The code now says that if the version does match the expectation (i.e. is equal), it will complain. In other words: This patched version of Disk Utility will not work on any system it was intended to work on, but will start just fine on any other.





broken image