Is it possible to boot a VM using an existing physical hard drive?

dax99910

Member
Jan 5, 2022
1
0
6
30
On my server I originally had ubuntu server installed on a 500GB hard drive. I installed proxmox onto a 500GB m.2 SSD and can see the ubuntu-vg inside the LVM tab on proxmox. Is it possible to just boot straight from that drive or would I need to create a separate Ubuntu VM and transfer my files across?

Just trying to keep my docker containers from my old server
 
Is it possible to just boot straight from that drive or would I need to create a separate Ubuntu VM and transfer my files across?
You have to passthrough the disk to a (newly created) VM to get it to work, but need to deregister the LVM volume group first via vgchange -an ubuntu-vg.