Bug 783777 - Kernel update removes spaces from default boot entry (and breaks default)
Summary: Kernel update removes spaces from default boot entry (and breaks default)
Keywords:
Status: CLOSED DUPLICATE of bug 742720
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-22 13:58 UTC by Robert Scheck
Modified: 2012-03-21 09:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-21 09:33:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2012-01-22 13:58:00 UTC
Description of problem:

# grub2-mkconfig -o /etc/grub2.cfg 
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.1.9-1.fc16.x86_64
Found initrd image: /boot/initramfs-3.1.9-1.fc16.x86_64.img
Found linux image: /boot/vmlinuz-3.1.8-2.fc16.x86_64
Found initrd image: /boot/initramfs-3.1.8-2.fc16.x86_64.img
Found linux image: /boot/vmlinuz-3.1.6-1.fc16.x86_64
Found initrd image: /boot/initramfs-3.1.6-1.fc16.x86_64.img
  No volume groups found
Found Windows 7 (loader) on /dev/sda1
done
#

# grep "set default" /etc/grub2.cfg 
set default="Windows 7 (loader) (on /dev/sda1)"
#

Perform a "yum update" which contains a new kernel

# grep "set default" /etc/grub2.cfg 
set default="Windows7(loader) (on /dev/sda1)"
#

# cat /etc/default/grub 
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
#GRUB_DEFAULT=saved
GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda1)"
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=de_DE.UTF-8  KEYTABLE=de-latin1-nodeadkeys"
#

Why does updating kernel remove the spaces in the default? Even running
grub2-mkconfig(1) does not break it.

Version-Release number of selected component (if applicable):
grub2-1.99-13.fc16.x86_64
kernel-3.1.6-1.fc16.x86_64
kernel-3.1.8-2.fc16.x86_64
kernel-3.1.9-1.fc16.x86_64

How reproducible:
Everytime, see above and below.

Actual results:
Kernel update removes spaces from default boot entry (and breaks default)

Expected results:
Non-broken behaviour like in good old times like with GRUB 1.

Comment 1 Sergio Basto 2012-03-21 01:53:45 UTC
this is a duplicated of bug #742720 ?

Comment 2 Robert Scheck 2012-03-21 09:33:28 UTC

*** This bug has been marked as a duplicate of bug 742720 ***


Note You need to log in before you can comment on or make changes to this bug.