How to wipe data from ssd

Hello I've an old macbook pro with Catalina installed. A few years ago I changed the hard disk with an ssd.


I'm trying to prepare the mac to sell it, but erasing the ssd and installing from scratch the OS is not enough. With the "clean" mac I'm able to recover with a freemium and simple software (restoreit) tons of personal data of the previous installation.


I can't sell it this way, is there any chance to completely erase / delete the documents of the previous version?


Thank you

MacBook Pro

Posted on May 29, 2022 12:25 AM

Reply
Question marked as Top-ranking reply

Posted on May 30, 2022 5:55 PM

Make sure to select the whole physical SSD instead of a volume. Within Disk Utility you may need to click "View" and select "Show All Devices" so that the physical drive appears on the left pane of Disk Utility. With macOS 10.15+ there are multiple APFS volumes so you may only be erasing the macOS system volume and not the data volume containing your home user folders. Did you have TRIM enabled?


What is the exact model of your Mac, and the make & model of the SSD? If erasing the whole physical SSD does not work, then there may be a way to securely erase the SSD by utilizing the SSD's built-in hardware secure erase feature (depends on the model of the SSD and the Mac). If you have a compatible Mac & SSD, then I can provide instructions for utilizing a Linux boot disk and utility. You can get the exact model of the Mac by entering your serial number here:

Check Your Service and Support Coverage - Apple Support




26 replies

May 30, 2022 9:47 AM in response to Owl-53


User wrote:

If one is so very concerned about Lifting Erased Data from an Erased Drive - time allowing from your end - follow the suggested Total Erasure and reinstall the OS.

Yes, I'm very concerned... I can confirm. I'd like to sell the mac and I don't want another person that I don't know to be able to access with a very few steps my personal data. Even if I applied the suggested (by the Apple documentation and in your post) "total erasure", a simple test with a new account after erasure proved that I was able to recover previous data.


User wrote:

Though, attempting to lift the previous data will require setting up the computer again with a User Account and reinstalling the Lifting Software to attempt to retrieve the data.

Kind of defeats to intended end purpose though.

Yes, I set up the computer again with a testing user account just to see if the buyer would be able to "lift" my personal data. And the test succeeded. Why "kind of defeats to intended end purpose"? The end purpose was exactly to be sure that anyone would not be able to recover my data, and the test proved that it is possible.


The matter is quite linear, is there any possibility to completely wipe data from a SSD with a disk erasure and make them unrecoverable?

And now it can be updated as: excluding encrypting the SSD with FileVault (that unfortunately I didn't do with the first erasure) is there any other way to follow (based that the ones suggested in the Apple instructions didn't work) to reach this purpose?

May 30, 2022 10:13 AM in response to Owl-53

Yeah, I've been following this, though I'm not quite clear about the veracity of the data recovery claimed by the restoreit software. I'm no expert on computer storage, but my understanding of recovery of data is that SSDs are more difficult than magnetic media. In any case, as I try to educate myself, I wonder if the freemium software is simply reading the file directory of an SSD that hasn't been reformatted or repartitioned but simply erased? Will it successfully recover file data from the device? Dunno. I suppose there are many variable to consider.

Still following.

May 30, 2022 10:35 AM in response to D.I. Johnson

Thank you, yes I'm trying also to search for information and I found the article you linked. I'm not sure if there is a kind of contradiction in these two parts:


If your Mac comes equipped with an SSD, Apple’s Disk Utility software won’t actually let you zero the hard drive.
In a tech note posted to Apple’s own online Knowledge Base, Apple explains that secure erase options are not available in Disk Utility for SSDs.


And then:


From a Terminal command line, type:
diskutil secureErase freespace VALUE /Volumes/DRIVE

This is basically the "zero" procedure.. So in the first step in the article is mentioned that in a SSD is not possible to zero the drive, but then the command is basically the zero procedure.

May 31, 2022 12:49 AM in response to D.I. Johnson

I've tried with terminal in the recovery mode but there was an error:


Error with secure disk erase: Secure erase by writing a run of bytes to an APFS Volume makes no sense due to its possibly-unbounded size (-69489)


I specify that when I erased the SSD the second time following the bootable installer procedure, the only possible choice was a APFS Volume format.



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 wipe data from ssd

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