The problem is running "mkswap", this will generate a new UUID and thus obsolete the information in both the /etc/fstab and /etc/initramfs- tools/conf.d/resume files -- which is why you need to edit those afterwards.
-- swap not being mounted on boot https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs