How to use an SDD with OS in a VM or CONTAINER

GiorgioS

New Member
May 1, 2023
2
0
1
Hi all,
I have an installation of Umbrel on an old pc and I need to upgrade the system.
I'll like to use proxmox on the new system and, if is it possible, connect the old OS SDD and start it in a VM or container.
Do you know if it is possible and how?
 
You could assign the physical disk to the VM like this:
qm set <vmid> --sata0 /dev/disk/by-id/ata-xxxxxxxx

If it is a somewhat recent Linux (Kernel 2.6 or later) you could also use "scsi" as bus type:
qm set <vmid> --scsi /dev/disk/by-id/xxxxx,ssd=1,discard=on,iothread=1

Then enable scsi0 as boot option in the Options of the VM. Make sure that the BIOS type matches, OVMF if it booted in UEFI mode, SeaBIOS if it was booting in legacy BIOS mode.