Thursday, June 6, 2019

windows 10 - Why I cannot restore system image onto new hard drive?


I have create system recovery image via Steps> Control Panel\All Control Panel Items\Back up and Restore (Windows 7). I actually selected all partitions on the HDD. I then replaced my 1TB HDD with a new 2TB HDD. Then I boot into system repair disk. From there I selected restore image from usb disk. It can automatically select the correct system image on USB HDD. Then I start to restore. But then I got an error said it cannot restore the system because it cannot find suitable HDD. However, the new 2TB HDD is correctly located as disk 0 when I look into the diskpart. What did I do wrong? I do not think I need to partition the new disk since the restore is supposed to restore the partition layout too.


The old disk is gpt and with efi partition. I also initialized the new disk as gpt. The old disk contains 2 ext4 partitions for linux, which is not backuped by windows image tool.


From here, it said the new HDD should not contain any partition. But there is no partition on my new HDD. Why I still cannot restore it?


Answer



I finally figured it out. The partition table of new HDD inside the computer will have a read only attribute somehow. We have to use diskpart to remove the readonly attribute:


select disk 0
online disk
attribute disk clear readonly

Then the restoration process will just work.


I have not idea why MS make this process so difficult. The error message can definitely be more specific than No disk that can be used for recording the system disk can be found.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...