You are not logged in.

#1 2010-05-02 18:30:52

train
Member
Registered: 2007-03-17
Posts: 38

Hibernate to dm_crypt swap

Is it possible to hibernate to a dm_crypt volume? On my Thinkpad R60 i got suspension working with pm-utlis, but i am not sure if hibernation is possible, because of the encrypted disk.

I started the installation as follows:
- created a small unencrypted ext2/3 partion
- created a large primary partion.
- created a dm_crypt on that partion
- created several logical volumes and a swap on the dm_crypt volume

Offline

#2 2010-05-03 04:03:41

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Hibernate to dm_crypt swap

Yes, it is possible. I'm doing it. You'll need the encrypt hook in your /etc/mkinitcpio.conf, and you'll need to supply the right arguments on your kernel boot line in /boot/grub/menu.lst. But yes, it does work.

Offline

#3 2010-05-04 10:56:24

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Hibernate to dm_crypt swap

i use 'filesystems on top of lvm on top of dm_crypt' works fine for me. i found it to be explained well on the wiki page about dm_crypt


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#4 2010-05-07 19:51:32

train
Member
Registered: 2007-03-17
Posts: 38

Re: Hibernate to dm_crypt swap

It works now thanks.

My problem was: i forgot the 'resume' hook in HOOKS in mkinitcpio.conf
right now my HOOKS looks like:
HOOKS="base udev autodetect pata scsi sata usbinput keymap encrypt lvm2 resume openswap filesystems"

This is cool. Thanks.

Offline

#5 2010-05-15 15:52:49

aline
Member
Registered: 2009-12-17
Posts: 22

Re: Hibernate to dm_crypt swap

Great! It also works for me. Thanks!

Offline

Board footer

Powered by FluxBB