Booting a VM from a drive image?

I am gearing up for a Windows reinstall, which is always an arduous process, with setting things up just the way I need/like them.

So what I want to do now is make a disk image of my current install - preferably for free, preferably without the free space (i.e. I don’t need forensics or any sort of data recovery).

Then put that image in a VM and boot from it. That way if I forget something, I can just spin up my old install and copy whatever config or setting I forgot.

So I’m looking for recommendations for

  1. Free imaging software
  2. How to boot that resulting image as a VM - probably in VirtualBox.

Also, fingers crossed, I don’t break my install before that when moving the bootloader between drives. :grin:

While not exactly what you describe, I’ve used VMware converter in the past with great success.

Worth a look if you don’t find a better option.

Disk2vhd can image a live running system and you can mount the image in Windows if you want files. You can probably boot it with Hyper-V or convert using qemy-img to qcow and/or vdi to run on most hypervisors.

1 Like

I use (the free) Veeam Windows Agent to Backup a live Windows system to an external HDD. Then I use the Restore iso file it creates during the process and the backup to restore to a VM. The restore iso is basically a Preinstall Windows environment, that means I can load drivers for the VM environment if necesarry.

@vivante I think your method might be even more straightforward

Cool. Sysinternals to the rescue again.

But I don’t intend on using HyperV. I think it has a conflict with virtualbox? I don’t know, I vaguely remember some problems.

I just need it to recover settings and config files and like restoring my desktop folder arrangement to the same state :smiley:

I’ll check out the other one too I guess. And I was considering simple system images, but I’m not sure how those work yet.

Yeah, VirtualBox wont work with Hyper-V last I checked.