Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236002

Re: Wiping an unencrypted SSD in preparation for encryption

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: Wiping an unencrypted SSD in preparation for encryption
Date 2021-06-11 21:30 +0200
Message-ID <CoV0S-56r-9@gated-at.bofh.it> (permalink)
References <CoH7z-5f5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 10, 2021 at 11:31:07PM -0500, David Wright wrote:
>I'm about to install buster or bullseye on a newly acquired laptop
>with an SSD (a first for me). I'm intending to clean (zero or
>randomise) the entire drive with dd before I start, and am
>interested in any pitfalls with that.

Do not try to write data to the drive, it'll just wear the drive out a 
bit and won't actually accomplish what you're trying to do.

Install the nvme-cli package and use something like (this will destroy 
the data on the drive, don't play with it):
nvme format -s1 /dev/nvme0n1
the -s1 triggers the drive's secure erase functionality.

If you're lucky that will work. If not (some manufacturers are more 
trouble than others) you can look for a workaround. 

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Wiping an unencrypted SSD in preparation for encryption David Wright <deblis@lionunicorn.co.uk> - 2021-06-11 06:40 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Jeremy Ardley <jeremy@ardley.org> - 2021-06-11 06:50 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption songbird <songbird@anthive.com> - 2021-06-11 07:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-11 08:50 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 08:50 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-11 15:00 +0200
        Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 15:10 +0200
          Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-13 00:00 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption rhkramer@gmail.com - 2021-06-11 17:10 +0200
        Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 17:20 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption David Wright <deblis@lionunicorn.co.uk> - 2021-06-15 07:10 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-15 17:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption "Andrew M.A. Cater" <amacater@einval.com> - 2021-06-11 12:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-11 17:00 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 17:20 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption Michael Stone <mstone@debian.org> - 2021-06-11 20:40 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-13 00:10 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption ghe2001 <ghe2001@protonmail.com> - 2021-06-11 17:20 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Michael Stone <mstone@debian.org> - 2021-06-11 21:30 +0200

csiph-web