You are not logged in.
I was following the Arch Wiki for using Luks to encrypt disk partitions with a passphrase.
I've rebooted into my system and want to encrypt the swap file so that I may suspend/resume.
I have swap on /dev/sda2
after turning swap off the guide instructs me to create a luks partition the same way I created a luks partitions in the guide above.
When I use "cryptsetup -c aes-xts-plain -y -s512 luksFormat /dev/sda2" it prompts for a "yes" and the directs back to the command prompt without asking for a password.
Additionally in the next setup of the wiki I'm instructed to enter "cryptsetup -c aes-xts-plain -s 512 -h sha512 -v luksFormat /dev/sda2" which after prompting for "yes" gives an error stating "invalid arguement error code 22"
When I go to check the partition with "cryptsetup luksDump /dev/sda2" is says it is not a valid luks partition.
What am I doing wrong, how do I fix this?
The older I get the less time I have.
Offline
When I use "cryptsetup -c aes-xts-plain -y -s512 luksFormat /dev/sda2" it prompts for a "yes" and the directs back to the command prompt without asking for a password.
You need type YES (all upper case), yes Yes yEs dont work.
Offline