Canada  united states of america usa  linkedinfacebook   Call Us Today: 866.646.6461

Converting physical disk to virtual

Steps to convert a physical disk to a virtual one on a linux system:

Install qemu-utils:

apt-get install qemu-utils

Assuming the physical disk is plugged in and it is /dev/sda, the command is as following:

qemu-img convert -O vdi /dev/sda /full/path/output.vdi

The output.vdi can then be attached as a drive to VirtualBox

Last updated Sep 22, 2022