[Bug 1780598] Re: grub does not allow to specify recovery-only kernel options

Ubuntu Foundations Team Bug Bot 1780598 at bugs.launchpad.net
Sun Jul 8 08:21:19 UTC 2018


The attachment "grub-mkconfig.patch" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1780598

Title:
  grub does not allow to specify recovery-only kernel options

Status in grub2 package in Ubuntu:
  New

Bug description:
  In /etc/default/grub are two variables that enable customization of
  kernel options : GRUB_CMDLINE_LINUX_DEFAULT for non-recovery entries
  and GRUB_CMDLINE_LINUX for all entries (both recovery and non-
  recovery).

  It is not possible to specify kernel options to be used for recovery
  entries but not regular ones, which in my case is problematic as
  modesetting parameters are at a contradiction in those cases.

  I propose that the GRUB_CMDLINE_LINUX_RECOVERY variable would allow to
  do so. This requires exporting this variable in the grub-mkconfig
  script, so that it can be read by the 10_linux script.

  There, I propose to keep the usual behaviour when the variable has not
  been set, and to completely eschew it when the variable is set.

  I am reporting here as it appears that upstream grub 10_linux does not
  have a mechanism for recovery entries at all, so I think it is Ubuntu
  specific.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: grub-common 2.02-2ubuntu8 [modified: usr/sbin/grub-mkconfig]
  Architecture: amd64
  SourcePackage: grub2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1780598/+subscriptions



More information about the foundations-bugs mailing list