Dec 26, 2012

openSUSE Forums: What's the cryptsetup command to encrypt a drive with password (no LUKS)?

openSUSE Forums
openSUSE Forums
What's the cryptsetup command to encrypt a drive with password (no LUKS)?
Dec 26th 2012, 22:17

This info is oddly hard to find on google so asking it here. I want to format an external drive to ext4 and encrypt it with a password. The best way I know of is cryptsetup with dm-crypt support so I wanna use that. Although the Yast - Partitioner can do this on its own, I'd rather know how to do it by hand as well (especially since Yast asks to install something called pam_mount which I don't think I need).

My question is, what's the cryptsetup command to encrypt an ext4 partition (or create / format one as encrypted)? Is it something like "cryptsetup dev/sda1/ mypassword123"? I don't wish to use LUKS for this... just simple encryption so that whenever I mount the drive I'm asked for a password. Also no LVM.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: