From b04c724b5be76f0de844bef8f0a1e4e72b04a20c Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 19 Jan 2020 13:47:33 +0200 Subject: [PATCH] etc/default/grub.d: add flags to disable hibernating --- etc/default/grub.d/no-hibernating.cfg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/default/grub.d/no-hibernating.cfg diff --git a/etc/default/grub.d/no-hibernating.cfg b/etc/default/grub.d/no-hibernating.cfg new file mode 100644 index 00000000..9b7aa0d5 --- /dev/null +++ b/etc/default/grub.d/no-hibernating.cfg @@ -0,0 +1,7 @@ +# I think resume causes disabled swap partition to be used and may be a +# problem when booting. I also generally don't want to use hibernation as +# secure boot pushes away from it. +# noresume "Disables resume and restores original swap space." +# hibernate=no "Disable hibernation and resume." +# nohibernate = "[HIBERNATION] Disable hibernation and resume." +GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT noresume hibernate=no nohibernate"