How to maintain Hyper-V guest virtual drives

Discussions about using Windows guests in VirtualBox.
Post Reply
mwpowellhtx
Posts: 22
Joined: 8. May 2012, 00:38

How to maintain Hyper-V guest virtual drives

Post by mwpowellhtx »

Hello,

We've got a VM deployed in a Windows Server 2012 R2, Hyper-V session. I need to do some maintenance on the VM guest drive, and my best chances for success I believe are with VirtualBox, especially for its USB support.

To do this, I believe the following are necessary, more or less:
  • Detach VHD from Hyper-V during the operation.
  • Convert the Hyper-V VHDX to VHD format (Convert-VHD).
  • Copy VHD to local drive to VirtualBox and setup a VM with IDE VHD controller.
  • Do necessary maintenance work.
  • May "redeploy" the VM to Hyper-V using the VHD instead of the original VHDX.
This is about right?

Thank you...

Best regards.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: How to maintain Hyper-V guest virtual drives

Post by loukingjr »

I don't know what OS you are planning to install in VirtualBox so you can attach the VHD drive to do whatever maintenance you need to do on the VHD file but, You can't run VirtualBox with Hyper-V enabled. You would have to turn it off temporarily. Also, I would make sure I had a backup of the VHDX file before you try and convert it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply