Bug 1030123

Summary: GRUB2 invalid /boot/grub2/grub.cfg
Product: [Fedora] Fedora Reporter: Matt Woelfel <matthew.woelfel>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: bcl, dennis, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-13 00:44:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
system generated grub.cfg - fails to boot none

Description Matt Woelfel 2013-11-14 00:22:46 UTC
Created attachment 823696 [details]
system generated grub.cfg - fails to boot

Description of problem:
GRUB2 has a menu entry bug where there's an erronious new line causing it to not boot.

Version-Release number of selected component (if applicable):
grub2-tools-2.00-25.fc20.x86_64
grubby-8.28-1.fc20.x86_64
grub2-2.00-25.fc20.x86_64
grub2-efi-2.00-25.fc20.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install Fedora 20 Beta (http://download.fedoraproject.org/pub/fedora/linux/releases/test/20-Beta/Live/x86_64/Fedora-Live-Desktop-x86_64-20-Beta-5.iso) using btrfs accross two disks with anaconda.
2. Reboot
3. Find error about /dev/sdb1 being an invalid grub command and drop into recovery console

Actual results:
Failure to boot

Expected results:
Successfully boot

Additional info:
I was able to edit the offending line at boot time by removing the new line as a workaround:
-  linux   /vmlinuz-3.11.7-300.fc20.x86_64 root=UUID=016ea47f-4530-46d7-b7d4-60f667ca399f LANG=en_US.UTF-8
/dev/sdb1 ro rootflags=subvol=root vconsole.font=latarcyrheb-sun16  vconsole.keymap=us rhgb quiet
+  linux   /vmlinuz-3.11.7-300.fc20.x86_64 root=UUID=016ea47f-4530-46d7-b7d4-60f667ca399f LANG=en_US.UTF-8 /dev/sdb1 ro rootflags=subvol=root vconsole.font=latarcyrheb-sun16  vconsole.keymap=us rhgb quiet

My system has two disks and I allocated 100% of both of them to btrfs using the anaconda installer.

Comment 1 Matt Woelfel 2013-12-13 00:44:37 UTC
This seems to be fixed with the latest TC installer.