If your system starts and you get the error :
"Cannot Stat Resume Device File. Please type in the name to try again or press ENTER to boot the system"
The problem looks like the swap partition is not ready at the point the resume script / module is running, maybe because the device is wrong set in a configuration file (for example after a P2V migration).
You have two options.
edit /etc/uswsusp.conf and set the resume device with correct swap partition.
resume device = /dev/sda2 –> change it with the correct SWAP device.
/etc/uswsusp.conf — Configuration file for s2disk/s2both
Or, as second option, run these commands as follows:
# dpkg-reconfigure uswsusp # dpkg-reconfigure initramfs-tools