Page 2 of 3 FirstFirst 123 LastLast
  1.    28 Dec 2016 #11
    Join Date : Jul 2015
    Posts : 9,397
    Windows 10 Pro

    I would make a bootable USB flash drive or DVD of Kyhi's Recovery Tools:
    Windows 10 Recovery Tools - Bootable Rescue Disk

    Boot the computer from that. Run Macrium Reflect. Under the restore menu is a utility to Fix Windows startup problems. See if that fixes it for you.
      My ComputerSystem Spec
  2.    28 Dec 2016 #12
    Join Date : Dec 2016
    Michigan
    Posts : 20
    Windows 10 64 bit Pro
    Thread Starter

    Quote Originally Posted by NavyLCDR View Post
    I would make a bootable USB flash drive or DVD of Kyhi's Recovery Tools:
    Windows 10 Recovery Tools - Bootable Rescue Disk

    Boot the computer from that. Run Macrium Reflect. Under the restore menu is a utility to Fix Windows startup problems. See if that fixes it for you.

    I'll try that tomorrow. Tonight I followed some advice I found somewhere (forget now because I've got posts on multiple forums) and I get all the way to the end and got an error. Here is a screenshot of the cmd prompt showing what I did:

    cmd prompt screenshot

    picture won't upload for whatever reason so I place a link
    Last edited by whatitdo6; 28 Dec 2016 at 22:22. Reason: damn picture won't upload
      My ComputerSystem Spec
  3.    28 Dec 2016 #13
    Join Date : Jul 2015
    Posts : 9,397
    Windows 10 Pro

    Hopefully Macrium Reflect works for you. The only other thing I can suggest is use Macrium Reflect to make an image of your current Windows 10 OS partition (if you really want to keep it) save the image to a second hard drive (internal or external). Boot from Windows 10 installation USB flash drive or DVD, wipe the drive by deleting all the partitions on it (if you have a data partition, you can leave that one). Select the unallocated space to install Windows 10 to and do a clean install.

    Once the clean install is done, you will have a good EFI system partition. Then you can restore the OS partition from the backup image over the top of the newly installed OS partition. Run the Fix Windows Startup utility again, and you should be good to go.
      My ComputerSystem Spec
  4.    28 Dec 2016 #14
    Join Date : Dec 2016
    Michigan
    Posts : 20
    Windows 10 64 bit Pro
    Thread Starter

    The fix windows start-up didn't work, I will try cloning my windows drive tomorrow and go that route as you described. Thanks for your help so far. That is a nifty took btw (the iso you linked)
      My ComputerSystem Spec
  5.    29 Dec 2016 #15
    Join Date : Dec 2016
    Posts : 49
    Windows 10

    Quote Originally Posted by whatitdo6 View Post
    Did this and after the bcdboot command I got "Failure when attempting to copy boot files."
    diskpart
    list volume (note the volume letter where the Windows 10 is installed)
    exit

    bcdboot x:\windows (replace "x" with the volume letter of the Windows 10 partition)

    For example, bcdboot c:\windows or bcdboot d:\windows

    If the volume letter is incorrect, you will receive the following error message: Failure when attempting to copy boot files.

    -OR-

    You need to boot from the Windows installation media in UEFI mode (marked UEFI in the boot menu), if Windows is installed in UEFI mode. If you using the wrong mode, you will receive the following error message: Failure when attempting to copy boot files. (see screenshot below)

    diskpart
    list volume (note the volume letter where the Windows 10 is installed)
    exit

    bcdboot x:\windows (replace "x" with the volume letter of the Windows 10 partition)

    Click image for larger version. 

Name:	Failure when attempting to copy boot files.png 
Views:	9 
Size:	45.2 KB 
ID:	115135

    EDIT: Look at post #24
    Last edited by Avocado; 03 Jan 2017 at 06:51.
      My ComputerSystem Spec
  6.    29 Dec 2016 #16
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,153
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    @whatitdo6
    By default most Linux distros install its Linux Boot Loader (GRUB) and Basically replacing the Boot loader for Windows, so GRUB handles boot loading for both Windows and Linux.The whole EFI System partition was modified, You cannot just create a new BCD and expect it to work, you'd need to rebuild the whole EFI System partition.

    You don't need to re-install Windows. Here's what I suggest you to do:
    1. Download my copy of EFI System Partition, use 7-zip to unzip and save it some where , the file name is: EFI_System-00-00.mrimg
      EFI_System.7z - Google Drive
    2. Boot up the ISO file downloaded from post #11 and run Macrium, click on restore tab and browse to select the file in step 1 as the source (EFI_System-00-00.mrimg)
    3. Select your current Windows SSD as destination disk, (1)click on the 100MB EFI System partition, (2)click "Delete Existing Partition" (3)Drag and drop the "EFI System partition"(3) as shown in the screen shot. Click Finish to restore the new "EFI System Partition"
      Click image for larger version. 

Name:	2016-12-29_1-02-35.png 
Views:	1 
Size:	74.3 KB 
ID:	115126
    4. IMPORTANT: From top left corner, click on "Fix the Windows Boot Problems"
    5. Reboot
      My ComputerSystem Spec
  7.    29 Dec 2016 #17
    Join Date : Dec 2016
    Michigan
    Posts : 20
    Windows 10 64 bit Pro
    Thread Starter

    @topgundcp I will give that a shot tonight after work. Looks promising. Thank you. Also, what does that "Fix windows boot problems" button in macrium actually do? Does it simply run a bootrec /rebuildBCD ?

    @Avocado That makes sense. My only question is if I delete the efi partition, where does the newly rebuilt BCD come from? Is it from the reserved partition or the windows recover device? Or is the BCD something that is able to be compiled simply with the command prompt and the WinPE ?

    I'm glad you both responded (and @NavyLCDR) when you did, I was about to throw in the towel last night and just wipe the ssd and start over. I'll let you know how this works out tonight after work.
      My ComputerSystem Spec
  8.    29 Dec 2016 #18
    Join Date : Dec 2016
    Posts : 49
    Windows 10

    Quote Originally Posted by whatitdo6 View Post
    My only question is if I delete the efi partition, where does the newly rebuilt BCD come from?
    bcdboot <source>

    source - Specifies the location of the Windows directory

    Examples:

    bcdboot c:\windows
    bcdboot d:\windows

    If Windows is installed in UEFI mode and if you boot from the Windows installation media in UEFI mode (marked UEFI in the boot menu), then the "bcdboot <source>" command copies the boot files from the Windows OS partition to the EFI System partition and creates the BCD store in the same partition.

    Click image for larger version. 

Name:	list volume.png 
Views:	1 
Size:	40.6 KB 
ID:	115262
    Last edited by Avocado; 30 Dec 2016 at 02:09. Reason: added new screenshot
      My ComputerSystem Spec
  9.    29 Dec 2016 #19
    Join Date : Dec 2016
    Michigan
    Posts : 20
    Windows 10 64 bit Pro
    Thread Starter

    @Avocado

    It is indeed a EFI install, and the disk is GPT format, I also check secure boot (when I checked this info when I could still boot into win10) and it said "unsupported" so I don't know what to make of that.

    > bcdboot c:\windows

    Your post #6:

    Type in:

    diskpart
    list disk
    select disk 0 #(zero) Yours maybe different
    list volume #look for the EFI SYSTEM partitionFAT32 hidden usually 100MB (mine is Volume 3)
    select volume 3 #whatever number yours is, maybe different change accordingly
    format fs=fat32 quick label=System
    list volume #look to see which Volume is Windows (mine is drive C) Remember it!
    exit

    At the command prompt type in bcdboot C:\Windows #Where your Windows drive was.

    Type exit again.

    Click on Turn off computer, remove USB and restart.
    I did this and made it to bcdboot C:\Windows and assumed that the "#Where your Windows drive was" meant to use the volume number of the partition that contains the EFI (the 100MB one) and it failed

    When it failed I tried:

    within diskpart,

    sel vol = 3 (volume assumed to be EFI bc 100MB system)
    assign letter = K:
    exit

    cd /d K:\EFI\Microsoft\Boot\bootrec /fixbootren BCD BCD.old bcdboot C:\Windows /l en-us /s K: /f ALLexit
    (reboot)

    This failed at bcdboot as well. I tried it multiple times and sometimes the: ren BCD BCD.old doesn't work. From what I understand this is backing up the existing BCD as a different name (.old) so that the new BCD can be written.

    After the: bcdboot C:\Windows /l en-us /s K: /f ALL command I get something along the lines of cannot find location.

    For reference, here is the current map of my drives (reposted from my earlier post #12) and an error I received at an earlier point that I no longer receive. in this screen shot I assigned letter V. After each reboot that drive letter is cleared.
      My ComputerSystem Spec
  10.    29 Dec 2016 #20
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,153
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    @whatitdo6
    The procedure I gave above will copy my Windows 10 EFI System partition with all the correct files/folders structure and yes, the option "Fix Windows Boot Problems" will automatically rebuild the BCD to point to the correct partition GUID ID of your Windows C drive while others suggest to manually rebuild it.
    This procedure will take few seconds to complete once you boot the ISO downloaded from post #11 and run Macrium.
      My ComputerSystem Spec

 
Page 2 of 3 FirstFirst 123 LastLast


Similar Threads
Thread Forum
Windows boot slowly after dual boot Ubuntu
I used to use Windows for my work and It used to boot very fast. However, after dual boot with Ubuntu, my windows boot time became very long, it was annoying. I deleted Ubuntu, FORMATED ALL DRIVE, devided partitions, reinstalled Windows but it is...
General Support
Ubuntu Dual Boot
I am using the non-metro Windows 10 boot loader to manage a dual boot setup (legacy BIOS) with Ubuntu. Generally, everything works fine. However, sometimes when I perform an update in Ubuntu, grub overwrites the Windows MBR. Then I have to use...
Installation and Upgrade
Dual boot Windows 10 and Ubuntu 16.04?
Is it possible?
Installation and Upgrade
Ubuntu Boot option still available in UEFI BIOS after Dual Boot
Recently I played around with dual booting Linux Mint on my system. I decided that I would delete it for the present as I have other things to focus on. However, after deleting partitions and fixing my MBR to only boot windows my UEFI BIOS still...
General Support
Solved Cleaning up removal of Dual Boot with Ubuntu
I set up Ubuntu in dual boot with Win 10 and tried to replace it with Mint, which failed at installation. I then had a "grub rescue" prompt regardless of what I tried. I fixed the mbr by booting from Win 7 .iso and running Bootrec /fixmbr. I...
Installation and Upgrade
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 08:12.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums