For some reason, when the swap partition UUID changes, Debian takes much longer time to boot due to swap partition UUID mismatch in both /etc/fstab
and /etc/initramfs-tools/conf.d/resume
. This can happen when swap partition gets reformatted and assigned with new UUID.
Here is how to fix it:
- Get into root:
$ su
$ export PATH=/usr/sbin:/sbin:$PATH