Windows 10 bootloader possibly corrupted, can't boot or repair

Hi guys,

Yesterday I just finished cloning my SATA based SSD over to my new NVMe SSD using the dd in the Linux CLI.

The SATA SSD copied over perfectly and I booted into Windows just fine on the new NVMe drive.

Today I started the process of making an image of the SATA SSD’s main partition (exclusing the recovery partition and such) and compressed and saved the image using gzip onto my 2TB HDD.

Next, I go into the Windows pre-install environment and open up command prompt to use diskpart to clean the SATA SSD so that I can use it for mass storage.

So here’s where I’ve now run into trouble. Now all of a sudden I can’t get Windows to boot. I’ve tried doing bootrec /fixmbr and /fixboot, but to no avail. I’ve gone into Linux and looked at my NVMe drive to check that I didn’t accidentally format it, but I can still see all my files. And yes, I’ve already tried booting from the NVMe without having the SATA SSD connected to the system.

Is there anything short of doing a clean W10 install that could fix this? As I’m willing to bet the bootloader or something related to it is broken somehow. Would it be possible for me to reinstall Windows on my SATA SSD and do a system recovery from the image I created? I’ve never restored a drive from an image, so I’m not 100% on how that would work.

Any suggestions or help would be amazing.

You have made this more complicated…
Questions:

  1. What is “Windows pre-install environment”
  2. Are you positive that you have at least once booted from NVMe?
  3. Have you ran “bootrec /ScanOs”? Does it find your OS?
  4. Have you checked the letter assigned to your boot NVMe drive?
    (diskpart)
  5. Is parition set as active? and MBR exists?
  1. Does Windows appear in the boot options in the BIOS? What options are there?
  2. Please provide us with a screenshot of your current drive partitions.

MBR? You sure it’s not using EFI?

  1. By that I mean using a W10 install USB to get into command prompt under the repair tools.

  2. Yes, several times, as for the last day I hadn’t had my SATA SSD even plugged into the system.

  3. I ran ScanOs and it does find a Windows installation on my E:\ drive (NVMe)

  4. Does the drive letter need to be C:\ in order to boot? Diskpart shows my NVMe drive as E.

  5. I keep forgetting I’m using GPT. I’m not sure if it can be active as it’s a GPT.

  1. Yeah, my NVMe has a Windows Boot Manager option that shows up in the boot menu.

7.

its likely set as C in your registry;

change letter to C; and try booting again.

Thatnks for the suggestion. I gave that a try after you mentioned it. Went back into command prompt, reassigned the drive that was currently using drive letter C and assigned it to V, then assigned the NVMe drive to C. Rebooted and no luck. I went back into command prompt and double checked to see if the changes stuck, but it seems that the letter changes didn’t stick after rebooting.

likely you haven’t saved your changes.

That’s a possibility. I’m not sure how you would go about saving changes made in diskpart? I’ve tried looking up if there’s a function in diskpart to save changes, but haven’t found anything.

if you have problems then just do it from linux distro.

Not exactly sure on how I’d go about doing that through Linux. Wouldn’t that involve editing some Windows registries from within Linux? Not sure if I’d be comfortable doing that unless there’s a tool that can do that which I’m unaware of.

registry editing would only be the case if you wanted to switch C: installation to your E:

all you need to do is assign letter C to this drive.

I appreciate the help. I actually managed to get Windows to boot again after disconnecting every drive except for the NVMe and the Windows 10 Installation / repair USB and then tried bootrec again in command prompt. Though now my BIOS shows multiple Windows Boot Managers in the boot menu. I can get into Windows now, though. Is it worth going through BCDedit to clean up those extra Boot Manager entries, or is there another way to clean those up? Or perhaps it’s more trouble than it’s worth and I should just leave it be.