Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Installation and Live Media
FedoraForum Search

Forgot Password? Join Us!

Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th January 2012, 05:18 PM
Pierre Menard Offline
Registered User
 
Join Date: Jan 2012
Location: Neverland
Posts: 2
windows_7firefox
core.img too large error when reinstalling grub2 after windos installation

Hi all

I have Fedora 16 running from sdb and I've now installed windows 7 on sda. sda is the primary hard disk where the bios tries to boot from.
When trying to reinstall grub2 (chrooting into /mnt/sys-something from recovery mode) I get:
Code:
[root@theBorrow ~]# grub2-install /dev/sda
/sbin/grub2-setup: warn: Your core.img is unusually large. It won't fit in the embedding area..
/sbin/grub2-setup: error: embedding is not possible, but this is required for cross-disk install.
I've searched around but it seems this usually happens in more complex (e.g RAID) boot environments.

both OSs are 64bit if that's in any way relevant.

Any help will be greatly appreciated.

TIA

P.
Reply With Quote
  #2  
Old 28th January 2012, 05:28 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfirefox
Re: core.img too large error when reinstalling grub2 after windos installation

I think the last update to grub2 changed something and now the core.img file it tries to create is too large to fit in the space between a standard MBR and the first partition.

Only option I have found is to use GPT on your drive and create a BIOS_BOOT partition.

What I did on mine is to set my Fedora drive up as GPT with a 1 MB BIOS_Boot partition on the second drive. Windows on the first drive as MBR.

Then I set my BIOS to boot from the second drive, and installed grub2 to my second drive.

If Fedora 16 installed and partitioned your Fedora drive, it's probably GPT, and you should have space to put a BIOS_Boot partition in since anaconda creates the first partition at sector 2048. You can just add a new partition (use gdis) to use that space before your first partition, and set the type to be BIOS_Boot. Then install grub2 to the boot sector of your second drive, then change your BIOS boot order to boot from the second drive.
Reply With Quote
  #3  
Old 28th January 2012, 06:58 PM
Pierre Menard Offline
Registered User
 
Join Date: Jan 2012
Location: Neverland
Posts: 2
windows_7chrome
Re: core.img too large error when reinstalling grub2 after windos installation

I thought grub is installed in the MBR - that that's all there is in there except for partitioning information.
Anyhow - I've already installed grub2 to /dev/sdb (where fedora resides but without creating BIOS_boot partition, what does that do?
Also - how do I change where the bios tries to boot from? Does changing the boot order have anything to do with it? Bios tries to boot from one particular drive where there's an MBR, no?
Reply With Quote
  #4  
Old 28th January 2012, 08:57 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfedorafirefox
Re: core.img too large error when reinstalling grub2 after windos installation

grub2 (the bootloader) is installed in the boot sector

grub2 loads it's core.img file into the space between the MBR and the first partition.

And if you have installed grub2 to /dev/sdb, then you should be able to go into your BIOS, change the boot order so that it boots from your second hard drive instead of the first hard drive, and it should boot.
Reply With Quote
Reply

Tags
coreimg, error, grub2, installation, large, reinstalling, windos

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB2 core.img not fitting between MBR and sector 63 chrismurphy Installation and Live Media 24 25th January 2012 02:31 AM
Grub2 install error. TNWestTex Using Fedora 3 24th January 2012 12:00 AM
Reinstalling core fonts Frank616 Installation and Live Media 5 1st March 2008 03:52 AM
Grub2 on Fedora Core 4 Computer Guru Using Fedora 8 8th November 2005 11:58 AM
Fatal IO error 104 (Connection Reset By peer) on - Fedora Core 2 - Installation Error PS_ Installation and Live Media 1 13th December 2004 09:35 PM


Current GMT-time: 09:22 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat