| View previous topic :: View next topic |
| Author |
Message |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Sun Feb 20, 2005 1:19 pm Post subject: How to swsusp2 + encrypted swap partition ??? |
|
|
I just got the encryption of the swap partition up and running, using the new baselayout, but this disables the possibility to use swsusp2, since it's no longer /dev/hda2 used as swap-device, but /dev/mapper/crypt-swap.
To be able to use swsusp2 and an encrypted swap partition together, an advanced installation with an initrd is needed, but I am afraid I do not have the time and knowledge to perform that step.
The necessary hints are in the softwaresuspend howto.
All the swsusp2 stuff should be compiled as modules, and a proper initrd has to be setup.
Can someone explain in detail, how to set up this initrd and the necessary kernel-options, to make this work? _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Mon Feb 21, 2005 3:09 pm Post subject: |
|
|
Noone any idea?
Where are the "initrd" specialists from this forum?
If noone already has a ready-to-use solution, at least some hints would be appreciated (but I really wonder, because encrypting "swap" is very popular at the moment, you never can be safe enough, and I am sure there is also a growing swsusp2 fan circle arround, combining both leeds to the best result ever, I hope). _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
basquiat n00b


Joined: 22 Apr 2003 Posts: 24 Location: Mannheim, Germany
|
Posted: Tue Mar 22, 2005 4:15 pm Post subject: Re: How to swsusp2 + encrypted swap partition ??? |
|
|
| Master One wrote: | The necessary hints are in the softwaresuspend howto.
All the swsusp2 stuff should be compiled as modules, and a proper initrd has to be setup.
Can someone explain in detail, how to set up this initrd and the necessary kernel-options, to make this work? |
As I'm thinking about encrypting my laptop's filesystems, I'd be very interested in this point. Encryption is pretty useless if one get's your laptop between suspend and resume and swap is "plain text".
So did you get further with your work, Master one?
Regards,
basquiat |
|
| Back to top |
|
 |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Tue Mar 29, 2005 11:44 am Post subject: |
|
|
I don't have the time to get into it, so I skipped the idea of using swsusp and sticked with swap encryption the normal way using the latest ~x86 baselayout. If someone would come up with a howto including the steps to create the proper initrd image, I'd probably give it a try again, but on the other hand swsusp2 is still too experimental concerning driver handling (still no solution if using ATI's fglrx module and the intel_agp kernel module). _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
strerror Retired Dev

Joined: 16 Jan 2004 Posts: 24
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|