Is there any way to add a Hyper-V Vhd to a VBox VM?
"i use the convertfromraw tool of VBoxManage and it appears to successful converted the HDD from VHD to VDI, but it wouldn't boot."
Hyper-v VHD on VBox
-
williamx
- Posts: 27
- Joined: 18. Dec 2010, 05:58
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Ubuntu 10.10
Hyper-v VHD on VBox
If you aren't in the path to become who you want to be, Then you are in the path to become who you don't want to be!!!
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Hyper-v VHD on VBox
I have never succeeded in getting a Hyper-V .vhd to boot in VirtualBox or WVPC (although other people claim to have done it).
The only method that works for me is to use sysinternals disk2vhd to clone the drive (after removing the integration components).
The only method that works for me is to use sysinternals disk2vhd to clone the drive (after removing the integration components).
Bill
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Hyper-v VHD on VBox
Convertfromraw? A VHD is not a raw disk image.williamx wrote:i use the convertfromraw tool of VBoxManage and it appears to successful converted the HDD from VHD to VDI, but it wouldn't boot.
All that convertfromraw does is take any old file you give it and wrap a VDI header around it, so of course it will "work". You can even mount the resulting drive in a VM and format it. What you can't do is access "the data", because unless you write your own sector level driver, you have nothing which can recognize the drive contents.
On a Windows host you should find the CloneVDI tool to be the easiest way to convert .VHD to .VDI, but note that converting the media may not make the contents VBox compatible.
-
williamx
- Posts: 27
- Joined: 18. Dec 2010, 05:58
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Ubuntu 10.10
Re: Hyper-v VHD on VBox
Thanks where to download disk2vhd??
If you aren't in the path to become who you want to be, Then you are in the path to become who you don't want to be!!!
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Hyper-v VHD on VBox
First result in Google.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Hyper-v VHD on VBox
Disk2VHD seems an odd choice for converting a disk image that's already in VHD format. I'm not aware of any variants of VHD that Hyper-v might be using which might be fixed by this procedure. ISTM this would just be an inefficient way of cloning the VHD. What the Hyper-V image might be doing is installing its equivalent of GAs, plus drivers for Hyper-v hardware. If so then neither of those issues would be fixed by Disk2VHD.