grub2 parses kernel parameters with $ as shell variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Binary package hint: grub2
The original kernel line in menu.lst was:
kernel /boot/vmlinuz-
When I install grub-pc it asked me for kernel parameters and a placed memmap=
linux /boot/vmlinuz-
which obviously won't let it boot. Edited /etc/default/grub to:
GRUB_CMDLINE_
GRUB_CMDLINE_
(note the single quote, otherwise it would have been GRUB_CMDLINE_
So the output is now:
linux /boot/vmlinuz-
and it boots successfully
I would expect that pasting the text as is would work like before without resorting to backslashes.
I think this bug is related to #445952
ProblemType: Bug
Architecture: i386
Date: Sun Oct 11 09:54:07 2009
DistroRelease: Ubuntu 9.10
Package: grub-pc 1.97~beta3-1ubuntu8
ProcEnviron:
PATH=(custom, user)
LANG=en_PH.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub2
Uname: Linux 2.6.31-13-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:3546): Eel-CRITICAL **: eel_preferences
(polkit-
(gnome-
Thanks, fixed for my next upload. Bug 445952 is in fact entirely unrelated.