[Bug 445952] Re: grub2: needed (undocumented) character escape for kernel parameters

Emil Pavlov emil.p.pavlov at gmail.com
Tue Jun 7 13:31:11 UTC 2011


** Tags added: natty

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

Title:
  grub2: needed (undocumented) character escape for kernel parameters

Status in GRand Unified Bootloader:
  Unknown
Status in “grub2” package in Ubuntu:
  Confirmed
Status in “grub2” package in Debian:
  Confirmed

Bug description:
  Binary package hint: grub-pc

  I need to start my Kernel on a Sony Vaio Z-Series Laptop with Argument:
  acpi_osi="!Windows 2006"

  Under grub-legacy I could simply add this in the /boot/grub/menu.lst and it worked:
  cat /proc/cmdline
  ... ... acpi_osi="!Windows 2006" ... ...

  Now, with grub2, I have entered this in /etc/default/grub:

  GRUB_CMDLINE_LINUX="acpi_osi=\"!Windows 2006\""

  and tried it as well with

  GRUB_CMDLINE_LINUX="acpi_osi=\\\"!Windows 2006\\\""

  after executing

      sudo /usr/sbin/grub-mkconfig

  it creates a correct /boot/grub/grub.cfg

  BUT
  ===

  when I boot, in /proc/cmdline only arrives

  ... ... acpi_osi=!Windows 2006 ... ...

  (without the quotes that should protect the space between Windows and
  2006)

  The only way to start and get this comandline as needed, is pressing
  the 'e' (edit) button after boot while the kernel-list is visible and
  edit the kernel comandline by hand in the way that I put a backslash
  in front of those quote-signs.

  More is discussed here
  Mailing list: https://launchpad.net/~sony-vaio-z-series




More information about the foundations-bugs mailing list