this post was submitted on 07 Oct 2025
603 points (98.9% liked)
memes
17645 readers
2520 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads/AI Slop
No advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If it's a spinning disk hard drive then do a low level format i.e. do a security write zeros on the whole disk (be sure to delete all partitions first). This will try to write a zero to every single sector, and any bad sectors will be removed from use.
https://wiki.archlinux.org/title/Badblocks
dd /dev/urandom after if you're encrypting the disk
I don't think you need to delete the partitions separately, since it's just a table at the very beginning of which parts of the disk belong to which partition?
So if you
dd
zeroes over everything, the first thing that gets deleted is the partitioning tableI might be wrong here, or maybe it doesn't apply to every situation, but that's how I've understood it to work
Also a tip for OP: don't write zeroes over it, but random data (
dd if=/dev/urandom ...
). It's a bit more secure as it makes it harder to see the size and location of the encrypted data on the diskI've found that on some systems and some utility apps, if there are partitions present then doing a zeroing pass only zeros the partition rather than the entire drive itself
I’m guessing that is not dd
Yeah, dd does as told and doesn't care about your tears about the stupid typo
Correct, it was the built it disk utility app on Mac. I had a giant drive with a few partitions and clicked to do a zero pass and it finished in a half second. Obviously there was no way it completed that fast. I did some empirical testing based on completion time and sure enough it only zeroes a single partition rather than the entire disk
I miss when Disk Utility was good and simple and predictable on MacOS. It’s such steaming shit now.