Dual Boot Fedora 22 killed my Windows 8.1 boot ability

asked 2015-10-05 22:29:00 -0500

Fureyu gravatar image

I recently installed Fedora 22 on a partition to dual boot with windows 8.1

I used the built in partitioning from the live USB and Fedora is working fine

I've gotten my Windows 8 to show in grub, but when I select it,I get these errors: error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found

error: you need to load the kernel first

here is my parted -l

[root@localhost ~]# parted -l
Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Warning: failed to translate partition name
Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  106MB   105MB   fat16        EFI System Partition          boot, esp
 2      106MB   1050MB  944MB   ntfs                                       hidden, diag
 3      1050MB  1184MB  134MB                Microsoft reserved partition  msftres
 4      1184MB  401GB   400GB   ntfs         Basic data partition          msftdata
 5      401GB   402GB   524MB   ext4
 7      402GB   402GB   524MB   ext4
 8      402GB   984GB   582GB                                              lvm
 6      984GB   1000GB  16.1GB  ntfs         Basic data partition          hidden, diag

This is my 40_custom file

exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'Microsoft Windows 8' {
    search --no-floppy --fs-uuid --set=root '1234-567A'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi

This is the output when i do the grub2-mkconfig

    [root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.1.7-200.fc22.x86_64
Found initrd image: /boot/initramfs-4.1.7-200.fc22.x86_64.img
Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-104cd4f371904b2bb2caa8b11a3884fa
Found initrd image: /boot/initramfs-0-rescue-104cd4f371904b2bb2caa8b11a3884fa.img

This is the output when i run efibootmgr -v

    [root@localhost ~]# efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Fedora    HD(1,GPT,5062c36b-10c9-4e41-a914-84c1a48a30d1,0x800,0x32000)/File(\EFI\FEDORA\shim.efi)
Boot0001* UEFI OS   HD(1,GPT,5062c36b-10c9-4e41-a914-84c1a48a30d1,0x800,0x32000)/File(\EFI\BOOT\BOOTX64.EFI)
[root@localhost ~]#

Please help, I was very dumb and did not make a recovery disk before I installed Fedora lol. I need to be able to boot to windows for school. If I need to post any additional information please let me know

edit retag flag offensive close merge delete


Run the command $ sudo os-prober in terminal and check if it finds Microsoft Windows. If it does then run $ sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg in terminal.

opensource gravatar imageopensource ( 2015-11-14 04:25:04 -0500 )edit