Ask Your Question

How to recover Windows bootloader after Fedora 25 installation?

asked 2017-07-03 19:47:37 -0500

masolimano gravatar image

Hello there, this has been asked before but I haven't find a "for dummies" solution:

A few months ago I installed Fedora 25 dual boot on my Toshiba Satellite machine, with Windows 8.1 previously installed. Since the live image on a USB stick was not booting on UEFI mode, I had to switch my BIOS to CSM mode in order to get the Anaconda Installer working. Fedora installed correctly but the Windows entry on the grub definitely disappeared. I first thought that switching to UEFI mode again would do the trick but I got the message: ''No bootable devices found--Please restart'' So I cannot get Windows to boot.<brr> The command fdisk -l will produce

Device          Start        End    Sectors   Size Type
/dev/sda1        2048     923647     921600   450M Windows recovery environment
/dev/sda2      923648    1456127     532480   260M EFI System
/dev/sda3     1456128    1718271     262144   128M Microsoft reserved
/dev/sda4     1718272 1020706815 1018988544 485.9G Microsoft basic data
/dev/sda5  1230422016 1231343615     921600   450M Windows recovery environment
/dev/sda6  1231343616 1250263039   18919424     9G Windows recovery environment
/dev/sda7  1020706816 1020708863       2048     1M BIOS boot
/dev/sda8  1020708864 1022806015    2097152     1G Linux filesystem
/dev/sda9  1022806016 1230422015  207616000    99G Linux LVM

I know Windows is still installed on ''sda4'' but apparently the "bootloader" was deleted or corrupted. I've been trying to work out a solution from this this post and this post but I have no intention on buying a Recovery Disk from NeoSmart. Is there an alternative way to repair this without having to purchase anything?
Consider I have little experience on Linux and I'm not used to the jargon.

edit retag flag offensive close merge delete


The issue needing troubleshooting is why it's not booting in UEFI mode. It's not possible to support dual installations where Windows is UEFI and Fedora is BIOS. The "no bootable devices" message is awkward, the firmware should find a bootloader no matter what via fallback. So you might have to find the F button to bring up the firmware boot manager and manually choose what to boot.

cmurf gravatar imagecmurf ( 2017-07-04 14:51:56 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-07-04 10:06:21 -0500

villykruse gravatar image

updated 2017-07-05 02:57:14 -0500

Changing back to UEFI should give your windows back.

You should get a USB stick which is able to be booted in UEFI mode, as that is the only way you can dual boot with UEFI windows. Using that USB stick you will need to re-insall Fedora in UEFI mode.

You can find it here:

The recommended way is to use the mediawriter utility to download the fedora distribution and write it to the USB stick.

DO NOTE, this destroys all contents on the USB stick, so make sure nothing important is on that stick.

Also see the answer to:

edit flag offensive delete link more


Will this make Windows bootable again? Actually I'd prefer not re-installing Fedora.

masolimano gravatar imagemasolimano ( 2017-07-04 18:52:03 -0500 )edit

You do need to reinstall Fedora if you want to dual boot with UEFI WIndows.

villykruse gravatar imagevillykruse ( 2017-07-05 02:56:08 -0500 )edit

Ok. Fine. I installed mediawriter but I can't run it because I am getting the "Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)" message. Really annoying. Spent several hours trying to fix. I think I'd better burn the images directly.

masolimano gravatar imagemasolimano ( 2017-07-05 16:06:52 -0500 )edit

You mean: burn to a DVD? Looks like a good idea.

Some person mentioned that he used Rufus to write to the USB stick.

villykruse gravatar imagevillykruse ( 2017-07-06 02:19:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-07-03 19:43:03 -0500

Seen: 733 times

Last updated: Jul 05 '17