Ask Your Question

How configure grub2 for dualboot with windows 8 on fedora 24

asked 2016-06-12 11:03:21 -0600

sandeep gravatar image

updated 2016-06-13 17:24:12 -0600

I understand that this specific problem has been discussed on the forum before:

link 1 link 2

I tried the approach mentioned there but I still not able to fix it. Here are the specific details:

 [root@X1carbon EFI]#fdisk -l
    Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 4774B8EA-1C42-4937-9327-B576FF37D8B2

    Device         Start       End   Sectors  Size Type
    /dev/sda1       2048    825343    823296  402M Windows recovery environment
    /dev/sda2    2050048   2582527    532480  260M EFI System
    /dev/sda3    2582528   2844671    262144  128M Microsoft reserved
    /dev/sda4    2844672  85288959  82444288 39.3G Microsoft basic data
    /dev/sda5  213159936 235388927  22228992 10.6G Windows recovery environment
    /dev/sda6  235388928 250068991  14680064    7G Intel Fast Flash
    /dev/sda7     825344   1026047    200704   98M EFI System
    /dev/sda8    1026048   2050047   1024000  500M Microsoft basic data
    /dev/sda9   85288960 211111935 125822976   60G Linux LVM

This is my attempt at the approach mentioned in other posts:

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 'My Working Windows Bootloader' {
    search --no-floppy --fs-uuid --set=root 'DAE2-98ED'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi

DAE2-98ED is the UUID for /dev/sda7 which is mounted at /boot/efi.

The only main issue is I see is that the file /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi is not present

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-17 04:36:27 -0600

boyd gravatar image

I have personally never yet seen a case where it is necessary to manually add a grub entry for Windows. Grub is extremely good at detecting this. The following should detect and add windows to your grub boot menu.

grub2-mkconfig -o /boot/grub2/grub.cfg

You also need the os-prober package for grub2 to detect the windows installation

Since you have an efi system, do you have all the grub2 efi packages installed? You will need (perhaps with some dependencies)


How come you are using such an old fedora version anyways? This version is no longer supported, and most likely an upgrade to a current F28 will fix your problem.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-12 11:03:21 -0600

Seen: 445 times

Last updated: Jun 13 '16