Hi,
I have used NTBackup to clone a hard drive, as a mean to check if my backups are complete. At first the backups were not complete, and when trying to boot missing files like ntoskrnl.exe were reported at boot. I tried to backup only ntoskrnl.exe individually but it wasn't included, and my backup had zero files. But then, I found some articles and used vssadmin list to list shadow copys while DriveImage XML was working in the background and I used dosdev.exe to map the shadow to the drive letter K:. Then I backed up everything on K:, and restored it to a new disk.
My original partition was the first, and I restored the backup to a second partition of a clean disk. The boot was OK, but got stuck at the welcome screen which looks about like the "windows is shutting down" screen just without that text.
I couldn't solve it, and tried different things: fixboot c:, fixboot d:, fixmbr, deleting the MountedDevices on the HKLM/SYSTEM registry. But nothing was working.
I finally wanted to see what will happen if it will be on the first partition, I took an other new HD, and restored there to the first and only partition, I did all the fix* and deletion of MountedDevices,
and it has successfully booted fine, and operated as a clone.
I like this idea because I will be able to do incremental backups of the whole system.
My problem is that I am not sure what is stopping windows from booting when it is on the second partition, and if this problem may prevent me eventually from successfully recover from a disaster. I suspect however, that this is a general problem with cloning windows, and not a specific problem of ntbackup,
Does anyone know how to solve this issue with cloning a 'native first partition' to a 'second partition'?
Also, my next steps will be to see if I can create the shadow without DriveImage XML, so I could schedule a task to do ntbackup regularly. I think vshadow.exe is the way to go, I wonder if it works on xp, and w2k3.
By the way, does anyone knows if there is a technical reason for which microsoft excluded these file (like ntoskrnl.exe) from the backup of ntbackup?
Reference:
How to map a drive letter to a shadow copy:
"Now, while NTBackup is still running you can assign drive letters to these shadow copies using DOSDEV.EXE. Let's take for example the first shadow copy:
E:\>dosdev v: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy4
Current definition: v: = \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy4"
(
http://blogs.msdn.com/adioltean/archive/2006/09/18/761515.aspx)