Vinchin Backup & Recovery
  • ● Easily backup popular VMs like VMware, Hyper-V, XenServer, XCP-ng, etc.
  • ● Effortlessly migrate VM between different virtualization platforms (V2V)
  • ● Comprehensive protection to databases like MySQL, SQL Server, OracleDB, etc.
  • ● Integrated enterprise backup solutions for Windows/Linux, NAS, etc.
DOWNLOAD FREE TRIAL
Home VM Tips How to Convert Hyper-V Gen 1 to Gen 2 VM

How to Convert Hyper-V Gen 1 to Gen 2 VM

2022-12-20 | Nick Zhao

Table of contents
  • Major Reasons to use Gen 2 Hyper-V
  • Limitation of Gen 2 Hyper-V
  • Backup Hyper-V before conversion
  • How to convert Gen 1 to Gen 2

1672463054750721.png

There’re 2 generations of hyper-V VMs available for users to choose. Gen 2 hyper-V VMs show advantages in multiple aspects over Gen 1. If you’re currently using Gen 1 VM with 64-bit Windows Server 2012 R2 or later versions and want to do a system upgrade, it’s possible to do a conversion from 1 to 2.

Major Reasons to use Gen 2 Hyper-V

- Safer with more advanced security features including secure boot and trusted platform module

- Performance enhancement on CPU and memory limits

- Support boot from SCSI with faster startup speed

- Maximize the disk usage with vhdx virtual hard disk

- PXE boot with a synthetic network adapter that gen 1 doesn’t support to directly boot from

Limitation of Gen 2 Hyper-V

Whether to convert from Gen 1 to Gen 2 mainly depends on the guest OS and the boot strategy you want to use. So, before we get started, it’s important to consider these limitations of Gen 2 VM:

• 32-bit operating systems are not supported anymore. Gen 2 VM only supports 64-bit guest OS.

• Older OS that lacks drivers for synthetic hardware, or doesn’t support UEFI cannot run on Gen 2 VMs. If you’re still using old Windows operating systems like Windows XP, Windows Server 2008, or old Linux distributions, converting Gen 1 to Gen 2 might not be a wise choice.

If you don’t have plans using the OS that is mentioned above, it’s worth trying to do a conversion for more modernized VM operations.

Backup Hyper-V before conversion

Upgrade Hyper-V VM generation involves major system changes, and you may face the risk of losing data if unexpected errors occur during the conversion process. Therefore, it’s important to backup the old Gen 1 Hyper-V VM first, so that you can recover the data anytime in case an emergency situation hits.

With the help of Vinchin Backup & Recovery, you can profoundly save the time that needs to spend on this task. It offers agentless and automatic Hyper-V backup service, and you can simply get the backup job started via 3 simple steps of configurations through a single web console.

How to convert Gen 1 to Gen 2

1. Navigate to Hyper-V Manager, shut down the gen 1 VM.

2. Open Settings for the target VM, select IDE controller that contains the virtual disks.

3. In the Choose Action section, select Convert.

4. Choose VHDX as the target disk format.

5. Select the disk type to be Fixed or Dynamically expanding as per your requirement. It’s recommended to choose a dynamically expanding disk.

6. Select a location for the converted disk, confirm the settings and let the conversion begin. Wait for it to complete.

7. Once completed, create a new Gen 2 VM but not new virtual disk. It’s important to select Add Operating System Later.

8. Make sure Enable Secure Boot is unchecked in Security section.

9. Attach the converted drives to the SCSI controller.

10. Specify the path to the WINPE ISO that is downloaded.

11. Boot into PreBoot Environment. Run mbr2gpt to convert the partition.

12. Boot up the VM as Gen 2.

Share on:

Categories: VM Tips
You May Also Like...