Solved

Virtual server will not boot

Posted on 2011-09-13
8
1,041 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
 

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
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
A procedure for exporting installed hotfix details of remote computers using powershell
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…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now