Recovering VMs from LVM disks – no boot, no partitions

pvpaulo

Member
Jun 15, 2022
29
1
8
I suffered a ransomware attack on my Proxmox virtualization environment. The attacker wiped my environment and backups.

Now I'm trying to recover my VMs because I still have virtual disks in LVM:
Example:

1752370285628.png

I was able to recover some virtual machines with this procedure of creating a VM with the same disk ID and then linking the virtual disk to the VM with this command:

# qm set ID --scsi0 storage-ssd-6:vm-ID-disk-0
However, most VMs don't boot as if there were no operating system on the disk.

This appears:

1752370331388.png
These are the settings generally used:

1752370350427.png
If you have any ideal configuration to configure, please let me know here.
Configuration for Windows Server and Linux (Ubuntu and Debian) machines