Not sure if this is the right territory, I'll try...
Had an old machine running windows10 on a SSD drive that refuse to start. I check the SSD drive and it's running fie but fixing that computer ins't worth, and I'm looking for guidance on how to import disk image into a Linux VM.
It's possible to do?
Yes. You can convert the SSD into a virtual disk image. But you need to connect the ssd into a working computer first of course.
Search for Clone physical disk to VDI virtual disk VirtualBox
And then add that VDI into a new or existing virtualbox machine.
Thanks @quark I did a search and found this command to run
qemu-img -O vdi /dev/sda /path/to/image.vdidoesn't work and should actually be
qemu-img convert -O vdi /dev/sda /path/to/image.vdisource: https://superuser.com/questions/1383079/clone-physical-disk-to-vdi-virtual-disk-virtualbox
Should I convert after the .vdi to .iso or I should be able to import the .vdi directly in the default Virtual Machine on Linux? I'm using Virtual Machine Manager, not Virtual Box
Ah sorry. I think VDI is a format for virtualbox. I have no experience with Virtual machine manager and KVM yet. I think it has better performance but I chose virtualbox because it normally works without problems and it is easy.