You are not logged in.
I'm not lucky with encryption these days: keyfile on USB stick doesn't work ( http://bbs.archlinux.org/viewtopic.php?id=52507 ), so revert to the passphrase thing.
I had swap encryption working using the old rc.local way etc. now there's a new way... "SWAP" keyword inside /etc/crypttab and no rc.local changes, wonderful right? Wrong. It doesn't work, if you put (example)
swap /dev/sda3 SWAP -c aes-xts-plain -h whirlpool -s 512
inside /etc/crypttab and reboot, it doesn't create any /dev/mapper/swap device (so it can't swapon).
Where's the issue?
Last edited by ekerazha (2008-08-20 13:22:35)
Offline
hi ekerazha.
i am playing around with system encryption a bit lately and i am experiencing exactly the same. my question. were you able to solve this?
Offline
hi ekerazha.
i am playing around with system encryption a bit lately and i am experiencing exactly the same. my question. were you able to solve this?
No... maybe reverting to the "old" way (no SWAP keyword etc.)
Last edited by ekerazha (2008-08-23 16:36:41)
Offline
Opened a bug report: http://bugs.archlinux.org/task/11295
Last edited by ekerazha (2008-08-23 16:45:03)
Offline
It does that on purpose apparently. Your swap partition probably has a luks header already and the SWAP statement in /etc/crypttab will not over write anything with a luks header.
dd if=/dev/zero of=/dev/whateveryourswapis
e.g. (dd if=/dev/zero of=/dev/sda3)
and then reboot, should do the trick.
Offline
Very good idea, killecho7!
I have this working myself.
Offline