Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Partition is created with: cryptsetup -y create tmp1 /dev/sdc3

sudo blkid /dev/sdc3 gives nothing and partition sdc3 cannot be mounted.

Am i rigth that partition created with cryptsetup create cannot have UUID before it is mounted in unencrypted state by "cryptsetup open".

Do i need to create partition as LUKS by c

share|improve this question

1 Answer 1

Just looks like you have your commands a little out of order. You seem to have a partition already so, to make a LUKS container you should use: cryptsetup {options} luksFormat /dev/'device'

Then: cryptsetup {options} luksOpen /dev/'device' 'label'


ArchLinux has an extremely detailed HowTo to help get you started: https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS

Most distro's will have a howto somewhere as well.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.