Convert hard drive to Virtual Machine

conversionconvertmigrationvirtual-machinesvmware-converter

I'm looking for a way to convert a raw hard drive image (from a machine that had Windows 10 installed on it) to a bootable working virtual machine, preferable VMware based. Everything I'm finding online talks about converting a machine that is running and can have an application installed on it. In my situation I only have the raw hard drive.

EDIT: the main problem isn't converting the hard drive image to something VMware Workstation can actually read, it's finding a tool that will modify the image to allow the machine to boot and recognize the new hardware without blue screening.

Best Answer

In Windows or Linux, you can mount said disk image. You could then access create a .vmdk file; VirtualBox comes with a tool to create one using the following command:

VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda

Windows will allow you to create a snapshot of any HD using disk2vhd. Again, you can mount the image as a volume and create the image from that - see this image: enter image description here