How to Boot Windows 10 from Cloned M.2 NVME

M.2 SATA to NVME clone: Windows 10 won’t boot

Problem: Windows partition won’t boot after cloning M.2 SATA drive to M.2 NVME. Simply returns to BIOS splash screen are restarts boot sequence.

Background: Cloning process was simple raw dd copy. Drive had EFI, Windows 10, and Linux partitions. Cloning preserved exact partition sequence, sizes, and UUIDs.

Linux partition needed minor tweaks to /etc/fstab due to the device names being different (/dev/nvme0n1px vs. /dev/sdax), but boots fine.

The disk is GPT, and I believe the original Windows 10 was UEFI – the Linux installation definitely was.

Boot sequence brings up Linux ‘grub’ menu first. Choosing the EFI partition then brings up Windows EFI boot menu. Fresh Windows install (see below) boots fine from here, old install fails.

Attempts at solution: I did a fresh Windows install in a spare partition and it boots fine. Using the new Windows installation, I’ve edited the BCD entry for my original Win 10 install. I have
the correct BCD device, osdevice, and path.

Questions:

  • What else needs to be done to make Windows boot again?
  • Are there any config file or registry changes that need to be made to account for the SATA to NVME move?
  • How do I see boot error messages for a UEFI boot failure? No errors displayed and no log files that I can find in Windows or EFI partitions…

 

Read more here: Source link