[Nottingham] Hibernate issues

Jason Irwin jasonirwin73 at gmail.com
Sun Nov 24 17:13:59 UTC 2013

And fixed. Not being able to resume from hibernate when using encrypted
swap is apparently a known issue, I think it's down to /dev/random being
used for the swap crypto. The easy answer is to stop using /dev/random and
use a known passphrase. I followed this guide:

The only difference I noted on 13.10 was that I had no
/etc/acpi/hibernate.sh file as the package "vlock" isn't installed. So I
skipped that.

Now when I boot I have to enter the swap passphrase and then I can log-in
or resume as normal.

Maybe not super-silky smooth, but certainly not arduous.

In fiddling around I also managed to totally b0rk the boot sequence. I was
expect to have to do all sorts of crazy chroot muck from a live USB, but
no. "e" in the GRUB2 menu and pass "noresume" to the kernel. Sorted. Then
really sorted by the above steps.

On 23 November 2013 22:22, Jason Irwin <jasonirwin73 at gmail.com> wrote:

> Yup it does and I have 8GB ram and a 16GB swap. I can't recall the details
> right this second, but deffo a resume point pointing at a new UUID. I am
> wondering if GRUB2 simply isn't invoking it.
> I'm thinking maybe a GRUB2 issue, but not 100% sure.
> On 23 November 2013 22:04, Mike Cardwell <nlug at lists.grepular.com> wrote:
>> * on the Sat, Nov 23, 2013 at 09:09:52PM +0000, Jason Irwin wrote:
>> > I have been testing out exciting new (to me) features like sleep and
>> > hibernate. Sleep works a total treat. Close the lid and it's snooze
>> time.
>> > Open the lid, log-in and all is right.
>> >
>> > Hibernate...err...not so much. It all looks good. I can see the screen
>> > lock, lots of disc activity and then the laptop powers off; but on
>> restart
>> > it is back to the usual log-in screen. No resume of previous session.
>> Do you have a swap partition and is it at least as large as the amount of
>> memory that you have? IIRC, Linux hibernate uses the swap partition to
>> store the contents of RAM during hibernation...
>> --
>> Mike Cardwell  https://grepular.com/     http://cardwellit.com/
>> OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
>> XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4
>> _______________________________________________
>> Nottingham mailing list
>> Nottingham at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/nottingham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/nottingham/attachments/20131124/64c57694/attachment.html>

More information about the Nottingham mailing list