you are viewing a single comment's thread
view the rest of the comments
[–] 68 points 10 months ago (5 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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 12 points 10 months ago (3 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?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 21 points 10 months ago* (2 children)

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

  • source
  • parent
  • hideshow 2 child comments