Skip to content

Ubuntu 13.04 – hibernate issue – could not stat the resume device file /dev/dm-0

After installing a fresh Ubuntu 13.04 I noticed the laptop would no longer hibernate when the lid was closed.

I installed the hibernate package ( apt-get install hibernate ) and then ran “sudo hibernate”

This resulted in a laptop that would not boot. initramfs issue that could not be circumvented through recovery mode:

resume: libcrypt version: 
resume: could not stat the resume device file /dev/dm-0
Please type in the full path name to try again or press ENTER to boot the system:

Pressing enter does nothing, the only keystroke that works is ctrl+alt+del

So after some googling this is what I tried:

  1. Boot into ubuntu live cd/usb – the same one I used to install ubuntu earlier today
  2. Mount my system and chroot into it:
    mkdir /mnt/temp/
    mount /dev/sda1 /mnt/temp/
    cp /etc/resolv.conf /mnt/temp/etc/resolv.conf
    chroot /mnt/temp/
    mount /proc
    (optional command: not sure what caused the issue) apt-get purge uswsusp
    (optional command: not sure what caused the issue) apt-get purge hibernate
    dpkg-reconfigure initramfs-tools
  3. Reboot the live cd and see if that works.
Published inLinux

6 Comments

  1. Rick Rick

    You saved my weekend. I too tried to hibernate. I guess suspend has to do. Great article.Sometimes it is the smallest things that screws you over.

  2. Ilya Egorov Ilya Egorov

    Thank you so much! You really helped me a lot!!!

  3. Peter Peter

    “Pressing enter does nothing, the only keystroke that works is ctrl+alt+del”

    For me Esc and then Alt+Print+E (kills all tasks, actually Alt+Fn+End+E on my notebook keyboard) made the system continue to boot. Then I uninstalled hibernate via the software center, which immediately solved the problem.

  4. Corey Corey

    Thank you so much! I thought I hosed a Mint install, but this saved me.

  5. Ski Ski

    Thank you! Thank you! Thank you!

    I had separate mount points for /, /usr, & /var, but once I figured out I needed to mount the other partitions into /mnt/temp, apt-get purge uswsusp did the trick! It booted back up with no additional problems.

    I initially only ran apt-get purge hibernate, but when I ran dpkg-reconfigure initramfs-tools, I got the same error about ‘unable to find’ /dev/dm-0. That is when I ran apt-get purge uswsusp, and dpkg-reconfigure initramfs-tools came up clean, so I rebooted.

  6. jay jay

    read somewhere that hibernate and possibly suspend were inactivated in the kernel because win 8 wont allow them to wake up under uefi.

Leave a Reply

Your email address will not be published. Required fields are marked *

© dtbaker.net