r/Ubuntu•
732

Does reinstalling your OS with encryption securely erase prior data?

I'm hoping to sell a computer and naturally it has had a lot of private data on it in the past, and when I set up Ubuntu originally I did not set up disk encryption.

If I were to reinstall the OS with disk encryption turned on, will it securely erase any data? Are there other secure ways to make all the data irretrievable?

I have no need to have yet another drive stored in a drawer or external enclosure, and selling it with the drive and a fresh OS installation would obviously fetch more value. I can resort to that if necessary but it is not my preference.

Posted Jan 25, 2026, 3:45 PM UTC

211

Comments aren't archived yet

This post had 11 comments on Reddit. Comments for this period haven't been loaded into the archive yet.