Closed nis65 closed 1 year ago
As an add on: I just discovered that having a working (and big enough) swap partition (and pm-utils
installed) is enough to make systemctl hibernate
work and to wake up in ubuntu 2204. Neither config in /etc/initramfs-tools/conf.d/resume.conf
nor a kernel command line argument required any more.
Description
While attempting to test the hibernate feature on my potos based client, I discovered that while the configured swap partition was created, there was no entry in
/target/etc/fstab
for it.Instead
curtin
decided to create a 4GiB swap file instead:This fix makes
curtin
to do the right thing, myfstab
had this line after an install:Dependencies
none (yet).