https://ubuntuhandbook.org/index.php/2021/08/enable-hibernate-ubuntu-21-10/
/etc/default/grub
RESUME=UUID=d52629c8-4213-4427-a025-3afdeed2b5d2
/etc/initramfs-tools/conf.d/resume
RESUME=UUID=d52629c8-4213-4427-a025-3afdeed2b5d2
24.04改為
GRUB_CMDLINE_LINUX_DEFAULT="splash debug loglevel=7 resume=/dev/sda4"
sda4指的是swap的partition.
沒有留言:
張貼留言