If you get error message where /scripts/local-block does not find resume, The fix is to make a /etc/initramfs-tools/conf.d/resume
folder and file.
sudo mkdir -p /etc/initramfs-tools/conf.d/
sudo blkid
… take swap partition data to the next file
sudo nano /etc/initramfs-tools/conf.d/resume
…. a contents
RESUME=UUID=e1c27523-a2ce-47af-a98d-f65d94e95a8a
… replace UUID=e1c27523-a2ce-47af-…. with correct data and save and quit
Ctrl o
Ctrl x
…. update intramfs
sudo update-initramfs -u