26
submitted 2 days ago by oeuf@slrpnk.net to c/linux@lemmy.ml

Are there any benefits, in terms of performance or security in 'wiping' or overwriting an SSD before reinstalling Linux? And if so, what is the best way of doing it?

I'm planning on doing a clean install of Debian 13 on my laptop soon.

I'm currently on Fedora and using encryption and will be using encryption on Debian too. I do not have a separate home partition.

Thanks :)

you are viewing a single comment's thread
view the rest of the comments
[-] communism@lemmy.ml 3 points 1 day ago

You only need to overwrite the drive with random data once. Then, as long as every OS install uses FDE, there's no need to repeat the process.

The reasons why you do the full disk wipe are:

  1. To hide the size of the encrypted data by making encrypted data indistinguishable from empty space
  2. To erase unencrypted data previously stored on the drive

Both of which only need to be dealt with once, so long as you don't write unencrypted data to the drive after doing the wipe.

this post was submitted on 07 Aug 2025
26 points (93.3% liked)

Linux

57120 readers
865 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS