[Bug 411597] [NEW] Wrong handling of double quotes in grub2 menu entries

Mark Müller markmueller86 at googlemail.com
Mon Aug 10 19:29:53 UTC 2009


Public bug reported:

Binary package hint: grub2

For my hardware I need the boot option acpi_osi="!Windows 2006". With
grub-legacy this is no problem. In grub2 I modified the variable
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=\"!Windows 2006\" quiet splash" (in
/etc/default/grub) to generate a valid /boot/grub/grub.cfg with the
following entry:

linux   /boot/vmlinuz-2.6.31-5-generic
root=UUID=78b161e2-4d82-4df7-a423-8289fe6cc704 ro   acpi_osi="!Windows
2006" quiet splash

After booting, I see the following in dmesg:

[    0.000000] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.31-5-generic
root=UUID=78b161e2-4d82-4df7-a423-8289fe6cc704 ro acpi_osi=!Windows 2006
quiet splash

You can see that the double quotes are omitted in the dmesg output (in
contrast to grub-legacy) and the parameter acpi_osi cannot be handled
correctly (because of the space character in the string "!Windows
2006").

I'm on Ubuntu karmic (development branch). 
Grub2 is version 1.96+20090725-1ubuntu2

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

-- 
Wrong handling of double quotes in grub2 menu entries
https://bugs.launchpad.net/bugs/411597
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