Red Hat Bugzilla – Bug 761118
grub2.cfg not updating correctly for Windows 7 default
Last modified: 2011-12-08 14:25:12 EST
Description of problem:
A kernel update still strips out spaces in the set default= line. Should be set default="Windows 7 (loader) (on /dev/sda2)" but ends up with set default="Windows7(loader)(on /dev/sda2)".
Version-Release number of selected component (if applicable):
Always on kernel update
Steps to Reproduce:
1. Install new kernel
2. check grub2.cfg
First 3 spaces are stripped out
spaces should be maintained
Ever since a fresh load of F16 with a Windows 7 installation a kernel update will not correctly update grub2.cfg to use the W7 install as default. I've slowly learned to manually set the default via commandline and to edit /etc/default/grub to used the saved configuration but a kernel update still strips out spaces in the default= line. Not sure why there's no tool to easily set the default correctly - needed to use Ubuntu support forums to discern what was needed. Again, it should be:
set default="Windows 7 (loader) (on /dev/sda2)"
but ends up with:
set default="Windows7(loader)(on /dev/sda2)".
On a side (related?) note, anaconda for the fresh install never even considered asking which OS to set as default.
*** This bug has been marked as a duplicate of bug 742720 ***