Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Virtual server will not boot

Posted on 2011-09-13
8
Medium Priority
?
1,214 Views
Last Modified: 2012-06-22

I captured a windows 2003 physical server using Disk2VHD.  Moved vhd files to windows 2008 standard server running hyper-v as a role.  Created VM and attached vhd's.  When booting the virtualized server I get "Error loading operating system".  Booted up using the installation CD and attempted a repair.  Ran fixmbr, same error message when trying to boot.

I have tried capturing the image with all the HP insight services disabled and stopped as well as SQL services. Attached vhd to another server running on this machine and checked boot.ini and changed partition to test.  Still no luck.

I asked this in an earlier question and thought it was working but had made a mistake and  started the wrong image when I closed the question.
0
Comment
Question by:marty-240
8 Comments
 
LVL 4

Expert Comment

by:jrobillard
ID: 36530456
Hi

Did you try this with a boot disk in the recovery mode
Type BOOTREC /FIXMBR, and then press ENTER.  
Type BOOTREC /FIXBOOT, and then press ENTER.  
Type BOOTREC /REBUILDBCD, and then press ENTER

thanks
0
 

Author Comment

by:marty-240
ID: 36530570
Thanks for the suggestions.  Just ran.  Bootrec was not recognized but I did run fixmbr and fixboot.  Rebuildbcd was not recognized either.  Get the same error when booting up - Error loading operating system
0
 

Expert Comment

by:mohamedmaged
ID: 36530856
do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk

0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:marty-240
ID: 36530998
Not sure what you mean.  I downloaded and installed disk2vhd on the 2003 server I created the image of and pushed the vhd files to the hyper-v server.  THen created the VM and attached the vhd files to it.  Should that have worked?
0
 
LVL 3

Expert Comment

by:OliverLo
ID: 36532831
Hi Marty,

I'd say that it should work but I am not sure 100%.
Did you connect the VHD through a SCSI virtual controller or a IDE controller?
You need IDE controller to be able to boot the system from a disk.

When the image you took is starting in the VM's virtual hardware it will check which driver must be loaded to run the hardware. In this case the driver you may need is the one required to access to the disk itself. The problem here is that you would have to install the integration service on the VM OS but you can't since it's not booting...

Maybe could you try the following:
http://www.petri.co.il/forums/showthread.php?t=41390
This specific entry looks interesting: the guy is copying another HAL version from the source installation media to the VHD containing the OS image. I know that the HAL is sometime the problem in P2V migration so give it a try:

1)Downloaded Disk2VHD (v 1.3) from sysinternals (free) and unzipped on the laptop
2)Find a place to store the new vhd - I used a 320GB external USB, but any storage device that pc can see and is big enough to hold your hard disk should work
3)Run Disk2VHD and input the name and location for the new file
4)On your virtual host create a new VPC (I use Virtual PC 2007) and add that new vhd you just created as the primary hard disk.
5)Make sure you have an ISO of WinXP or an actual disk. If using an iso you'll need to mount it so it can be booted from.
6)Fire up the new vpc and have it boot from that XP disc.
7)Let it run setup and then select option 2 (R) to get repair console
Login in to windows (need admin pw)
9)Type “cd system32” press enter
10)Assuming your CD (or mounted iso) is drive D - Type “expand d:\i386\halacpi.dl_” press enter
11)Type “copy halacpi.dll hal.dll” press enter and then press y
12)Reboot
13)Press F8 to get to safe mode
14)After the message that new stuff was installed, click OK for reboot
15)After system boots back up, log in and install VM Additions

I cannot access to a Hyper-V server right now (so I can't test anything regarding the integration services...) but if I do tomorrow and get other ideas then I'll let you know.
Good night.


0
 

Author Comment

by:marty-240
ID: 36543091
It is connected through an IDE controller.  I detached the vhd from the vm that will not boot up and added it to a VM that boots.  I am able to access the files through explorer through a drive letter.  I replaced the HAL with the hal from the VM machine I am using to access the file.  THis is the same OS, as I used the same installation media to build this machine.  I reattached the vhd file to the problematic VM and get the same error.  I tried again, this time replacing the HAL with the hal from the host machine that is running hyper-v.  On booting I get the same error. Thanks for the suggestions but no luck.
0
 

Accepted Solution

by:
marty-240 earned 0 total points
ID: 36988922
never got it to work
0
 

Author Closing Comment

by:marty-240
ID: 37013587
no suggested solution worked.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question