• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2373
  • Last Modified:

NTOSKRNL.exe corrupt error - restoring physical server backup as virtual machine

We need to migrate one of our production servers (win 2003 R2 SP2) to test environment.
We have MS hyper V with SCVMM installed on win 2008 x64 on our test environment and have tried using the out of the box P2V functionality which failed. Also a trial version application called vConverter has worked in the past but not for us this time.

So we have done a complete back up our physical server (using drivesnapshot) and restored this to a vhd attached to another virtual server.
We then modified the boot.ini file to use the disk 0 and attached this second vhd (with production backup) to a new virtual machine.

However when we try to boot it we get the C:\windows\system32\Ntoskrnl.exe is missing or corrupt..

We've tried copying the original production servers Ntoskrnl.exe file into the same location on virtual server, restoring using the R2 recovery cd (although this Cd is SP1), and also copying the Ntoskrnl.exe file from another virtual server running win2003 R2 SP2.
The error persists..

Any suggestions of how we can get this to run?
0
northtecicts
Asked:
northtecicts
  • 5
  • 3
1 Solution
 
dan_blagutCommented:
Well I think the boot ini file is not OK. The ntoskrnl message is because the starter can't find the correct  Windows directory (usualy is mising not corrupt).

Dan
0
 
northtecictsAuthor Commented:
I don't think that would be the problem.
We edited the boot.ini file (as it was giving an error other that one stated above) from  rdisk(0)partition(2)\WINDOWS  to the following (once set to the following the error changed to corrupt Ntoskrnl.exe
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows Server 2003 Standard x64 Edition" /noexecute=optout /fastdetect

Open in new window

0
 
northtecictsAuthor Commented:
the error we were receive with any partition other than (0) we get this error:

Windows could not start because of a computer disk hardware configuration problem.
Could not read from the selected boot disk. Check boot path and disk hardware.
Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
northtecictsAuthor Commented:
although now that I think about it - the first time we tried to boot the new virtual server we got a different message again:
Boot failure. Reboot and select proper boot device or insert boot media in selected boot device
0
 
Darius GhassemCommented:
Run a repair from the Windows CD which shoud replace the files and fix the HAL since it is different in the VM.
0
 
northtecictsAuthor Commented:
I've tried a few recovery console options via with windows 2003 CD, however none regarding the HAL.
Can you please point me in the direction of how we can correct this on our VM?
0
 
Darius GhassemCommented:
Instead of going to the recover console select Enter to install Windows then it will search for previous installs. Once it has found you previous installed it will ask you to do a repair then you select R to repair the OS.
0
 
northtecictsAuthor Commented:
ahh that worked thanks a lot!
now to just get the virtual network cards running..
0
 
Darius GhassemCommented:
To get the VMs NICs to run you might will have to install legacy network adapters. Try to install the regular adapter but if it doesn't work then do the legacy ones. Make sure you install the integration tools as well.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now