Ask Your Question
0

Windows 10 is gone after installing Fedora 25 Workstation

asked 2016-12-25 09:16:05 -0500

sunflakes gravatar image

Please Help me!!! I am not a linux person, I just installed it because I wanted to learn it. Biggest mistake of my life! I should have learned it first then installed it. I have no idea how the system works. I am completely lost. Before I describe my unfathomable misery let me tell you how I ended up here.

1.I installed it on my Dell Laptop a few days ago(UEFI Mode) - I followed an online instruction and installed it successfully creating a new partition of size 20 GB for my Fedora. - EVERYTHING worked just fine and I was quite enjoying myself in the new OS.

  1. Then after I made my first restart, I couldn't see windows in the Boot Menu(GRUB).

  2. I tried pretty much everything

    • I tried some of the answers of some previous questions asked in this forum and tried to copy paste the commands in my terminal. But it's not working.
    • I have tried to switch between Legacy and UEFI to see if the windows bootloader appears, but it doesn't
    • Then I tried to boot from my windows 10 recovery disk. But guess what? It isn't booting from it There are no "boot from CD/DVD option in the boot priority(UEFI) and even though there is a CD/DVD in Legacy, but it isn't booting from it.

What do I do now??? I have no idea. Please help me. All i have left to do is to just smash this F*&%ING thing into the ground then see if windows 10 appears in the bootloader.

Please.... Please help me!!!! I can't do complex linux stuff! I've enever even used it my entire life!

Even if you can't fix it, give me some solution

Thanks in advance! :)

edit retag flag offensive close merge delete

Comments

Did you disable secure mode on UEFI, if you did try enable it. Then try the recovery this. Not much I can help as use only Fedora on my pc. But Some issues arise when disable secure mode.

aeperezt gravatar imageaeperezt ( 2016-12-25 10:38:31 -0500 )edit

I think the solution to this lies in adding back your Windows partition to grub. This seems to be quite a common problem. Don't panic - I know it can be frustrating when you don't know the answer(s) but all is not lost. Have a look here to see if this helps: https://wiki.gentoo.org/wiki/GRUB2#Tr...

thingummybob gravatar imagethingummybob ( 2016-12-25 16:35:54 -0500 )edit

There isn't enough information how you installed it; did you use automatic partitioning or custom partitioning, did you delete any partitions or did you only select one partition (the biggest one, which has Windows on it) and resize it? IF you only did a resize, you have one problem. If you deleted one of the partitions you have a different problem. Also are you using disk encryption with Windows 10 (Bitlocker)? If you could post the following info it would help:

lsblk
sudo gdisk -l /dev/sda
cmurf gravatar imagecmurf ( 2016-12-27 17:50:11 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-26 05:04:33 -0500

andrewrembrandt gravatar image

updated 2016-12-26 15:09:10 -0500

Hi,

  1. Coffee probably required (maybe a few);
  2. Did you shrink/resize your existing Windows partition before installing Fedora? I.e. to prepare for dual booting? If that doesn't make sense, this is a good start: http://unix.stackexchange.com/questio...
  3. Install and start GParted (when logged into your Fedora install) - can you see your windows partition? If so, good, if not, you'll probably need to reinstall windows (not the end of the world)
  4. Check your EFI/boot/bcd partition (should be mounted under /boot/efi - you'll need to run the following as root) if you see files under a EFI/Microsoft folder, much like the below, you should be able to manually boot it:

    > cd /boot/efi/EFI  
    > ls  
    Arch/  fedora/  Microsoft/  shim/     tools/  
    Boot/  grub/    refind/     systemd/  ubuntu/
    
  5. Drop into command line mode when on the grub boot menu and try the following:

    set root=(hd0,gpt2)  # Might be optional (i.e. it's set by default -  
                         # try the below - nb tab completion should work)  
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi  
    boot
    
  6. If that works, you can try re-running grub2-mkconfig as root (it is supposed to auto-detect a windows partition):

    ### BEGIN /etc/grub.d/30_os-prober ###  
    Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
    
  7. Google is your friend - might seem like there's a steep learning curve, but there's a ton of useful info online, including rebuilding a Windows BCD. Having a recovery image on a USB/SDCard (one for Windows and one for Linux) is also handy - see http://www.system-rescue-cd.org/Syste... and http://www.techradar.com/news/softwar...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-12-25 09:16:05 -0500

Seen: 3,389 times

Last updated: Dec 26 '16