Ask Your Question

Unable to dual boot windows 8.1 and Fedora 24

asked 2016-11-24 15:07:23 -0600

I'm new to using Fedora I dunno much about it other then some basic commands I tried dual booting Fedora and windows .from my live usb I installed fedora on hard drive but I ended up losing my windows copy.. When i try UEFI mode from BIOS it says no boot device but when I use LEGACY it takes me to Fedora 24 what can I do to get my windows 8.1 back... How can I dual boot windows and Fedora

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-11-25 00:09:35 -0600

cmurf gravatar image

Legacy mode enables a compatibility support module that presents a faux BIOS to the OS so it appears to be a computer with BIOS firmware rather than UEFI firmware. By enabling legacy in firmware setup, you have a legacy Fedora installation, and a UEFI Windows installation, and the firmware can't autoswitch. So to go back to Windows you'll need to turn off the legacy option in the firmware. To boot Fedora you'll have to enable it. Every time. Ultimately you'll want to leave the legacy mode off, and just reinstall Fedora.

edit flag offensive delete link more


Oh, and if disabling the legacy mode doesn't get Windows booting, you'll need to get a Windows install USB stick, and get it to do a repair and hopefully that fixes it. If not, possibly if you can get a Fedora UEFI installation, its GRUB will pick up Windows and you'll be able to use GRUB to boot Windows.

cmurf gravatar imagecmurf ( 2016-11-25 00:12:17 -0600 )edit

answered 2016-11-24 23:51:49 -0600

Benjamin Doron gravatar image

updated 2019-04-10 19:59:55 -0600

You want GRUB (the Linux bootloader) to be loaded by your BIOS. It can then load Windows, Fedora or any other OS for you. The reason for this is that it supports many operating systems better than Microsoft's bootloader.

You need to add Windows to GRUB. There are a number of ways to do this. A simple solution is running the command "update-grub" which will force GRUB to search your hard drive(s) for operating systems, and add them to its list. You can try the Boot Repair tool, but it is unfortunately not available as an application on Fedora (Fedora doesn't support user-managed [ppa] repos). It is fortunately available as a live CD as well, available at It should fix everything without issue, but if it fails you can get detailed instructions and photos at If you would like to do this by editing grub.cfg, detailed instructions can be found here, but it may be too difficult for you.

I'd recommend backing up grub.cfg (found at /boot/grub/grub.cfg, if I'm not mistaken) and having a live CD on hand to fix up any possible issues. If one does occur, boot up the live CD and replace grub.cfg with your backup.

edit flag offensive delete link more


update-grub is an Ubuntu thing, it's not in Fedora or GRUB upstream. Also, on UEFI, Fedora uses /boot/efi/EFI/fedora/grub.cfg and on BIOS it uses /boot/grub2/grub.cfg - fairly confusing.

cmurf gravatar imagecmurf ( 2016-11-24 23:56:45 -0600 )edit

I did not know that update-grub was an Ubuntu command. Is there an equivalent for Fedora and other distros? Also, to be fair, I only forgot the "2" in grub2.

Benjamin Doron gravatar imageBenjamin Doron ( 2016-11-25 01:34:08 -0600 )edit

Question Tools


Asked: 2016-11-24 15:07:23 -0600

Seen: 111 times

Last updated: Apr 10 '19