You are not logged in.
Hello!
I was trying to think of an easy way to get encrypted swap to work with pm-hibernate. It seems like I can't use /dev/mapper/swap because it tries to resume from swap before trying to unlock the swap partition.
However, it does asks for the passphrase to unlock / (root) before trying to resume from swap.
So I was thinking... what if I got rid of my swap partition and used a non-encrypted swap file like in /mnt/swap, as / is encrypted anyways. Would this work?
Also, what are the main disadvantages of using a swap file?
Thanks!
Last edited by Odd-rationale (2009-01-09 17:02:38)
Offline
Swap files can work just as well: http://lkml.indiana.edu/hypermail/linux … /1690.html
You might get the separate swap partition to work after adding the apropriate cryptdevice=/dev/<luks-part>:<volume-group> entry for the swap partiton though.
Offline
Edit: Sorry, I sent this posting to the wrong thread (and therefore removed it here again) :)
It was intended for this thread: http://bbs.archlinux.org/viewtopic.php?pid=480648
Last edited by gst (2009-01-14 22:13:16)
Offline