Encrypted External Drive1 min read

First, let’s grab the packages.

Then, let’s enable the modules.

Next, let’s use badblocks to identify bad sectors and overwrite the disk with random data at the same time (this took about 10 hours on my 640GB drive).

When that’s done, you’ll want to add a filesystem to the drive

Next, let’s LUKS encrypt the drive.

You’ll need to answer YES to the question in all caps to create the encrypted partition. Then, you’ll want to mount the volume.

This will open the volume at /dev/mapper/securebackup. Next, we need to put a filesystem on the encrypted partition.

Once that’s done, you are ready to mount the encrypted partition to write to it.

When you are done working on your encrypted volume, you’ll want to unmount it, and then close the LUKS encrypted volume like this.

And, there are the simple steps to an encrypted backup disk.



I love learning new things and trying out the latest technology.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.