Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently got a new laptop (Thinkpad X230). I didn't really have time to do a fresh install so I copied my install (xubuntu 12.04) over from my old machine (Thinkpad X61). Now when I try to hibernate it seems to do the Hibernate step fine, but doesn't seem to try and resume when booting back up. It just does a fresh boot. Is there something I need to do so the system knows where to look for the hibernation data?



share|improve this question
Welcome to Ask Ubuntu! Please share the output of the following files and/or commands with us using the instructions here: command dmesg , file /var/log/boot.log – izx Jun 22 '12 at 7:03
up vote 2 down vote accepted

Thanks to the pointer to /var/log/boot.log, I noticed the line

swapon: /dev/sda5: software suspend data detected. Rewriting the swap signature.

Some googling around that lead me to bug 499940, which gave me the name of the file that controls where to look for the resume data, /etc/initramfs-tools/conf.d/resume. This file still had my old swap partition UUID in it. Updating that info and running sudo update-initramfs -u solved the issue and hibernate now works.

I was wondering if there was an official way to update this file/data and found a Debian bug (#565225) around the issue, but it has no resolution. Hand editing /etc/initramfs-tools/conf.d/resume seems to be the only solution other than perhaps something involving adding/removing the initramfs-tools package, since the file is created by the postinstall hooks.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.