Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Secure Erase Options

To secure erase when that option isn't available in Disk Utility.
For example, for SSDs.
Boot from another disk or recovery mode.
Erase the disk encrypted, with a complex key.
Fill the disk with zeros.
Erase it again, without encryption or with a different key.

Options to fill with zeros

If it is available, use mkfile, otherwise use dd...

mkfile SIZE FILE
Example: mkfile 200G File1
dd if=/dev/zero of=FILE bs=BLOCKSIZE count=BLOCKS
Example: dd if=/dev/zero of=File1 bs=1024 count=1000000



My latest blog post: Avoid Microsoft: If you don't really like computers much you could make things a bit better for yourself. (posted 2024-12-04). My latest podcast: OJB's Podcast 2024-08-22 Stirring Up Trouble.
 ©2024 by OJBBlogMacs are BestMac Made
T: 11. H: 188,174,292
Features: RSS Feeds Feedback LogMod: 07 Jun 2024