Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to swsusp2 + encrypted swap partition ???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Sun Feb 20, 2005 1:19 pm    Post subject: How to swsusp2 + encrypted swap partition ??? Reply with quote

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
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Mon Feb 21, 2005 3:09 pm    Post subject: Reply with quote

Noone any idea?

Where are the "initrd" specialists from this forum? :wink:

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
View user's profile Send private message
basquiat
n00b
n00b


Joined: 22 Apr 2003
Posts: 24
Location: Mannheim, Germany

PostPosted: Tue Mar 22, 2005 4:15 pm    Post subject: Re: How to swsusp2 + encrypted swap partition ??? Reply with quote

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
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Tue Mar 29, 2005 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
strerror
Retired Dev
Retired Dev


Joined: 16 Jan 2004
Posts: 24

PostPosted: Thu Jun 16, 2005 1:27 pm    Post subject: Reply with quote

You might be interested in my HOWTO at:
http://www.disciplina.net/howto/HOWTO-lvm_dm-crypt_suspend2.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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