I've copied one disk content to another disk and now when system boots I get this:

resume: libgcrypt version: 1.5.0
resume: Could not stat the resume device file '/dev/sda6' please type in full path name to try again or press ENTER to boot the system

The problem is now i don't have /dev/sda6. I removed this row from fstab, restarted system but I still get this message.

migrated from serverfault.com Jan 27 '14 at 15:50

This question came from our site for system and network administrators.

up vote 5 down vote accepted

In addition to fstab, you also need to remove the disk from the boot process.

There are two things to check:

  • uswsusp.conf - if there's any line like resume /dev/sda7 there, comment it out.

  • initramfs - update it with update-initramfs -u -k all

  • Jenny thanks for this awesome answer. A lot of fixes for this same problem just list update-initramfs -u as the solution. However your command fixed my problem when I realized that -k all updates all images for versions of kernels known to initramfs. Thanks :) – portforwardpodcast Jan 3 '16 at 4:22
  • @portforwardpodcast I'm glad it helped! – Jenny D Jan 3 '16 at 10:19
  • perfect! what worked here was to comment a line at uswsusp.conf pointing to a valid LVM swap (there seems to have some incompatibility between them), and well... I am on a desktop anyway.. thx! – Aquarius Power Jul 2 '17 at 17:25

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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