The initramfs will attempt to resume from /dev/dm-1
It may happen when you install another OS alongside the first one.
Means that swap partition has changed UUID and you need to adjust that in fstab
.
To check that run sudo blkid
, that gives you actual UUIDs of your swaps, swapon -s
will show which one is active, then compare its UUID to the one in /etc/fstab
.
If different, edit/create the file /etc/initramfs-tools/conf.d/resume
with RESUME=UUID=<swap UUID from blkid>
. THen run update-initramfs -u -k all
and if it doesn't complain, you win.
This might actually be a (not even new) bug as mentioned here. They and others suggest to add RESUME=none
to /etc/initramfs-tools/conf.d/resume
.
I needed to sudo-create the file /etc/initramfs-tools/conf.d/resume
first on my U 19.04 machine. With sudo update-initramfs -u -k all
you test and deploy the initramfs image. See details here.