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.
No comments:
Post a Comment