Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-20 Thread deloptes
rhkra...@gmail.com wrote: > Darn, please ignore the previous message -- didn't mean to send, was > working on a draft, meant to save as a draft instead of send. > > (Of course, if you want to reply, feel free.) .

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-15 Thread Stefan Monnier
> But in any case, I'm not sure about booting Grub on an SSD from the > BIOS, because AIUI Grub uses sector addresses to find its core.img, > and AIUI sectors get shuffled around by the SSD controller. That shuffling is purely internal and hence completely invisible (barring bugs and the need to

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-14 Thread David Wright
On Thu 10 Jun 2021 at 23:43:12 (-0700), David Christensen wrote: > On 6/10/21 9:31 PM, 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

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-12 Thread David Christensen
On 6/11/21 7:59 AM, Polyna-Maude Racicot-Summerside wrote: Hi, On 2021-06-11 12:31 a.m., 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

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-12 Thread David Christensen
On 6/11/21 6:01 AM, Reco wrote: On Fri, Jun 11, 2021 at 05:55:02AM -0700, David Christensen wrote: On 6/10/21 11:49 PM, Reco wrote: On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: I don't bother with the 'discard' option in /etc/fstab, but perhaps I should. The fstab(5)

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Michael Stone
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

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Michael Stone
On Fri, Jun 11, 2021 at 06:19:37PM +0300, Reco wrote: Encryption costs me whopping 13 MB/s out of 385. Right now on my desktop I can read about 1.4GByte/s on an unencrypted partition and 1.3Gbyte/s on an encrypted partition. Whether that's significant is subjective.

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Reco
Hi. On Fri, Jun 11, 2021 at 10:59:21AM -0400, Polyna-Maude Racicot-Summerside wrote: > Because yes there's a cost and it's speed. I call this cost acceptable: # pv /dev/sda3 > /dev/zero ^C50GiB 0:00:04 [ 385MiB/s] # cryptsetup status /dev/mapper/sda3_crypt /dev/mapper/sda3_crypt is

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ‐‐‐ Original Message ‐‐‐ On Thursday, June 10th, 2021 at 10:31 PM, David Wright wrote: > I'm intending to clean (zero or > randomise) the entire drive with dd before I start Have you considered dban? Takes a while, but works real

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread rhkramer
Darn, please ignore the previous message -- didn't mean to send, was working on a draft, meant to save as a draft instead of send. (Of course, if you want to reply, feel free.) On Friday, June 11, 2021 11:01:40 AM rhkra...@gmail.com wrote: > On Friday, June 11, 2021 02:49:03 AM Reco wrote: > >

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Reco
On Fri, Jun 11, 2021 at 11:01:40AM -0400, rhkra...@gmail.com wrote: > On Friday, June 11, 2021 02:49:03 AM Reco wrote: > > On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: > > > I don't bother with the 'discard' option in /etc/fstab, but perhaps I > > > should. The fstab(5) and

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread rhkramer
On Friday, June 11, 2021 02:49:03 AM Reco wrote: > On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: > > I don't bother with the 'discard' option in /etc/fstab, but perhaps I > > should. The fstab(5) and mount(8) manual pages are unclear if > > 'discard' applies to swap or ext4.

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Polyna-Maude Racicot-Summerside
Hi, On 2021-06-11 12:31 a.m., 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. > > I will

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Reco
On Fri, Jun 11, 2021 at 05:55:02AM -0700, David Christensen wrote: > On 6/10/21 11:49 PM, Reco wrote: > > On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: > > > I don't bother with the 'discard' option in /etc/fstab, but perhaps I > > > should. The fstab(5) and mount(8) manual

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread David Christensen
On 6/10/21 11:49 PM, Reco wrote: Hi. On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: I don't bother with the 'discard' option in /etc/fstab, but perhaps I should. The fstab(5) and mount(8) manual pages are unclear if 'discard' applies to swap or ext4. swapon(8):

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Andrew M.A. Cater
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. >

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread Reco
Hi. On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote: > I don't bother with the 'discard' option in /etc/fstab, but perhaps I > should. The fstab(5) and mount(8) manual pages are unclear if > 'discard' applies to swap or ext4. swapon(8): -d, --discard[=policy]

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-11 Thread David Christensen
On 6/10/21 9:31 PM, 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. I will also encrypt the new

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-10 Thread songbird
David Wright wrote: ... > I don't work for the CIA, so "basic" erasure methods are sufficient, > ie so-called logical and digital sanitisation, but not analogue > sanitisation/purging. I'm just encrypting stuff like personal bank > records etc, and not looking for anything like plausible

Re: Wiping an unencrypted SSD in preparation for encryption

2021-06-10 Thread Jeremy Ardley
On 11/6/21 12:31 pm, 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. I will also encrypt the new

Wiping an unencrypted SSD in preparation for encryption

2021-06-10 Thread David Wright
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. I will also encrypt the new /home partition, but for the remaining