Ask Your Question
1

How to restore Windows 10 boot entry after installing Fedora 24

asked 2016-08-16 13:00:35 -0600

jake gravatar image

Hello Boys and Girls,

i decided to upgrade from 23 to 24. So i freshly installed Fedora 24 over 23 (Fedora got its own drive). Everything works as expected, except the Windows 10 boot entry was missing (the entry in the uefi-menu which appears if i hit F11 at startup). Sadly there is also no entry for my Windows in the grub menu.

Rebuilding the grub config did not work, os-prober cannot find the windows boot stuff. I've tried boot-repair via ubuntu live stick, which didn't work either,... but the log is interesting. It says for sda1 (Fedora) and for sdb1 (Windows) "No errors found in the Boot Parameter Block". You can find the whole boot-repair output here.

Please help me get my windows up and running ;-P thx

edit retag flag offensive close merge delete

Comments

That's a very strange setup for Windows. The windows drive doesn't have an EFI partition. How is that possible? The EFI partition on sda1 was created by the installer, so either there never was one or else the installer reformatted it. Can you provide the installer logs? Have you tried booting in BIOS (CSM) mode to see if it can find windows that way?

ssieb gravatar imagessieb ( 2016-08-16 19:20:46 -0600 )edit

Seems 2 bugs have been reported : Common F24 bugs

yolo gravatar imageyolo ( 2016-08-17 10:06:44 -0600 )edit

Here we go, the installer logs (i can provide em all if needed):

/var/log/anaconda/anaconda.log

/var/log/anaconda/storage.log

I've enabled CSM, now i'm able to select the disk Windows resides on as boot device. But if i do so, i'm presented a black screen telling me: "Reboot and Select proper boot device or Insert Boot Media in selected Boot device and press a key" :-(

jake gravatar imagejake ( 2016-08-17 13:16:06 -0600 )edit

@yolo, those bugs aren't relevant in this case.

ssieb gravatar imagessieb ( 2016-08-17 14:16:35 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2016-08-18 15:17:14 -0600

jake gravatar image

updated 2016-08-18 15:21:26 -0600

I finally did it!

And here is how: I went back to the Windows recovery stick. Within the "Advanced options" i choose "Command prompt" and ran:

bootrec /rebuildbcd

After reboot a "Windows Boot Loader" entry appeared (in the uefi-menu which opens if i hit F11 at startup), but furthermore i only got a short black screen followed by a fall back to the uefi-menu. Again totally clueless, i thought let's try this mysterious "Startup Repair" again and this time it did its job!

@Samuel If you're curious here is my current "fdisk -l" output, still no efi partition on sdb.

edit flag offensive delete link more

Comments

Of course, it will use the efi partition on the boot disk. I was just surprised to see windows on the secondary disk but no efi partition which would have indicated that you had swapped the drives around.

But thanks for the info. That might come in handy some day.

ssieb gravatar imagessieb ( 2016-08-18 15:27:17 -0600 )edit

Same problem but don't understand your solution, can you go step by step as how you did to solve the problem.... sorry I'm to much of a noob

kmillanr gravatar imagekmillanr ( 2017-09-06 10:52:16 -0600 )edit

Hi! I had the same problem when updating to Fedora 28. How can I get such Windows recovery stick ?

zml gravatar imagezml ( 2018-07-21 03:18:08 -0600 )edit

@zml, you make it from within Windows. If your system isn't working, you can make it on a different computer. You might also be able to download it from Microsoft.

ssieb gravatar imagessieb ( 2018-07-27 14:58:08 -0600 )edit
0

answered 2016-08-18 12:41:53 -0600

viper001 gravatar image

install grub-customizer from terminal and open it... grub-customizer will detect if any OS is hidden it will detect there you can set fedora or windows to open based on your interest...

edit flag offensive delete link more

Comments

nope sorry, grub-customizer uses os-prober to examine the system, which mentioned earlier is not able to find my Windows installation.

jake gravatar imagejake ( 2016-08-18 14:43:07 -0600 )edit
0

answered 2016-08-17 14:14:53 -0600

ssieb gravatar image
05:52:38,313 INFO anaconda: Creating disklabel on /dev/sda
05:52:38,518 INFO anaconda: Creating efi on /dev/sda1

Somehow you told it to reformat the entire drive during install. It wiped out the existing EFI partition and created a new one. If you don't have a recovery disk, you can download the installation media from Microsoft. Backup your windows files from Fedora if necessary, then see https://support.microsoft.com/en-us/h... for how to get and use the installation media.

edit flag offensive delete link more

Comments

Created a Windows 10 recovery stick and booted it.

Whithin the "Advanced options" i choose "Startup Repair" resulting in: "Startup Repair couldn't repair your PC"

As a matter of fact, i destroyed the Windows boot files. Is it even possible now to restore them without reinstalling the whole system?

jake gravatar imagejake ( 2016-08-17 15:05:10 -0600 )edit

I have no idea about that. Unless someone else has a better idea, the easiest solution is probably a reinstall of windows. I think it will leave Fedora alone, but I highly recommend backing up anything important before doing it.

ssieb gravatar imagessieb ( 2016-08-17 16:07:07 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-08-16 13:00:35 -0600

Seen: 11,996 times

Last updated: Aug 18 '16