When you have the problems after updating Ubuntu from 16 to 18 and try to update the Linux kernel and getting the following messages?



update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.15.0-62-generic
W: initramfs-tools configuration sets RESUME=UUID=18e2a087-bb29-4ac0-9b80-4ca749b63730
W: but no matching swap device is available.



You can change and use the new creates swap partition on your Linx server.
First follow the instructions :
How To Add Swap Space on Ubuntu 18.04
Then you can do the following: vi /etc/initramfs-tools/conf.d/resume Comment the old partition with # And add the following text to this file. RESUME=/swapfile Now test the new configuration. update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.15.0-62-generic update-initramfs: Generating /boot/initrd.img-4.15.0-60-generic If no errors are showing reboot the server and test if it works fine again?