Convert Physical Linux to Hyper-V VM Using Backup | Step-by-Step P2V Guide

Jul 2, 2026

Learn how to convert a physical Linux machine to a Hyper-V virtual machine using a backup with NAKIVO Backup & Replication.
In this step-by-step tutorial, you will see how to back up an Ubuntu Linux physical server and export the backup as a Hyper-V VHDX virtual disk, allowing you to quickly perform physical-to-virtual (P2V) migration and restore workloads to a virtual environment.

This method is useful for:

  • Migrating physical servers to Hyper-V
  • Disaster recovery and workload migration
  • Hardware replacement or infrastructure upgrades
  • Converting physical Linux machines to virtual machines safely

Want to follow along? All PowerShell commands used in this video are available in the blog post:
https://www.nakivo.com/blog/vmware-p2v-linux-conversion-comprehensive-walkthrough/

Try NAKIVO Backup & Replication free for 15 days: https://www.nakivo.com/resources/download/trial-download/

0:00 Introduction

0:23 About NAKIVO Backup & Replication

1:09 Preparing the SSH server on the Linux machine

2:31 Adding the Linux machine to the NAKIVO inventory

3:18 Creating the backup job

5:50 Exporting the backup to VHDX format

7:33 Creating the Hyper-V VM and attaching the disk

9:06 Starting and verifying the converted VM

9:40 Converting to VMware instead

9:52 Conclusion