Bug#981433: grub-efi-amd64: Grub keeps adding resume= after package update, triggering other bugs in the process

Colin Watson cjwatson at debian.org
Sun Jan 31 11:49:29 GMT 2021


On Sun, Jan 31, 2021 at 09:47:17AM +0100, Mariusz Gronczewski wrote:
> after update, *again*, GRUB has re-added resume=/dev/sda6
> 
> diff --git a/default/grub b/default/grub
> index 7f80c69..911da28 100644
> --- a/default/grub
> +++ b/default/grub
> @@ -35,3 +35,5 @@ GRUB_CMDLINE_LINUX_DEFAULT="cgroup_enable=memory
> kvm-intel.nested=1 net.ifnames=
>  # Uncomment to get a beep at grub start
>  #GRUB_INIT_TUNE="480 440 1"
> 
> +
> +GRUB_CMDLINE_LINUX="resume=/dev/sda6 net.ifnames=0
> cgroup_enable=memory swapaccount=1"
> 
> 
> 
> Aside from the fact that I do not WANT to use resume and I disabled it via
> 
>     initramfs-tools/conf.d/resume:
>     RESUME=none
> 
> (or is it wrong way?)

initramfs-tools config is unrelated to GRUB config.

I think you might find that things work better if you explicitly set
GRUB_CMDLINE_LINUX="" in /etc/default/grub (or maybe only the bits you
want, if net.ifnames etc. are relevant), rather than deleting it
entirely.

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list