[Bug 581796] Re: grub-installer ignores grub2/linux_cmdline_default in preseed

Remco Lamee remco1hier at yahoo.com
Wed Apr 20 06:16:21 UTC 2016


I've been trying to fix our preseed installs as well, and I found the
preseed entry that works: (tested on xenial beta2)

d-i debian-installer/add-kernel-opts string net.ifnames=0 quiet splash
elevator=noop

debconf-get-selections doesn't mention this parameter in the output, but
is does work because dmesg confirms that the options are passed to the
boot image:

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-18-generic
root=UUID=123 ro net.ifnames=0 elevator=noop quiet splash

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

Title:
  grub-installer ignores grub2/linux_cmdline_default in preseed

Status in grub-installer package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: grub-installer

  Description:    Ubuntu 10.04
  Release:        10.04

  When automatically installing a system with a preseed file, grub-
  installer seems to ignore settings for grub2/linux_cmdline_default.

  I have tried the following two lines in my preseed file, but none of
  them worked:

  grub-pc grub2/linux_cmdline_default string
  d-i grub2/linux_cmdline_default string

  
  When running `debconf-get-selections` on the newly installed system, the output still contains:

  grub-pc grub2/linux_cmdline_default     string  quiet splash

  
  This seems to be an error (or at least an undocumented nuisance) of grub-installer ignoring the settings in the preseed file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/581796/+subscriptions



More information about the foundations-bugs mailing list