Clone Windows 10 to new disk

2

I have problem with Windows 10. I've installed Windows 10 on Qemu virtual machine and I need to clone this image to physical disk. I use ntfstool for do that.

Unfortunatelly my Windows doesn't boot because UNIQUEID for disk is different. I can change disk uniqueid to correct and boot windows but I must change uniqueid in Windows VM to 0x00000000. I have a system which automatically save windows images to correct disk but all disks have uniqueid as 0x00000000. I need to have image with the same id.

My questions are:
1. Can I change unique id for Windows disks without loosing boot ability?
2. Can I tell Qemu which id should new disk have?

Thanks.

windows
qemu
clone
asked on Server Fault Jan 20, 2017 by esio • edited Feb 2, 2017 by airhuff

2 Answers

4

+1 Run sysprep to prepare system for cloning then go with Clonezilla to prepare image of your VM and to write it on physical host.

answered on Server Fault Jan 20, 2017 by Mr. Raspberry
2

There is guide how to prepare windows system before cloning.

In two words, you need to use sysprep before cloning to remove system-specific data from Windows.

answered on Server Fault Jan 20, 2017 by Slipeer

User contributions licensed under CC BY-SA 3.0