In order to clone the Recovery HD, we must first make it visible, so that our cloning application can work with the volume. Disk Utility includes a hidden Debug menu that you can use to force hidden partitions to be visible in Disk Utility. This is exactly what we need, so the first step in the cloning process is to turn on the Debug menu. You can find instructions here:. If you're using a later version of the Mac OS, jump ahead to the next section.
It will be in a format similar to disk1s3 as we saw earlier. Even though error warning: Diskpart.. You can use it to copy the contents of one partition to another, or to copy a disk image to a partition. Note that it's not because the partition is EFI, it's because the tool that created that partition had marked it in a way that prohibits other tools to tamper with it. Even doing everything right when messing with partition tables, something can go awry. You can also choose to only erase its free space.
Otherwise, follow the guide to make the Debug menu visible, and then come on back and we'll continue the cloning process. You can create the Recovery HD clone on any volume listed in Disk Utility, but the cloning process will erase any data on the destination volume. For this reason, it's a good idea to resize and add a partition dedicated to the new Recovery HD volume you are about to create.
The Recovery HD partition can be very small; MB is the minimum size, although we suggest making it slightly larger. Disk Utility probably won't be able to create a partition that small , so just use the smallest size it can create. Creating the new Recovery HD volume this way doesn't set the visibility flag to hidden. As a result, the Recovery HD volume will appear on your desktop.
Here's how. If you have multiple Recovery HD volumes attached to your Mac, you can select the one to use in an emergency by starting your Mac with the option key held down.
This will force your Mac to display all available bootable drives. You can then pick the one you want to use for emergencies. Since Disk Utility can no longer access the hidden Recovery HD partition, we have to use a different method, specifically, Terminal and the command line version of Disk Utility, diskutil. Our first step is to create a disk image of the hidden Recovery HD. The disk image does two things for us; it creates a copy of the hidden Recovery HD volume, and it makes it visible, easily accessible from Mac's desktop.
We need to find the disk identifier for the hidden Recovery HD partition. Enter the following at the Terminal prompt:. Terminal will display a list of all partitions your Mac is able to access, including those that are hidden. The line with the Recovery HD item will also have a field labeled Identifier. Here you'll find the actual name used by the system to access the partition. It will likely read something like:.
The identifier for your Recovery HD partition may be different, but it will include the word "disk", a number, the letter "s", and another number. Once you know the identifier for the Recovery HD, we can proceed to make the visible disk image. The next step is to partition the drive that you wish to have the Recovery HD volume created on.
However, since the size can change with each new version of the operating system, we suggest making the partition size larger than 1. The next-to-last step is to clone the Recovery HD disk image to the partition you just created. You can do this in the Disk Utility app using the Restore command.
If you remember back to when we started this process, we asked you to use Terminal's "diskutil" to find the Recovery HD volume. So, our last task is to set the Type. This will also cause the Recovery HD volume to become hidden. We need to discover the disk identifier for the Recovery HD volume you just created. Because this volume is currently mounted on your Mac, we can use Disk Utility to find the identifier.
Share Pin Email. Tom Nelson has written hundreds of articles, tutorials, and reviews for Other World Computing and About.
He is the president of Coyote Moon, Inc. Enable Disk Utility's Debug Menu. Once you have the destination drive partitioned, we can proceed. From the Debug menu, select Show Every Partition. Drag the Recovery HD volume to the Source field. Drag the volume you want to use for the new Recovery HD to the Destination field. Double-check to be sure that you're copying the correct volume to the destination because any volume you drag there will be completely erased by the cloning process. When you're sure that everything is correct, click the Restore button.
Disk Utility will ask if you really want to erase the destination drive. Click Erase.
The UNIX device name is shown first, along with the contents of each partition:. You can use diskutil to check the file system data structure of a partition e. If errors are you found, you can fix them with: diskutil repairVolume partition. You can use diskutil to check the UNIX permissions on a partition with: diskutil verifyPermissions partition.
If errors are you found, you can fix them with: diskutil repairPermissions partition.
If permissions get accidentally changed on some system files, it could cause strange behavior or disable certain features of the system. RAID is usually used in servers to provide additional protection from hard disk failure. Here are some of the other features:. Saturday, December 13, Using diskutil.
The diskutil program is a native Apple command line utility for manipulating disks, partitions, and RAID sets. Most options, except "list", require root access.