Bug 955750 - grub2 couldn't create cfg file
Summary: grub2 couldn't create cfg file
Keywords:
Status: CLOSED DUPLICATE of bug 929384
Alias: None
Product: Fedora
Classification: Fedora
Component: tboot
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gang Wei
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-23 17:23 UTC by Mikhail
Modified: 2013-04-28 05:01 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-28 05:01:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grub.cfg.new (15.74 KB, text/plain)
2013-04-23 17:26 UTC, Mikhail
no flags Details

Description Mikhail 2013-04-23 17:23:03 UTC
Description of problem:
# grub2-mkconfig -o /run/media/liveuser/599b0ab8-e722-4ec0-8f1b-0dae6d9d30df/boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.9.0-0.rc6.git2.3.fc19.i686
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/mapper/live-rw.  Check your device.map.
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/mapper/live-rw.  Check your device.map.
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/mapper/live-rw.  Check your device.map.
Found Fedora release 19 (Schrödinger’s Cat) on /dev/sda1
Found Ubuntu Raring Ringtail (development branch) (13.04) on /dev/sda3
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 95
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/run/media/liveuser/599b0ab8-e722-4ec0-8f1b-0dae6d9d30df/boot/grub2/grub.cfg.new file attached.done

Comment 1 Mikhail 2013-04-23 17:26:27 UTC
Created attachment 739090 [details]
grub.cfg.new

Comment 2 Scott Dowdle 2013-04-24 21:04:52 UTC
I have encountered this bug as well.  I have to exclude the tboot package from my %package list in my kickstart and then it works.

Oddly this is not the case with the x86_64 build... on which tboot doesn't break it... so the problem seems specific to the 32-bit environment and/or package.

Comment 3 Gang Wei 2013-04-28 05:01:50 UTC
duplicated bug. I just pushed the fixed build into stable repo.

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


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