Comment

Comment by Solid_Applaud

If you are reading this and you want to truly restore the internal drive to factory original state minus wear and you have a Macbook that is able to boot a Linux from USB:

If you have nvme storage use blkdiscard to wipe it:

https://man7.org/linux/man-pages/man8/blkdiscard.8.html

Or

nvme format <device> with the --ses option, see available ses options here:

https://www.mankier.com/1/nvme-format

Otherwise use ATA Secure Erase with the suspend trick to unfreeze the drive:

https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton