How to Convert VMDK to RAW [Step-by-Step Guide]

Converting VMDK files to raw format improves compatibility, portability and also gives you access to the underlying disk structure. You can do this using qumu-img, VMware Workstation and VirtualBox.

Amelia

By Amelia / Updated on February 14, 2025

Share this: instagram reddit

VMware uses virtual machine disk (VMDK) files to store data. In some cases, you need to Convert VMDK to raw disk image format, a format that can be used in other environments or in specific use cases. In the following article, you will be provided with the details of convert VMDK to raw image.

convert vmdk to raw

Introduction to VMDK and Raw Disk Image

VMDK is a VMware virtual disk file format that contains virtual machine data (operating system, application, and user data).

A raw disk image does not have any additional metadata, headers, or file system structure, and it can be used in different environments, for example, physical hardware, other virtualization platforms, or cloud infrastructures.

Comprehensive Guide to Convert VMDK to Raw Image

In this next section, you will be provided with three ways to convert VMDK to raw.

Prerequisites

Before converting VMDK to Raw, you need to make sure you have the following requirements:

  • A VMware virtual machine image in VMDK format.
  • Linux or Windows system, because the conversion process needs to use the tools provided on these platforms.
  • Enough disk space to store the original disk image.

Method 1. Using qumu-img (Linux/Windows)

qumu-img is a tool from the QEMU project that supports conversion between various disk image formats, including VMDK and raw.

🔶Steps for Linux

Use the following command to convert the VMDK file to a raw image.

qemu-img convert -f vmdk -O raw source.vmdk destination.raw

🎈Tips: When using the command you should notice:
-f vmdk: Specify the input file format (VMDK).
-O raw: Specify the output file format (raw).
source.vmdk: Path to the VMDK file to be converted.
destination.raw: output raw file.

🔶Steps for Windows

Open a command prompt or PowerShell and run the qumu-img command for Windows:

qemu-img convert -f vmdk -O raw C:\path\to\source.vmdk C:\path\to\destination.raw

Method 2. Using VMware Workstation (Linux/Windows)

This is done by attaching the VMDK file to a virtual machine and then using the vmware-vdiskmanager utility to convert the virtual disk.

Locate vmware-vdiskmanager in the installation directory. then open a terminal (Linux) or command prompt (Windows) and use the following command to convert the VMDK to a raw disk.

vmware-vdiskmanager -r source.vmdk -t 0 destination.raw

🎈Tips: When using the command please notice:
-r: Tells the tool to read the source VMDK file.
-t 0: Specifies that the disk is to be converted to raw format.
Remember to replace source .vmdk and destination .raw with the appropriate paths.

Method 3. Using VirtualBox (Linux/Windows)

If you have Oracle VirtualBox, you can use the VBoxManage tool to do the conversion.

Convert VMDK using the VboxManage utility:

VBoxManage clonehd source.vmdk destination.raw --format RAW

Backup Important Data Before Conversion for Data Secure

Before making any changes to the VMDK files, for the safety of your important data, please choose to use backup software to back up your data. You can choose to use AOMEI Cyber Backup, which is a professional and powerful backup software designed to provide you with various solutions for VMware virtual machine backup.

Centralized Backup: You can only use 3 steps to create a backup task for multiple VMs without installing an agent on each of them.
Backup to all Locations: It supports backup VMware virtual machines to external hard drives, local storage, NAS drives, network share, etc.
Schedule Backup: It automatically backs up virtual machines regularly to continuously protect VMware workloads.
Role Assignment: Allows one administrator to create sub-accounts with limited privileges, effectively reducing administrative costs and labor errors.

Download FreewareVMware ESXi & Hyper-V
Secure Download

How to backup VMware ESXi virtual machines

Step 1. Log into the AOMEI Cyber Backup, navigate to Source Device > VMware > + Add VMware Device to enter Device Information and User Information, and click Confirm.

Bind device

Step 2. Navigate to Backup Task > + Create New Task and select VMware ESXi Backup as the Backup Type. Then set the Task Name, Device, Target, Archive, and Schedule as needed.

VMware ESXi backup

  • Task Name: you can change the task name or use the default name with an ordinal.
  • Device: batch backup multiple VMs on vCenter or standalone host within one backup task.
  • Target: select to back up to a local path, or to a network like NAS.
  • Archive: select cloud storage like S3 buckets, easily archiving VMware backup to Amazon S3.

archive vmware backup

  • Schedule: you can perform full, differential, or incremental backup, and automate execution according to the frequency you specified.

schedule backup

Step 3. Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.

Start Backup

Conclusion

Converting a VMDK file to raw disk makes the file compatible with any environment. You can use qumu-img, VMware Workstation, or VirtualBox and follow the steps provided in this article, the whole conversion process is relatively simple. Be sure to back up your data before performing the conversion to prevent data loss.

Amelia
Amelia · Editor
Amelia is an editor from AOMEI. Trained in professional systems, she specializes in solving problems in enterprise databases, virtual machines, and physical environments. With a high sense of responsibility, she is dedicated to protecting business data and security.