After removing a Windows partition, my Recovery HD has increased in size to about 70 GB. I'd like to reclaim this disk space into my main HD, but cannot figure out how. What is the easiest way to do so?
The output of diskutil list gives:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 429.9 GB disk0s2
3: Apple_HFS Recovery HD 69.9 GB disk0s3
My machine is a 2015 MacBook Pro.
And the results of diskutil resizevolume disk0s3 limits give:
Resize limits for partition disk0s3 Recovery HD:
Current partition size on map: 69.9 GB (69933821952 Bytes)
Minimum size (constrained by file usage): 553.4 MB (553422848 Bytes)
Recommended minimum size (if used for OS): 5.9 GB (5922131968 Bytes)
Maximum size (constrained by map space): 69.9 GB (69933821952 Bytes)
Best Answer
Reduce the size of the partition containing
Recovery HD
volume. You can do this by entering the command given below.Download and install the third party tool
gdisk
.Boot to macOS Recovery over the Internet. Restart your Mac and immediately hold down the option+⌘+R key combination. Release the keys when the spinning globle appears.
Partially disable System Intergity Protection (SIP). From the menu bar, select
Utilities➔Terminal
. Next, enter the command given below.Boot back to macOS.
Use the interactive command
gdisk
to change the partition type and attributes fordisk3s3
. Enter the command given belowBelow is an example of using
gdisk
to repair your Mac.Enable SIP. Enter the command given below, then restart your Mac.
Recovery the free space back to the
Macintosh HD
volume. You can do this by entering the command given belowRestart your Mac then enter the command below to check the results.