To fix local-block resume error

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 like


… replace UUID=e1c27523-a2ce-47af-…. with correct data and save and quit

Ctrl o
Ctrl x

…. update intramfs

sudo update-initramfs -u