Fedora Linux Support Community & Resources Center
Old 19th October 2012, 04:43 AM
ashram Offline
Registered User
Join Date: Oct 2012
Location: Adelaide
Posts: 3
Question Dual boot Fedora 17/Windows 7 + UEFI

Have tried numerous different solutions for days without finding a working solution to this. I have a new UEFI enabled PC with Windows 7 installed. I have shrunk the windows partition to make room for Fedora 17. Booted the Fedora 17 DVD (via UEFI) and ran installation. I setup my partitioning as follows:

LVM Volume Groups        size     sys    format
    vg_borg1           905664
        lv_home        820288    ext4    yes
        lv_swap         34176    swap    yes
        lv_root         51200    ext4    yes
Hard drives
    md126 (/dev/md126)
        md126p1        100    /boot/efi    EFI System Partition (fat32)
        md126p2        128                 unknown
        md126p3     905958                 ntfs
        md126p4        500    /boot        ext4
        md126p5     905686    vg_borg1     LVM
The installation of Fedora 17 completed successfully, but upon rebooting it only displays a blank grub loader. The same thing happens if I let anaconda setup the partitioning, with the exception that it sets up an additional EFI partition instead of using the existing one.

Have I setup something wrong?

Last edited by ashram; 19th October 2012 at 04:55 AM. Reason: I specified the wrong information
Reply With Quote
Old 19th October 2012, 09:11 PM
srs5694 Offline
Registered User
Join Date: Jan 2011
Location: Woonsocket, RI
Posts: 521
Re: Dual boot Fedora 17/Windows 7 + UEFI

If by "blank grub loader" you mean that you get a GRUB display that shows no options, then it sounds like you're missing entries in your grub.conf file in /boot/efi/EFI/redhat (that is, the EFI/redhat directory on your first disk). You might be able to get it to work by editing this file manually. Be aware that on EFI installations, Fedora uses GRUB Legacy, not GRUB 2, so follow the instructions for configuring GRUB Legacy when you edit this file.

Another option might be to install another boot loader. I describe several here. My personal favorite is the Linux kernel's EFI stub boot loader, which is included in the 3.3.0 and later kernels. Since Fedora 17 ships with a suitable kernel, you should be able to get it to work. The trouble is that it requires extra configuration that's usually a bit tricky. The easiest way to get it running is to use my rEFInd boot manager (or perhaps gummiboot). In brief, you would:
  1. Install rEFInd as per its instructions
  2. Prepare a refind_linux.conf file to hold your boot options, again as described in the rEFInd documentation
  3. Do one of three things:
    • Convert your /boot partition to ext2fs, ext3fs, or ReiserFS and install the appropriate EFI filesystem driver. You can then place refind_linux.conf on /boot and uncomment the "scan_all_linux_kernels" option in refind.conf. When you reboot, rEFInd should then give you options for booting Linux.
    • Copy everything from /boot to your ESP (what's currently /boot/efi) and re-mount the ESP as /boot. This effectively gives you a FAT32 /boot partition that the EFI can read. You'll then have to copy refind_linux.conf to /boot and edit refind.conf as just described. When you're done, rEFInd should give you Linux boot options.
    • Copy your kernel and initrd files to the ESP, in a subdirectory of EFI (such as EFI/fedora), renaming the kernel so that it ends in .efi. When you reboot, rEFInd should give you Linux boot options. You'll need to manually copy your kernel and initrd every time you upgrade it, though.

Although it may sound complex to set up rEFInd to boot with the EFI stub loader, it's really not that hard, and it's designed to be easy to maintain, particularly if you use a Linux /boot partition that Linux can read (FAT or, though drivers, ext2fs, ext3fs, or ReiserFS).

One more comment: You've referred to your boot device as /dev/md126. This sounds like you may have your motherboard-based RAID support enabled. Such a configuration, particularly if you've got just one hard disk, is an invitation for pain. I see numerous posts from people who have all sorts of problems with such configurations. It's conceivable that your own problem is related to this configuration, but I can't be positive of that. You may want to look into disabling it, but this may involve adjusting some combination of options in your firmware, in Windows, and/or in Linux. You may also need to figure out where on the hard disk the firmware stores RAID settings and wipe that area clean. At the very least, I recommend you do the research to figure out what you've got.
Reply With Quote
Old 21st October 2012, 12:39 AM
ashram Offline
Registered User
Join Date: Oct 2012
Location: Adelaide
Posts: 3
Lightbulb Re: Dual boot Fedora 17/Windows 7 + UEFI

Ok, managed to get this working by installing Grub2 as per the following:

Installed Fedora 17 as per the partitioning already mentioned.
Boot Fedora 17 Live CD in UEFI mode
In a terminal:
mkdir /mnt/sysimage
mount /dev/vg_borg1/lv_root /mnt/sysimage
mount /dev/md126p4 /mnt/sysimage/boot
mount -t vfat /dev/md126p1 /boot/efi
mount --bind /dev /mnt/sysimage/dev
mount --bind /proc /mnt/sysimage/proc
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
Then followed the instructions in the following link to configure grub2
Reply With Quote

17 or windows, boot, dual, dual boot, efi, fedora, fedora 17, uefi, windows 7

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
UEFI and Dual Boot Depado Installation, Upgrades and Live Media 3 2nd October 2012 05:29 PM
How to make grub on F17 (uefi w/ grub 1) boot windows 7 (uefi)? premudriy Installation, Upgrades and Live Media 4 21st August 2012 06:58 PM
How to create a dual-boot (dual boot) with Windows XP Home Edition and Fedora Core 5: Genecks Guides & Solutions (Not For Questions) 5 18th October 2011 01:05 PM
How to install fedora 12 from USB and make dual boot BCD using Windows 7 boot loader evildesirez Installation, Upgrades and Live Media 1 4th January 2010 06:56 PM
Windows XP & Fedora 11 dual-boot problem (using Windows bootloader) zmdmw52 Installation, Upgrades and Live Media 7 9th August 2009 07:29 AM

Current GMT-time: 03:20 (Sunday, 24-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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