Reproducible from a clean install of focal daily within KVM (on an x86_64 host):
wget http://cdimage.ubuntu.com/kubuntu/daily-live/20200311/focal-desktop-amd64.iso qemu-img create -f qcow2 ubuntu.qcow2 10G kvm -m 4096 -smp 2 -cdrom focal-desktop-amd64.iso ubuntu.qcow2 [do a minimal install] [boot into the installed system:] kvm -m 4096 -smp 2 ubuntu.qcow2 [within the virtual env:] sudo -s apt install hibernate [make sure the swap file is large enough:] swapoff -a dd if=/dev/zero of=/swapfile bs=1M count=1500 mkswap /dev/swapfile swapon -a hibernate-disk
dmesg output attached.
Reproducible from a clean install of focal daily within KVM (on an x86_64 host):
wget http:// cdimage. ubuntu. com/kubuntu/ daily-live/ 20200311/ focal-desktop- amd64.iso amd64.iso ubuntu.qcow2
qemu-img create -f qcow2 ubuntu.qcow2 10G
kvm -m 4096 -smp 2 -cdrom focal-desktop-
[do a minimal install]
[boot into the installed system:]
kvm -m 4096 -smp 2 ubuntu.qcow2
[within the virtual env:]
sudo -s
apt install hibernate
[make sure the swap file is large enough:]
swapoff -a
dd if=/dev/zero of=/swapfile bs=1M count=1500
mkswap /dev/swapfile
swapon -a
hibernate-disk
dmesg output attached.