# qcow upload and attach to vm

Build random virtual machine, on OS tab select do not use any media

Upload qcow image to proxmox server (works on smb share as well)

navigate via terminal shell (not via ssh needs to be done via web gui) to file location

/home/csr/Downloads/Lab/nnSCZ910p1-img-vm\_kvm.qcow2

run command qm importdisk 501 nnSCZ910p1-img-vm\_kvm.qcow2 Data

attach disk to VM

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/st1cl25d6F7TfcRA-KMQimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/st1cl25d6F7TfcRA-KMQimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/QnoN1j5Q1UjaLJlj-7Htimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/QnoN1j5Q1UjaLJlj-7Htimage.png)

Change the boot order

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/p4HYZ69G2R8fflZ9-uCuimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/p4HYZ69G2R8fflZ9-uCuimage.png)

Boot machine (remove image disk and keep new only)