Follow

@acdha Yeah, this is an empty drive that I’m about to encrypt. Filling it with random data is the first step, which I may be cargo culting, but IIRC the idea is that it prevents leaking the amount of data on the drive or something.

Wait @pganssle, isn’t /dev/zero the opposite of random? Cc: @acdha

@cnx @acdha Yes, but the way it works is that you create a dm-crypt partition seeded from /dev/urandom, then you mount it and fill it with 0s. The encryption translates the 0s into random bytes.

Here are the instructions I usually use: wiki.archlinux.org/title/Dm-cr

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.