wrong UUID assumed during boot
by no-windose from LinuxQuestions.org on (#53G1X)
My boot time is a bit long and it gives me the following message:
W: initramfs-tools configuration sets RESUME=UUID=long-alpha-numerical-string
W: but no matching swap device is available.
I get the same message after boot if I type at the command line:
# update initramfs -u
Moreover, if I display the block device attribute with
# blkid
I get a list of UUIDs, none of which matches the one showing up on the long string in the warning message. Obviously, the UUID called by initramfs is wrong. Apart from that, my Ubuntu 18.04 installation works well but I may not have a working swap space.
Could anyone help me set up the correct UUID at boot time?


W: initramfs-tools configuration sets RESUME=UUID=long-alpha-numerical-string
W: but no matching swap device is available.
I get the same message after boot if I type at the command line:
# update initramfs -u
Moreover, if I display the block device attribute with
# blkid
I get a list of UUIDs, none of which matches the one showing up on the long string in the warning message. Obviously, the UUID called by initramfs is wrong. Apart from that, my Ubuntu 18.04 installation works well but I may not have a working swap space.
Could anyone help me set up the correct UUID at boot time?