Hard disk cloning
-
Hi all, I made an application in vc++ that clones a hard drive. In my application I am copying sector by sector of one hard drive to another hard drive. I copy all the sectors from sector 0 to end sector. That means I copy MBR of source Disk to Destination disk also, and also disk signature of source disk also copied to destination disk. Now after cloning, In case of XP(when I cloning winXP disk to another) there is no problem I can reboot my system with cloned disk even Source disk is connected to machine also. When I check the disk signature of cloned drive it automatically changed by OS(because there can not be two Hard drives conneted to machine at same time having same disk signature) but system boots well and data is also there in both disk drives. In case of VISTA when I clone my vista disk then also all sectors copied to Destination disk(including disk signature and all). After cloning If I boot my system with cloned drive(sourceVista disk is also connected) then the disk signature of cloned disk is changed - agree. But the system is not booting with Cloned disk and I get booting error "winload.exe" is currepted. Now if I remove my source drive from machine and try to boot with cloned disk then also I get same error message(I think that due to disk signature that was changed by OS when I rebooted). I can only boot my system with this cloned disk by changing the disk signature that was of SourceVista disk. It means I can reboot my system with Clone disk when it is connected seperately or with any other drive (other than sourceVista disk). I tried to tell you my problem at my best but I am also confused that why it is happening. I think it is right furum to place this problem. Please anybody help me to sove the problem. Thanks.