I would like to get hibernation working on my notebook which has SSD and no swap partition. Suspend to RAM works just fine.

I started following this guide to use a swap file. However, squeeze/M11 do not have the uswsusp package. Is there another/better way to get this working (i.e. without uswsusp) or should I install the uswsusp package from sid? Thanks.

There is a hibernate script package in the repos---reading the man page takes a while since there is a zillion options. It may be possible to specify exactly where to put the state file, say on your user partition, but I have not read its man page completely.

_________________The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

As I understand it, there are at least three ways of doing hibernation.

1. There is a built-in kernel method which is used by default. It has the least options and requires a swap partition.

2. There is a user space program, uswsusp, although this package is not in squeeze.

3. There is TuxOnIce (formerly suspend2). This requires kernel patching and there is no package in squeeze.

I did try the hibernate script, but it complained that TuxOnIce was missing and looking at the man page, it appears to use that for hibernation. Whilst TuxOnIce has more features than uswsusp, the latter should be simpler to set up.

So I installed the uswsusp package from sid. There were no problems other than update-initramfs failing, so I did that manually. Running s2disk will now hibernate my machine, but I have not figured out how to make it resume from the image. It always does a full boot.

All times are UTC - 5 hours [ DST ] | It is currently Sun Aug 02, 2015 6:35 pm

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum