You are not logged in.
Guess I comitted a misstake. I ecexuted "ecryptfs-setupt-swap", as I don't use hibernation I was okay with its flaws.
However, whenever I boot my system now, I get an output... something like "start job dev-mapper-swap.device" (sorry for not knowing the exact wording) which after trying for 1m30s finally fails.
How can I undo the mess I comitted on my system?
Which additional informations do you need?
Thanks in advance...
Last edited by macaco (2014-11-22 13:59:00)
Offline
It seems obvious that an encrypted swap partition can't be mounted without a handler for the encryption. If you want to undo; execute mkswap on the file/partition you have setup to use for swap; it'll setup a new & clean swapspace
Offline
Thanks!
That and "resetting" the fstab did the trick. Now the system boots normal.
Guess I will try to setup a dm-crypt swap then.
Offline
Just a terminal question (although solved...)
This means that the dm-crypt swap is already working???
[user@notebook ~]$ sudo cryptsetup status /dev/dm-0
/dev/dm-0 is active and is in use.
type: PLAIN
cipher: aes-cbc-essiv:sha256
keysize: 256 bits
device: /dev/sda2
offset: 0 sectors
size: 6142640 sectors
mode: read/write
Last edited by macaco (2014-11-22 17:10:40)
Offline
Did you specify dm-0 as swap-device instead of sda2?
Offline
It's defintely my swap.
[user@laptop ~]$ swapon -s
Nome do arquivo Tipo Tamanho Usado Prioridade
/dev/dm-0 partition 3071316 31880 -1
It managed to get device mapped.
As in the /etc/fstab
# Encrypted volumes
/dev/mapper/swap swap swap defaults 0 0
So dev mapper gave it a name
Offline