[Bug 1291434] Re: GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options

Nathan Stratton Treadway ubuntu.lp at nathanst.com
Thu Jul 24 21:04:41 UTC 2014


Hmm, one additional thing to note is that when /boot/grub/grub.cfg is generated, each "linux" line created there gets an additional copy of the keywords.  That is, if I run "dpkg-reconfigured grub-pc" and strip the "Linux default command line" prompt down to just "nomdmonddf nomdmonisw" and then let it re-install grub, I'm left with /etc/default/grub containing just
  GRUB_CMDLINE_LINUX_DEFAULT="nomdmonddf nomdmonisw"
... but the "linux" lines in grub.cfg look like:
        linux   /boot/vmlinuz-3.13.0-32-generic root=UUID=[...ID...] ro  nomdmonddf nomdmonisw nomdmonddf nomdmonisw

That makes me think that the intent of the dmraid2mdadm.cfg file is to
add the keywords to the grub.cfg lines, but not to actually change the
GRUB_CMDLINE_LINUX_DEFAULT value in /etc/default/grub.   Is there a
proper way to do the former using a default/grub.d/ file without having
the side-effect of changing the default/grub file on grub-pc package
reconfiguration, too?

Nathan

-- 
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/1291434

Title:
  GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options

Status in “grub2” package in Ubuntu:
  Confirmed
Status in “mdadm” package in Ubuntu:
  New

Bug description:
  2014-03-12 - Today's trusty update installed grub-pc 2.02~beta2-7 and
  the linux default params were duplicated

  Instead of this:
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline nomdmonddf nomdmonisw"
  It wanted to install this:
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline nomdmonddf nomdmonisw nomdmonddf nomdmonisw"

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



More information about the foundations-bugs mailing list