Petri.co.il forums by Daniel Petri  

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri.co.il forums by Daniel Petri > Virtualization > Microsoft Hyper-V Technology
Petri.co.il is happy to award Virtual the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri.co.il forums by Daniel Petri Search Today's Posts Mark Forums Read

Notices

IDEALSTOR
.vhd wont boot in Hyperv or Virtual PC

.vhd wont boot in Hyperv or Virtual PC

this thread has 10 replies and has been viewed 4987 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th October 2009, 20:29
micklacey micklacey is offline
Casual
Casual
 
 Join Date: Oct 2009
  6 month star
 Posts: 3
 Reputation: micklacey is on a distinguished road (10)
Default .vhd wont boot in Hyperv or Virtual PC

Hey guys.
I have created a vhd of a windows 7 machine just for messing around with as it is my first time using hyper v. it was created with sysinternals disk2vhd application.

when i set up virtual pc on win 7 and try to boot up the vhd it just gives me a blank black cmd prompt screen....

when i try it in hyper v i get the same screen. virtual pc sees the vhd mounted as ide device but yet it wont boot from it.

hyper v doesnt see it in the boot screen like virtual pc but it is mounted in the settings. any ideas on what may be the problmem. i tried searching but couldnt find an answer. The VHD is on a dell equalogic iSCSI storage area if that makes any difference also.

i attached images of everything i specified.
Attached Thumbnails
Click image for larger version

Name:	virtualpc.png
Views:	73
Size:	51.8 KB
ID:	3529   Click image for larger version

Name:	hyperv.png
Views:	62
Size:	19.0 KB
ID:	3530   Click image for larger version

Name:	hyperv settings.png
Views:	114
Size:	35.6 KB
ID:	3531  
  #2  
Old 29th October 2009, 09:42
sorinso's Avatar
sorinso sorinso is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Haifa, Israel
 Posts: 2,964
 Reputation: sorinso is a glorious beacon of lightsorinso is a glorious beacon of lightsorinso is a glorious beacon of lightsorinso is a glorious beacon of lightsorinso is a glorious beacon of lightsorinso is a glorious beacon of light (533)
Question Re: .vhd wont boot in Hyperv or Virtual PC

I don't get it...
Disk2VHD is a P2V (Physical-to-Virtual tool). You took an existing Windows7 installation and virtualized it?
If so, what was the size of the original disk? What disk controller was it sitting on?
What is the size of the VHD file?
__________________

Sorin Solomon

»»»»»
In order to succeed, your desire for success should be greater than your fear of failure.
- Bill Cosby
«««««
  #3  
Old 29th October 2009, 13:40
micklacey micklacey is offline
Casual
Casual
 
 Join Date: Oct 2009
  6 month star
 Posts: 3
 Reputation: micklacey is on a distinguished road (10)
Default Re: .vhd wont boot in Hyperv or Virtual PC

Quote:
Originally Posted by sorinso View Post
I don't get it...
Disk2VHD is a P2V (Physical-to-Virtual tool). You took an existing Windows7 installation and virtualized it?
If so, what was the size of the original disk? What disk controller was it sitting on?
What is the size of the VHD file?
yes. i took a existing machine and created a vhd of it using disk2vhd.
the original disk was 80gb. it is on an sata drive
  #4  
Old 29th October 2009, 14:14
micklacey micklacey is offline
Casual
Casual
 
 Join Date: Oct 2009
  6 month star
 Posts: 3
 Reputation: micklacey is on a distinguished road (10)
Default Re: .vhd wont boot in Hyperv or Virtual PC

i am actually getting a problem when i create a new vm also.
i created a vm and set it up to boot from is of server 2003 and all i get is a blank black screen with a flicking cursor screen aswell.

help meee!!! please! Thanks
  #5  
Old 30th October 2009, 21:42
danielp's Avatar
MVP danielp danielp is offline
Administrator
MVP
 
 Join Date: Oct 2003
  6 month star 12 month star
 Location: Near Tel-Aviv, Israel
 Posts: 5,135
 Reputation: danielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to behold (787)
Default Re: .vhd wont boot in Hyperv or Virtual PC

You cannot just take a disk from a physical machine, create a VHD out of it, and boot it as a VM. The tool you mentioned - Disk2VHD - is nice, but it's not a P2V solution, it just creates a VHD out of a physical disk. So if you have a working VM you can now attach the VHD to it and access it, just like plugging in a new disk into a working machine.
__________________
Cheers,

Daniel Petri
MCSA/E, MCTS, MCT, Exchange Server MVP
VP Technologies - ObserveIT
  #6  
Old 18th November 2009, 22:08
smdrzal smdrzal is offline
Casual
Casual
 
 Join Date: Nov 2009
  6 month star
 Posts: 3
 Reputation: smdrzal is on a distinguished road (10)
Default Re: .vhd wont boot in Hyperv or Virtual PC

Yes this is true - I could access a Disk2vhd drive (cloned from an older laptop running XP) on a known good VM. However if I set that vhd as the boot drive on that VM I get the same result as micklacey - black screen. When I boot it to safemode it gets to mup.sys and hangs after that. I suspect it may be hardware abstraction so my next move is to do a repair install of XP on it to see if it will then boot - unless someone has some other knowledge to impart....
  #7  
Old 22nd November 2009, 11:06
teiger teiger is offline
Moderator
 
 Join Date: Mar 2005
  6 month star 12 month star
 Location: Tzurit, Israel
 Posts: 2,116
  Send a message via MSN to teiger
 Reputation: teiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to behold (693)
Default Re: .vhd wont boot in Hyperv or Virtual PC

Does the VM see the disk as Active? Use diskpart to set it active and see if that helps.
__________________
TIA

Steven Teiger [SBS-MVP(2003-2009)]
http://www.wintra.co.il/
  #8  
Old 23rd November 2009, 09:44
danielp's Avatar
MVP danielp danielp is offline
Administrator
MVP
 
 Join Date: Oct 2003
  6 month star 12 month star
 Location: Near Tel-Aviv, Israel
 Posts: 5,135
 Reputation: danielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to beholddanielp is a splendid one to behold (787)
Default Re: .vhd wont boot in Hyperv or Virtual PC

Guys, why don't you listen?

DISK2VHD is not a true P2V software!!!!

Why do you think you can boot off the VHD? DISK2VHD only looks at the disk itself, not at the operating system. It exports the physical disk to a virtual disk, which you can then use. It's just like using Windows Vista/2008/7 Windows Backup for a disk. That tool too will export the disk to a VHD file. DISK2VHD does the same. It does NOT migrate the operating system, just the disk.

It's not supposed to work that way.
__________________
Cheers,

Daniel Petri
MCSA/E, MCTS, MCT, Exchange Server MVP
VP Technologies - ObserveIT
  #9  
Old 23rd November 2009, 23:03
smdrzal smdrzal is offline
Casual
Casual
 
 Join Date: Nov 2009
  6 month star
 Posts: 3
 Reputation: smdrzal is on a distinguished road (10)
Talking Re: .vhd wont boot in Hyperv or Virtual PC

Actually it does work for me, and as I suspected it was the hardware abstraction that produced the system hang.

I decided to clone my work Laptop (XP SP3) for the experiment, and these are the steps:

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

That's it - my work network can't tell the difference between the two devices - so of course when I connected the real one with the virtual still on - both got bumped.

I repeated this 3 times and had success each time I followed the above steps.

Hope this info helps others.
  #10  
Old 23rd November 2009, 23:13
smdrzal smdrzal is offline
Casual
Casual
 
 Join Date: Nov 2009
  6 month star
 Posts: 3
 Reputation: smdrzal is on a distinguished road (10)
Default Re: .vhd wont boot in Hyperv or Virtual PC

Oh I forgot to mention that yes the repair install did work also, but was alot more work than the "expand hal" method.
Closed Thread


Go Back
Petri.co.il forums by Daniel Petri > Virtualization > Microsoft Hyper-V Technology


Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to exclude HyperV Virtual Network Adapters from Server 2008 Network Awareness Mack_Peters Windows Server 2008/2008 R2 0 28th August 2009 09:10
Transporting vmc and vhd files to Microsoft Virtual PC tzza3038 Virtual Server & Virtual PC 2 11th April 2009 10:05
VHD file boot problem in VPC bhattu Virtual Server & Virtual PC 3 5th March 2009 10:37
Resize VHD in Microsoft Virtual Server 2005 PhoenixTekBC Virtual Server & Virtual PC 3 6th January 2009 14:43
XP SP 2 wont boot xxotic Windows Server 2000 / 2003 1 18th January 2005 00:48



All times are GMT +3. The time now is 07:57.

Steel Blue Style vBulletin Style ©2006 vBEnhanced Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri