Missing quotes in parts of /etc/default/grub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
There are missing double quotes in /etc/default/grub. If you change a line where the option is not in double quotes...i.e.
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_
then update-grub ignores it.
The (true) has to be in double quotes for update-grub to include the option...
even then it'll drops the UUIDs for Ubuntu...but not for any other OS it finds.
I know...that's what it does on my system.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub2 1.98-1ubuntu5
ProcVersionSign
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Thu Apr 22 16:05:52 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: grub2
Sorry, but this doesn't make sense to me; update-grub (actually
grub-mkconfig) just sources /etc/default/grub using the shell, and as an
experienced shell programmer I can tell you for absolute fact that it
makes no difference whether a single word like true is quoted or
unquoted in the shell. (If we were talking about something containing
multiple words or special characters then that would be different, but
that doesn't seem to apply here.) Thus I don't agree with the bald
statement in your bug report, but I would like to investigate whatever
problem led you to file this bug.
Could you please explain your reasoning here? For example, a useful
sequence would be:
* return /etc/default/grub to its previous state
* run 'sudo update-grub'
* attach /etc/default/grub and /boot/grub/grub.cfg
* make whatever change it was you made to /etc/default/grub
* run 'sudo update-grub'
* attach the new /etc/default/grub and /boot/grub/grub.cfg