On Thu, Jul 01, 2010 at 01:08:22PM -0000, LA wrote:
> Alberto Bertogli : What is the exact setup of your encrypted swap? Is
> it in an LVM? Has it been encrypted with a random key? Because the
> script that you gave doesn't work with me.
It's encrypted with dm-crypt (that is, using cryptsetup) directly over the
partition and without an LVM layer in between.
There is no random key, that's the whole point: I do NOT want an unattended
boot/resume, that's why I encrypted the swap with a non-random key in the
first place.
About the script not working, it depends on a lot of things in your
environment, so I think it's normal for it not to work if your setup is
different than mine.
On Thu, Jul 01, 2010 at 01:08:22PM -0000, LA wrote:
> Alberto Bertogli : What is the exact setup of your encrypted swap? Is
> it in an LVM? Has it been encrypted with a random key? Because the
> script that you gave doesn't work with me.
It's encrypted with dm-crypt (that is, using cryptsetup) directly over the
partition and without an LVM layer in between.
There is no random key, that's the whole point: I do NOT want an unattended
boot/resume, that's why I encrypted the swap with a non-random key in the
first place.
About the script not working, it depends on a lot of things in your
environment, so I think it's normal for it not to work if your setup is
different than mine.
Thanks,
Alberto