We have problem that not able to run virtual box machine due to some windows VTX lock issue, so then I decided why not to run new machine using hyper-V, but what about the disk data. Here I am explaining how to get your data easily.
There may be multiple type of disk:
Use 7zip to open vdi file, you can easily get the file content, then extract it.
- Use 7zip to extract img file of your lvm partition (e.g., 2.img)
- Copy 2.img file to any linux machine
- Mount img file in loopset
sudo losetup /dev/loop10 /path/to/disk.img
- grep lvm vg group
sudo vgscan
- Active vg group if its not
sudo vgchange -ay <vg-group-name>
- Now mount lv
sudo mount /dev/<vg-name>/<lv-name> <mount-path>