Ok. 
So just to check that I understand this correctly. I need to put 
resume=/dev/mapper/cswap in my menu.lst. Then I need to change my 
/etc/crypttab, so that I use a static key file in stead of /dev/urandom.
Is this correct? If so, I will try it at once and post the result of the test, 
so that we can get this bug closed in a hurry :)

Question: Why to I need to manually write the resume=/dev/mapper/cswap
to menu.lst? Why is this not done automatically during install (or when
I enable hibernate or something like that?).

Suggestion: May I suggest that the user gets some kind of warning, if she/he is 
attempting to hibernate and one of these conditions is true:
 1: menu.lst does not have an entry with resume=/path/to/swap.
 2: swap is encrypted with a random key, thus making it impossible to read the 
data on it during next boot.
 3: other factors that may make it impossible to recover from hibernation.

-- 
Hibernate causes data loss
https://launchpad.net/bugs/98680

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to