Comment 89 for bug 1768230

supersasho (supersasho) wrote :

Finaly I was able to get rid of the 30s delay.

TL;DR
1. Changed RESUME=UUID=... to RESUME=none in /etc/initramfs-tools/conf.d/resume (removing the file didn't help)
2. sudo update-initramfs -u

---
I've got a custom LVM layout.

$ cat /etc/lsb-release
DISTRIB_ID=neon
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="KDE neon User Edition 5.15"

$ uname -r
4.15.0-45-generic

$ sudo apt-cache policy initramfs-tools
initramfs-tools:
  Installed: 0.130ubuntu3.6
  Candidate: 0.130ubuntu3.6
...

$ sudo cat /etc/initramfs-tools/conf.d/resume
RESUME=none

$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic

$

With "RESUME=UUID..." in /etc/initramfs-tools/conf.d/resume:
[ 3.418544] Btrfs loaded, crc32c=crc32c-intel
[ 3.487208] BTRFS: device fsid ... devid 1 transid 272021 /dev/mapper/vg_00-lv_root
[ 34.587759] BTRFS info (device dm-0): disk space caching is enabled

With "RESUME=none" in /etc/initramfs-tools/conf.d/resume:
[ 3.422572] Btrfs loaded, crc32c=crc32c-intel
[ 3.487216] BTRFS: device fsid ... devid 1 transid 272833 /dev/mapper/vg_00-lv_root
[ 3.501201] BTRFS info (device dm-0): disk space caching is enabled

Hope it helps someone.