this post was submitted on 26 Nov 2024
13 points (100.0% liked)
Linux 101 stuff. Questions are encouraged, noobs are welcome!
1073 readers
22 users here now
Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I can't use a Windows VM for this as I need GPU passthrough for the app I'm trying to run and I can't do GPU passthrough without a second dedicated video card
So, running linux in a VM under windows is the next plan, but I've been running linux for 6 months now, and don't want to maintain a second brand new install in the VM, but rather, I would like to spin up my existing local linux install in a VM when I'm forced to boot in to windows, and that's what I'm asking about. I don't know if that's possible.
It should be.
VMware had Physical-to-Virtual tools 15 years ago. Since then I've used a few other tools.
I'm sure there's open-source, or Linux-based P-to-V tools today, I haven't looked into it. That's what you want to search for though.
Essentially you need a tool that can make an image of a disk. Which the Virtualization system can then mount and use as a virtual machine. There's a few standard disk image formats today, and most products today support them all to some degree.
I wouldn't be surprised if KVM had this built in.
VMware has their own vCenter Converter Standalone tool, and theres also others like clonezilla. And here's a KVM single GPU passthrough tutorial. KVM doesn't have built in p2v conversion, but it's preferred for GPU passthrough