Bug 784885

Summary: grub error during installation
Product: [Fedora] Fedora Reporter: Marcus Moeller <marcus.moeller>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 16CC: dennis, jonathan, lkundrak, madhu.chinakonda, orion, piskozub, pjones, sandro
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 16:57:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcus Moeller 2012-01-26 15:07:20 UTC
We are installing our systems using kickstart. 

Now we have updated our tree with the latest grub packages from the -updates repositories, and got an error like 'cannot install grub2' during installation.

This is logged in program.log:

10:34:37,972 INFO program: Running... grub2-install --no-floppy (hd0)
10:34:39,768 ERR program: /sbin/grub2-setup: warn: Your embedding area is unusually small.  core.img won't fit in it..
10:34:39,770 ERR program: /sbin/grub2-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
10:34:39,770 ERR program: /sbin/grub2-setup: error: will not proceed with blocklists.

We do not use GPT, but MSDOS disklabels, so therefore a bios boot partition should not be necessary. We even pass nogpt to Anaconda.

This is the partition setup we use in kickstart:

    clearpart --linux
    part /boot --fstype=ext3 --size=500 --label=BOOT --asprimary
    part / --fstype=ext4 --size=20000 --label=ROOT --grow

Version-Release number of selected component (if applicable):

grub2-1.99-13.fc16

How reproducible:

Steps to Reproduce:
1. Install with the latest grub version from -updates 
  
Actual results:
error during grub2-setup

Expected results:
grub2-setup should work without errors

Comment 1 Marcus Moeller 2012-01-26 15:57:12 UTC
version that works is: grub-0.97-84.fc16

Comment 2 Sandro Mathys 2012-01-27 07:42:23 UTC
FWIW, we tried to reproduce this with as little effort as possible (and to make sure the issue is not caused by something in our rather large kickstart file) and found that simply doing a minimal installation from the DVD with the updates repo activated triggers the issue, too.

Comment 3 Orion Poplawski 2012-01-31 15:56:32 UTC
I just hit this as well.  I was able to workaround by going into the VT2 shell and doing:

chroot /mnt/sysimage
grub2-install --force /dev/sda

Comment 4 Jacek Piskozub 2012-02-17 15:49:19 UTC
Most probably a dup of bug 782144

Comment 5 Orion Poplawski 2012-02-17 16:57:36 UTC
Confirmed that fixing bug 782144 fixes this.

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