[dm-crypt] Problem with hibernate on a crypt,lvm-system

Heiko Rosemann heiko.rosemann at web.de
Thu Aug 1 23:39:21 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/01/2013 09:58 AM, Andreas Reschke wrote:
> Hi there,
> 
> I'm using Fedora 19 on 2 different Laptop with the same
> installation: lvm with crypt (luks). [...] Hibernate is not working
> > Laptop is going to sleep; poweroff; then power on; Laptop is
> normal booting, no resume prior status. On the same Laptop with
> CentOS 6.4 hibernate works perfect.
> 
> Any hint?

This is distro-specific stuff, but the problem probably is either that
Fedora like many distros reencrypts swap with a different, random key
at each boot (so the hibernation image will be unreadable) or that the
Fedora initramfs does not luksOpen the partition before it tries to
resume from it, so the resume fails to find the hibernation image. Or
maybe both.

IMHO, you should address this to Fedora to see if the guys there have
a strategy to work for your use case. For my archlinux system I had to
build custom initramfs hooks to luksOpen the swap partitions first.

HTH, Heiko
- -- 
Mein PGP-Key zur Verifizierung: http://pgp.mit.edu

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlH61YkACgkQ/Vb5NagElAX7ugCgiws5UC5s2tgbmKhyVvA7oEaA
zTwAmgLOrNsz1RQXzRGpm671eLkcSmh8
=/T2q
-----END PGP SIGNATURE-----



More information about the dm-crypt mailing list