How to Delete the Recovery Partition on macOS

 How to Delete the Recovery Partition on macOS


When you are running out of space every single free bit counts, so you might be looking for data that can be removed to allow you to use the regained space to store other, maybe more important files and data.

We don't recommend erasing the recovery partition due to the benefits of having a separate boot partition that is independent of that which holds the bootable copy of macOS. Remember, if the startup disk fails, having this means that it’s always possible to boot into recovery mode and repair the drive using Disk Utility and recover any lost data. It's not that much space, and without it you have one less method of troubleshooting that you can turn to.

However, if you really do want to delete the partition and merge it with the main partition for some reason, it can be done via Terminal:

1.Launch Terminal, and type “diskutil list” to see the volumes and partitions occupying 
  space on the startup disk.



2.Delete the partition by typing the following command and specifying the information for the        partition you’d like to remove:

diskutil eraseVolume [JHFS+/APFS] [Diskname] [DiskNodeID]


3.Merge the erased partition with the main one with the following command:


diskUtil mergePartitions JHFS+ [DiskNodeID] [DiskNodeID]

So there it is: you've gained a few megabytes of storage space. But do note that there is no other way to restore the recovery partition than to reinstall macOS.



留言

熱門文章