Bug 810845

Summary: Grub2 is not installable on /dev/sda5 ext2
Product: [Fedora] Fedora Reporter: Sebastian Heyn <sebastian.heyn>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: bcl, dennis, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-09 17:30:03 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:
Embargoed:

Description Sebastian Heyn 2012-04-09 11:36:04 UTC
Description of problem: I cannot install grub2 to my /boot partition as my MBR has truecrypt on it. I previously had grub (gentoo) on this partition. 


Version-Release number of selected component (if applicable): grub2-1.99-19.fc17.i686


How reproducible: 100%


Steps to Reproduce:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    61442111    30720032    7  HPFS/NTFS/exFAT
/dev/sda2        61442112   312581807   125569848    5  Extended
/dev/sda5        61444160    61648959      102400   83  Linux
/dev/sda6        61651008    93108287    15728640   83  Linux
/dev/sda7        93110336    97304639     2097152   82  Linux swap / Solaris


sda5 /boot
sda6 /

1. grub2-install /dev/sda5

  
Actual results:
/sbin/grub2-bios-setup: warning: File system `ext2' doesn't support embedding.
/sbin/grub2-bios-setup: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
/sbin/grub2-bios-setup: error: will not proceed with blocklists.



Expected results:
Should install bootloader to /boot

Additional info:

Comment 1 Sebastian Heyn 2012-04-09 12:04:13 UTC
Additional info: 
sda5 was also selectable in anaconda during live install, but didnt work

Comment 2 Brian Lane 2012-04-09 17:30:03 UTC

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

Comment 3 Mads Kiilerich 2012-04-18 11:10:00 UTC
As grub says: blocklists are not reliable and other means should be used if possible.

In order to use blocklists you have to use -f.

Comment 4 Sebastian Heyn 2012-04-18 12:39:29 UTC
It didnt work. I tried that already

Comment 5 Mads Kiilerich 2012-04-18 12:49:59 UTC
Please show us the command and the output.

Comment 6 Sebastian Heyn 2012-04-18 13:09:11 UTC
I will reinstall F17 tonight if I find the time. I already compiled a LFS on that machine that needs backing up first (its only an atom and i'm not wiping it)

Please stand by

Comment 7 Sebastian Heyn 2012-04-27 16:12:32 UTC
Soooo..

I retried this, even with updating the system etc.

If I force with -f I get "installation complete" but the system is still unbootable

Comment 8 Sebastian Heyn 2012-04-27 16:19:03 UTC
(Only "GRUB" is displayed then boot stops)

Comment 9 Mads Kiilerich 2012-04-27 16:22:26 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=804835