Ask Your Question
1

Dual boot fedora between and windows

asked 2015-08-10 22:43:58 -0600

mbatista gravatar image

My notebook had windows 10 and ubuntu 15.04 in dual boot in uefi mode. Then I tried to replace ubuntu by fedora 22. Ubuntu boot loader was installed in /boot/efi, but I formatted that partition when I was installing fedora. Now I was unable to access windows but its files are all current installed. Is there anyway to make fedora recognize windows or recovery the windows boot loader?

I tried Boot-Repair by using a bootable iso of ubuntu, but I get the following message "GPT detected. Please create a BIOS-Boot partition” error when using boot-repair".

Then I tried to edit the /etc/grub.d/40_custom by adding this entry:

menuentry 'Microsoft Windows 10' {
    set root='hd1,gpt'
    chainloader \\EFI\\Microsoft\\Boot\\bootmgfw.efi
    boot
 }

and running grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg. But it did not work.

Could anyone help?

Thanks. The output of the command efibootmgr -v is:

BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0003,0004,000B,000C,0007,0001,0005,0006
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* Fedora    HD(1,GPT,03c2bf33-6dd6-4795-b409-ec77b3f6a7cf,0x800,0x32000)/File(\EFI\fedora\shim.efi)
Boot0003* Fedora    HD(1,GPT,03c2bf33-6dd6-4795-b409-ec77b3f6a7cf,0x800,0x32000)/File(\EFI\FEDORA\shim.efi)
Boot0004* Windows Boot Manager  HD(1,GPT,03c2bf33-6dd6-4795-b409-ec77b3f6a7cf,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
Boot0005* UEFI:Removable Device BBS(130,,0x0)
Boot0006* UEFI:Network Device   BBS(131,,0x0)
Boot0007* Windows 10    VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot000B* UEFI OS   HD(1,GPT,03c2bf33-6dd6-4795-b409-ec77b3f6a7cf,0x800,0x32000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000C* UEFI: KingstonDT 101 G2 PMAP  PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)..BO
edit retag flag offensive close merge delete

Comments

It looks like your partition number is missing form the set root line? eg set root=(hd1,gpt4) or some such…

BRPocock gravatar imageBRPocock ( 2015-08-11 10:34:44 -0600 )edit

I've got just the same problem right now, have you worked it out?

k4ju gravatar imagek4ju ( 2016-08-31 14:11:43 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2015-08-11 03:11:46 -0600

anishjp gravatar image

Have a look at the Fedora multi-boot guide and see if it helps!

edit flag offensive delete link more
0

answered 2015-08-11 16:28:15 -0600

With formatting /boot/efi partition You probably lost Windows boot files.
I think You need to regenerate them from Windows recovery disk. Maybe this could help you.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-08-10 22:43:58 -0600

Seen: 5,359 times

Last updated: Aug 11 '15