We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

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

Medium Priority
2,505 Views
Last Modified: 2013-11-11
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?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
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

Author

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

Author

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.

Author

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
CERTIFIED EXPERT
Top Expert 2012

Commented:
Run a repair from the Windows CD which shoud replace the files and fix the HAL since it is different in the VM.

Author

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?
CERTIFIED EXPERT
Top Expert 2012
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
ahh that worked thanks a lot!
now to just get the virtual network cards running..
CERTIFIED EXPERT
Top Expert 2012

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.