OK, I created a new script in /etc/acpi/suspend.d/95-set-image-size.sh with the content:
#/bin/bash echo 1048576 > /sys/power/image_size That works fine. The script gets called by /etc/acpi/prepare.sh which in turn is executed from within /etc/acpi/hibernate.sh. It's also run when going into suspend to RAM mode but that doesn't hurt. I think creating a new file is better than altering an existing one for this way it won't be overwritten by updates. Anyway, where is the RAM content being written on the disk? On the swap partition? Then what if your RAM is full and the swap partition contains data as well? Or is a file used for hibernation? Questions over questions... -- Suspend to disk fails: image_size too small https://bugs.launchpad.net/bugs/88377 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
