2019 May 15
Ubuntu 18.04 (VM snapshot) - works well.
2019 Sep 04:
$ sudo apt update && sudo apt upgrade -y
...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.0.0-27-generic
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-27-generic
Found initrd image: /boot/initrd.img-5.0.0-27-generic
Found linux image: /boot/vmlinuz-4.18.0-15-generic
Found initrd image: /boot/initrd.img-4.18.0-15-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-27-generic
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
$ sudo reboot
Baseline:
Fail:
```
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/mapper/ubuntu--vg-root: clean, 1934309/4136960 files, 1775141/16522240 blocks
```
Test 00:
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-tools/conf.d/resume
sudo update-initramfs -u
sudo reboot
Result: Fail
Test 01:
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-tools/conf.d/resume
sudo reboot
Result: Fail
Test 02:
# Add this RESUME config
sudo vim /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/ubuntu--vg-swap_1
# Update
sudo update-initramfs -u
2019 May 15
Ubuntu 18.04 (VM snapshot) - works well.
2019 Sep 04: postinst. d/initramfs- tools: img-5.0. 0-27-generic ubuntu- -vg-swap_ 1) postinst. d/zz-update- grub: 5.0.0-27- generic img-5.0. 0-27-generic 4.18.0- 15-generic img-4.18. 0-15-generic +.elf +.bin img-5.0. 0-27-generic ubuntu- -vg-swap_ 1)
$ sudo apt update && sudo apt upgrade -y
...
/etc/kernel/
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/
I: Set the RESUME variable to override this.
/etc/kernel/
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
done
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/
I: Set the RESUME variable to override this.
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
$ sudo reboot
Baseline:
Fail:
``` ubuntu- -vg-root: clean, 1934309/4136960 files, 1775141/16522240 blocks
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/mapper/
```
Test 00: tools/conf. d/resume
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-
sudo update-initramfs -u
sudo reboot
Result: Fail
Test 01: tools/conf. d/resume
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-
sudo reboot
Result: Fail
Test 02: tools/conf. d/resume /dev/mapper/ ubuntu- -vg-swap_ 1
# Add this RESUME config
sudo vim /etc/initramfs-
RESUME=
# Update
sudo update-initramfs -u
Result: Fail