You are not logged in.
Hello,
I am currently doing a fresh install of Archlinux, with the latest version, October 2010.
This system is a laptop containing confidential data, so I use a gift encrypted lvm and dmcryp
I create two partitions on my hard drive:
- sda1 formatted in Ext4 with / boot order to boot the system
- sda2 will be encrypted lvm and formatted itself contain two sub-scores:
- Swap
- / Root formatted in ext4
After formatting my hard drive into two partitions and created the boot with cfdisk, I set what is necessary :
modprobe dm-crypt
modprobe dm-mod
Then I start cryptography / sda2
cryptsetup luksFormat -c aes-xts-plain -y -s 512 /dev/sda2
Then the system asks me to confirm "yes", what I'm doing.
But then, big problem when it should ask me for my password, nothing, it does not ask for password!
So I continue to see what it will give. maybe the password will be asked later.
cryptsetup luksOpen /dev/sda2 sda2crypt
And not surprisingly, I get the answer
Device /dev/sda2 is not a valid LUKS device.
Did I forget something? would I mistaken somewhere?
Thank you for your help to guide me to the solution
Offline
But then, big problem when it should ask me for my password, nothing, it does not ask for password!
that's because you didn't type what cryptsetup asked you to type. I highlighted the relevant word for you.
not blaming you, I did the same mistake the first time.
# cryptsetup luksFormat /dev/sda2
WARNING!
========
This will overwrite data on /dev/sda2 irrevocably.
Are you sure? (Type --------->!!! uppercase !!!<--------- yes):
Offline
Thank you very much for your help.
The solution is really simple, but we had to know it.
Just write not
yes
but
YES
Offline