Convert leap on hard drive to a libvirt vm

I have openSUSE 15.6 on hard drive partition that has evolved over at least a decade. I have many programs that I have compiled and installed. These are installed outside of zypper/yast database. I am going to move from leap to tumbleweed soon. I understand this move is done by simply changing repository list. I also realize that I could lose runability of some of my compiled/installed programs.

My question is how could I convert my leap system from hard disk partition to a vm. I might be able to retain usage of my compiled programs in a leap vm. Perhaps, save entire disk partition in an iso to make into a vm? Going to be 1.5tb of data.

I use qemu/libvirt as vm software.

Any ideas? thanks, tom kosvic

1 Like

@tckosvic Sure, add a PCIe SATA card attach the drive and use vfio-pci to passthrough that controller and disk to the vm I had a similar setup a long time ago with qemu, but not from an existing disk…

2 Likes