<div dir="ltr"><div><div><div><div><div>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:<br>
</div><a href="https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap">https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap</a><br><br></div>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.<br>
<br></div>Now when I boot I have to enter the swap passphrase and then I can log-in or resume as normal.<br><br></div>Maybe not super-silky smooth, but certainly not arduous.<br><br></div>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.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 November 2013 22:22, Jason Irwin <span dir="ltr"><<a href="mailto:jasonirwin73@gmail.com" target="_blank">jasonirwin73@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>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.<br>

</div><div>I'm thinking maybe a GRUB2 issue, but not 100% sure.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 23 November 2013 22:04, Mike Cardwell <span dir="ltr"><<a href="mailto:nlug@lists.grepular.com" target="_blank">nlug@lists.grepular.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>* on the Sat, Nov 23, 2013 at 09:09:52PM +0000, Jason Irwin wrote:<br>
<br>
> I have been testing out exciting new (to me) features like sleep and<br>
> hibernate. Sleep works a total treat. Close the lid and it's snooze time.<br>
> Open the lid, log-in and all is right.<br>
><br>
> Hibernate...err...not so much. It all looks good. I can see the screen<br>
> lock, lots of disc activity and then the laptop powers off; but on restart<br>
> it is back to the usual log-in screen. No resume of previous session.<br>
<br>
</div>Do you have a swap partition and is it at least as large as the amount of<br>
memory that you have? IIRC, Linux hibernate uses the swap partition to<br>
store the contents of RAM during hibernation...<br>
<span><font color="#888888"><br>
--<br>
Mike Cardwell  <a href="https://grepular.com/" target="_blank">https://grepular.com/</a>     <a href="http://cardwellit.com/" target="_blank">http://cardwellit.com/</a><br>
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F<br>
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4<br>
</font></span><br></div></div>_______________________________________________<br>
Nottingham mailing list<br>
<a href="mailto:Nottingham@mailman.lug.org.uk" target="_blank">Nottingham@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/nottingham" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a><br></blockquote></div><br></div>
</blockquote></div><br></div>