7

I have an HP Omen laptop with a standard SATA hard drive and a recently purchased M.2 PCIe SSD.

I cloned the SATA drive onto the M2, but had trouble cloning all partitions. I have the System partition, Reserved and the Primary.

After cloning, I attempted to boot into the new hard drive. I had some problems setting the BIOS to automatically boot into my new hard drive. It would load the old one or give me "Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key" if I manually went directly to it.

I finally was able to get it to work, by going into change the boot order and then:

  1. Boot From EFIFile

  2. Chose my PCIe HD

  3. EFI

  4. Boot

  5. BootX64.efi

This worked without problem and booted into my M2 (fast!). I wasn't happy that it didnt boot directly to it though, so based on a comment that I read, I cleaned my old hard drive, removing everything from it. So now my new drive is the only one with anything. (I know this was stupid...)

After doing that, I not longer can use the steps above to get into the M2 SSD. The computer takes me straight to recovery, but I don't have a recovery partition anymore.

I made a Win 10 install USB and am about ready to do a full re-install of WIndows 10, but I was hoping someone may have some options to save my cloned drive. Since I have the Bootable USB, I now have access to a CMD prompt. Is there anything I can do to tell the system that it should boot to that hard drive?

Please note, my computer was using UEFI, but I have since tried setting the BIOS to legacy. I have tried both ways. My new M2 SSD was formatted as GPT. I don't know much about this and assume this may be related to my problem.

5

Cloning a hard disk alone isn't enough; you must mark the new System partition as active and then reconcile the boot configuration data (BCD). In BCD, the address of the partition from which to boot is given in the form of the SSD's unique ID, plus partition ID. If you don't reconcile, the boot loader will still look for the old hard disk.

Just for the record, the reconciling can be done by a utility called "Bootice". But you are well past that stage. Try this:

  1. Procure a USB flash drive with Windows Setup flashed into it. Microsoft Media Creator will help you build one, using another computer.
  2. Plug it in and boot from it.
  3. Confirm your language, locale and keyboard layout and click on "Next".
  4. Choose "Repair your computer" from the bottom left.
  5. Choose "Troubleshoot".
  6. Choose "Startup repair".
  7. Wait for the startup repair to complete.

If it didn't help, then I am afraid solving your problem is going to need you providing additional info.

  • It could take up to 3 or more startup repairs to get it booting properly. – Moab Jun 10 '18 at 15:17
  • Fleet, your answer helped clarify some things a lot for me and led me to a solution. I did try your suggestion of using Startup repair from the bootable flash, but it didn't solve the problem. Adding my final solution as an answer. – jpsnow72 Jun 10 '18 at 16:37
5

The problem was with my EFI partition.

As Fleet Command mentioned, cloning the hard drive was not enough. I attempted to mark the system partition as active, but that didn't help either since my new hard drive was originally partitioned as GPT, not MBR.

To fix the issue I used BillyGun's answer from here: https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-10-bootrec-fixboot-access-is-denied/747c4180-7ff3-4bc2-b6cc-81e572d546df

Windows 10 Installation Media:

  1. Insert the Media (DVD/USB) in your PC and restart.

  2. Boot from the media.

  3. Select Repair Your Computer.

  4. Select Troubleshoot.

  5. Choose Command Prompt from the menu:

Type in the command:

Diskpart

Type in the command:

List disk

(Note which disk is your Boot drive number mine is 0)

Type in the command:

Sel disk 0

Type in the command:

List vol

(Note which volume is the EFI partition mine is 4)

Type in the command:

Sel vol 4

Type in the command:

assign letter=V:

Type in the command:

Exit

Type in the command:

V:

After you have assigned a drive letter Using Diskpart You can format the EFI partition:

Example: if you assigned a letter V to the partition the command would be:

format V: /FS:FAT32

After the format you need to recreate the EFI directory structure with the command:

MD \EFI\Microsoft\Boot

Then change to the Boot directory with:

cd /d V:\EFI\Microsoft\Boot\

Then run:

bootrec /FixBoot

Finally run:

bcdboot c:\Windows /l en-us /s V: /f All

Type in the command:

bcdboot C:\windows /s V: /f UEFI

(This replaces the above crossed out lines and works in Win 10 1709)

I actually ended up skipping formatting and recreating the EFI structure since I had the partition there already.

  • 2
    I see. So, technically, you didn't even clone the hard drives: The partitioning scheme was different. Well, I am double happy because you finally got it right AND were so kind as to upvote my answer too. You have my best wishes. – user477799 Jun 10 '18 at 17:37
  • 1
    I cloned several of the partitions with Macrium Reflect, but for some reason had trouble cloning the whole hard drive. Thanks again for your input – jpsnow72 Jun 10 '18 at 18:40

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.