On Tue, Nov 18, 2014 at 10:18 PM, Bidski <bidski@xxxxxxxxxxxx> wrote: > Hi all, > > I am having an issue getting F21 to dual boot with Windows 7 on an EFI > system. > > The first thing I did was to install Windows 7. This worked fine and had > no issues. > > Then I installed F21 from a LiveUSB. After some hickups, which have now > been resolved, F21 works fine. > > The problem I have now is that grub can not find my Windows 7 > installation. I noticed that there were no boot files for Microsoft in > /boot/efi/EFI. > You're saying after installing Fedora 21 after Windows 7, that there was no Microsoft directory in /boot/efi/EFI? Just a fedora directory? > > So I opened up the LVM partition that contains root, /home and swap. I > mounted everything then chroot. I also notice that in /boot/efi/EFI there > are two folders 'fedora' and 'Microsoft'. I then followed the usual default > of > grub2-install /dev/sda > grub2-install shouldn't be used on EFI systems. The grub2-efi package installs a prebaked grubx64.efi on the EFI System partition, which looks for grub.cfg on the ESP in /EFI/fedora/ whereas the grub2-install command creates a custom grubx64.efi, deletes the original installed one, and looks for grub.cfg in /boot/grub2/. I suggest 'dnf reinstall grub2-efi' and then deleting the grub.cfg from both locations and then creating a new one with 'grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg' and see if it has now found the Windows bootloader and correctly created an entry for it. > grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg > > However, Windows 7 is still not detected. > Sounds like this bug. If you can reproduce this after reinstalling grub (by reinstalling the package, not using grub2-install), and recreating the grub.cfg, please post the grub.cfg and the results of output from 'os-prober' and confirm the existence of /boot/efi/EFI/microsoft/ https://bugzilla.redhat.com/show_bug.cgi?id=986731 Chris Murphy -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test