Solved

Virtual server will not boot

Posted on 2011-09-13
8
1,092 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

734 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