this post was submitted on 03 Dec 2025
405 points (98.1% liked)

Technology

77096 readers
5271 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BrianTheeBiscuiteer@lemmy.world 32 points 6 hours ago (2 children)

Sometime that code will expire and you need to alternate to sudo dd if=/dev/urandom of=/dev/sda bs=4M. Works most of the time for me.

Didn't work for me. Had to add && sudo reboot

[–] Assassassin@lemmy.dbzer0.com 7 points 5 hours ago (1 children)

I love this, but it must take forever to overwrite an entire drive w/random data. You're essentially running DBAN at that point, no?

[–] Morphit@feddit.uk 7 points 5 hours ago* (last edited 5 hours ago)

Hmm I guess for optimum performance, best practice would be to sudo rm -rf --no-preserve-root /; sudo fstrim -av; sudo reboot