Last Modified: Mon, 21 Aug 2023 16:34:59 +0000 ; Created: Thu, 20 Jul 2023 02:50:58 +0000
I had a system where I wanted to clone a USB enclosure drive to an internal RAID running under Intel RST (fake-RAID). Linux cannot recognize the recent laptop edition of the Intel RST (the decades older RSTi has a kernel module, but not the newer one). I had to use a Windows environment for the necessary driver support to recognize the disk volumes.
I initially created an amd64 WinPE disk, but it also lacked BitLocker support and other necessary tools. I tried some online disk cloning softwares that would create WinPE boot media, but they did not do a true sector by sector copy resulting in the BitLocker partition being corrupt.
I used a Ventoy USB with the unmodified Win10_22H2_English_x64v1.ISO installer. I would boot with this, select repair, and open a Command Prompt.
I also found a 64-bit version of dd.exe for Windows (most versions are 32-bit which won't execute). http://www.chrysocome.net/dd. You want the ddrelease64.exe.
D:\ddrelease64.exe --list Use diskpart list disk if you need disk numbers for reference.
ddrelease64.exe if=\\?\Device\Harddisk2\Partition0 of=\\?\Device\Harddisk0\Partition0 --progress bs=1G
If the system does not boot you probably need to rebuild the UEFI BCD
Use diskpart to Assign the EFI partition if necessary E: cd \EFI\Microsoft\Boot bcdboot C:\Windows /l en-us /s E: /f ALL