• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

VHD win 8 into Server 2008 R2

Hello all,

We would like to know what is the process to migrate Virtual server created on Win8 Hyper-v into server 2008R2 with Hyper-v, we tried to export from win8 but the server 2008 R2 cant import (don’t find file to import).

Attaching the Virtual disk into new Virtual machine is not booting.

We notice that in the export folder there is few VHD files and some Avhd files.

Best Regards,
0
Robert-Prodigy
Asked:
Robert-Prodigy
1 Solution
 
Pradeep DubeyConsultantCommented:
your VM is having the snapshots thats why you are seeing the avhd files.

I would love to consolidate snapshot and then import to new 2k12.

Check below link for more information on avhd file and consolidation of them.

1) http://kristiannese.blogspot.in/2010/11/snapshots-in-hyper-v-ground-rules.html
2) http://social.technet.microsoft.com/Forums/windowsserver/en-US/5a020dfa-7bb7-4319-83e6-b537bbb32ee2/hyperv-snapshot-consolidation?forum=winserverhyperv
0
 
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Try the following:


Get a list of VMs starting with name VM-Server

Get-VM VM-Server*
Now you can export the Virtual Machines


Get-VM VM-Server* | Export-VM -Path "C:\VMs"

Get-VM VM-Server** | Remove-VM
And now you can import the Virtual Machines again


Copy the folder C:\VMs to the other host and import it

Get-Childitem "C:\VMs" -Recurse *.xml | Import-VM
0
 
McKnifeCommented:
Hi.

If you created a machine with VHDX files as disks, your server will not be able to use those as 2008 R2's Hyper V cannot handle those. In that case, you would need at least server 2012.
0
 
Robert-ProdigyAuthor Commented:
what is the official way to migrate VHD from one server to another?
0
 
McKnifeCommented:
You can copy the folder of the vm, it holds all settings and the hard drives.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now