[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help! Borked suspend/hibernate after adding swap partition



Le 14/12/2019 à 14:20, Ottavio Caruso a écrit :

$ sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64
I: The initramfs will attempt to resume from /dev/sda7
I: (UUID=d823f1ee-2e16-4327-b0c1-639f377002bb)
I: Set the RESUME variable to override this.
(...)
I've also added:
GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb"

Wrong syntax. It should be "resume=UUID=d823...".
This will override the RESUME value embedded into the initramfs by update-initramfs.

to /etc/default/grub

and "sudo update-grub"

but I don't have "/etc/initramfs-tools/conf.d/resume"

Is this file necessary?

No. This file used to define the RESUME variable, but it is not created by the installer any more and RESUME can be defined in any other configuration file in /etc/initramfs-tools/conf.d or in /etc/initramfs-tools/initramfs.conf. If RESUME is not defined, update-initramfs will use the active swap.


Reply to: