[Bug 445952] [NEW] grub2 does not work with kernel comandline arguments containing spaces

Raphael Gradenwitz raphael at gradenwitz.ath.cx
Thu Oct 8 02:11:28 UTC 2009


Public bug reported:

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

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
grub2 does not work with kernel comandline arguments containing spaces
https://bugs.launchpad.net/bugs/445952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list