OS X's Disk Utility has a hidden Debug menu that, when enabled, can give you access to a few more Disk Utility features than you normally see. While Disk Utility has had a Debug menu for quite a while, it became even more useful with the advent of OS X Lion.
With OS X Lion, Apple added a Recovery HD partition on the startup drive that you can use to boot from and run utilities such as Disk Utility, reinstall OS X, and even access the Internet to find solutions to problems you may be having. The Recovery HD partition is hidden, however, and isn't visible from within Disk Utility.
This can lead to a number of issues, including the possibility, over time, of having multiple Recovery HD partitions on various drives as you duplicate drives, replace drives, or re-install OS X. It can also prevent you from moving the Recovery HD partition to a new drive, should you ever need to replace a drive or just want to move things around on your drives.
Debug Menu Items
Disk Utilities Debug menu has quite a selection of capabilities, though most are designed for developers to use in testing apps that may work with the Mac's storage system.
continue reading below our video
How to Speed up Your Home Wifi
Most items are benign, such as List All Disks, or List All Disks with Properties. There is also control of how a progress bar is displayed, whether to turn on a Thousand Minute Countdown. The countdown just changes the Console logs for Disk Utility to show 60,000 seconds, or one thousand minutes. The purpose is just to have a finer grain display of when log events occur. Once again this is really just for those developing storage products for the Mac.
More interesting for the average Mac user is the option to Show every partition, which as its name implies will display all partitions on a Mac's drive even if they are meant to be hidden.
It's understandable why Apple wants to hide some of the Recovery HD partition. For instance, when you format a drive, the process creates a small 200 MB partition that the EFI bios needs for booting. These small EFI partitions don't contain any data that end users need, and there's no reason for them to be visible. But if you would like to be able to access the OS X Lion and later's Recovery HD partition to create clones or backups, enabling the Debug menu in Disk Utility is the easiest way to see and work with these invisible partitions.
With the release of OS X El Capitan, Apple finally decided to remove support for Disk Utilities hidden debug menu. This means the Terminal commands outline below will only work for versions of OS X Yosemite and earlier.
Enable the Debug Menu in Disk Utility
- Quit Disk Utility if it is open.
- Launch Terminal, located at /Applications/Utilities.
- Enter the following command at the Terminal prompt:
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1
- Press enter or return.
- Close Terminal.
The next time you launch Disk Utility, the Debug menu will be available.
If you wish to turn the Debug menu off again, perform the following steps.
Disable the Debug Menu in Disk Utility
- Quit Disk Utility if it is open.
- Launch Terminal, located at /Applications/Utilities.
- Enter the following command at the Terminal prompt:
defaults write com.apple.DiskUtility DUDebugMenuEnabled 0
- Press enter or return.
- Close Terminal.
That's all there is to enabling or disabling the Disk Utility Debug menu. Go ahead and see what features are available under the Debug Menu, you will probably find the Show every partition item the most useful.
Originally published: 7/27/2011
Update history: 6/10/2015, 6/30/2016
