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

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Oct 3 13:55:05 UTC 2018


** Changed in: grub2 (Ubuntu)
       Status: New => Triaged

** Changed in: grub2 (Ubuntu)
   Importance: Undecided => Wishlist

-- 
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:
  Triaged

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