mikeymikec
Lifer
My previous little project here:
... gave me an idea. A customer's old PC essentially died, so I used sysinternals' disk2vhd, which created a vhdx file that Virtualbox claims to handle but apparently can't, so I followed this guide here with this command:
I converted it to vdi format which VB can handle, then set up a basic Win10 VM and now I can boot the old PC's install of Windows on the new PC. Yay!
- update -
On Linux, I found a method that's miles easier than sysinternals' disk2vhd (the problem with that being when you mount the physical disk on another Windows system, you have to untick all the volumes that are part of the host system so you don't end up with a messy and probably nonfunctional disk image).
/dev/sdb is the device path to the disk in the unix filesystem, my quick way to find this out is to run the Disks utility on Linux Mint and select the disk you're interested in, it will tell you where its device path is.
The second command is because the first command has to be run as root, then the resulting file is owned by root, so you'll want to have your user own it so you can have read/write access to it.
I'll update the OP so it's all in one place.
Info - Successfully transferred a Windows install from one disk to another without disk cloning (WIM)
I have a bit of a problem, and my experiment today gets me a (AFAIK fairly definitive) step further towards fixing said problem. Last year, I had the bright idea of using Windows's own disk mirroring system (disk management > dynamic disk > add mirror) as per Microsoft's instructions for two...
socialtechwork.com
... gave me an idea. A customer's old PC essentially died, so I used sysinternals' disk2vhd, which created a vhdx file that Virtualbox claims to handle but apparently can't, so I followed this guide here with this command:
Code:
"C:\Program Files\Oracle\Virtualbox\VBoxManage.exe" clonemedium disk D:\path\to\image.vhdx D:\path\to\newimage.vdi --format vdi
I converted it to vdi format which VB can handle, then set up a basic Win10 VM and now I can boot the old PC's install of Windows on the new PC. Yay!
- update -
On Linux, I found a method that's miles easier than sysinternals' disk2vhd (the problem with that being when you mount the physical disk on another Windows system, you have to untick all the volumes that are part of the host system so you don't end up with a messy and probably nonfunctional disk image).
Code:
sudo vboxmanage convertfromraw /dev/sdb /path/to/new.vdi --format VDI
sudo chown mike new.vdi
/dev/sdb is the device path to the disk in the unix filesystem, my quick way to find this out is to run the Disks utility on Linux Mint and select the disk you're interested in, it will tell you where its device path is.
The second command is because the first command has to be run as root, then the resulting file is owned by root, so you'll want to have your user own it so you can have read/write access to it.
I'll update the OP so it's all in one place.
Last edited: