How to securely erase disk & reinstall Catalina?

Catalina newbie here (although I have considerable experience with all versions of OS X/macOS up through Mojave).


I just bought a used 27" iMac. The former owner installed Catalina. Because privacy & security are very high on my list of requirements, I'd like to securely erase the entire hard drive and reinstall Catalina from scratch myself (the iMac has a 1TB HD, no SSD, no Fusion drive).


How do I do this? Catalina's Disk Utility seems to have no way to do a secure erase ... can this be done in Recovery mode?

iMac Line (2012 and Later)

Posted on Apr 16, 2020 3:02 PM

Reply

Similar questions

3 replies

Apr 17, 2020 6:36 PM in response to MartinR

Once you boot into Recovery Mode you are running from a virtual installer drive so it is safe to erase the entire drive. Even if you could not, then you could just boot into Internet Recovery Mode. If the local recovery partition is missing or damaged, then Command + R will boot into Internet Recovery Mode instead.


If you want to zero out the hard drive, then you want to use the secure erase option if it is still available in Disk Utility. Otherwise you can try using the command line utility "diskutil" to see if it will allow you to zero out the drive with a secure erase. If not, then you can use the "dd" command to write zeroes to the physical drive.


Another option would be to first enable Filevault and let it finish encrypting the drive. Then erasing the drive normally will destroy the encryption key so any information on the drive will be inaccessible.


If you want to be safe, then create a bootable macOS USB installer.


Edit: I recommend selecting the physical drive when erasing the drive. The physical drive will appear something like "Apple HDD....", or "ST1000xxxx ....", etc.

Apr 16, 2020 3:15 PM in response to MartinR

Very simple process.


Reboot the iMac and hold down


Command R


Once you are in the Recovery Partition, open Disk Utility.


From the view menu at the top select "Show All devices".


On the disk utility menu select the top level drive above Macintosh HD (APPLE SSD XXX). Click erase.


Or you can just select Macintosh HD and click erase, make SURE you click "Erase Volume Groups"


When complete all data will be gone, you can quit out of Disk utility and then can select Install macOS.

Apr 17, 2020 3:44 PM in response to ClassicII

Follow-on question. My understanding is that in Catalina the Recovery Partition is actually a Volume inside the APFS container. If I erase the top level drive (what you called Macintosh HD (APPLE SSD XXX), doesn't that erase the APFS container and as a consequence the Recovery Partition/Volume that's inside it? If so, how would I then be able to reinstall macOS?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to securely erase disk & reinstall Catalina?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.